• Skip to content
  • Skip to link menu
KDE 4.1 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

Konsole

Konsole::TabbedViewContainer

Konsole::TabbedViewContainer Class Reference

#include <ViewContainer.h>

Inheritance diagram for Konsole::TabbedViewContainer:

Inheritance graph
[legend]

List of all members.


Detailed Description

A view container which uses a QTabWidget to display the views and allow the user to switch between them.

Definition at line 342 of file ViewContainer.h.


Public Member Functions

virtual QWidget * activeView () const
virtual QWidget * containerWidget () const
virtual void setActiveView (QWidget *view)
void setNewSessionMenu (QMenu *menu)
 TabbedViewContainer (NavigationPosition position, QObject *parent)
virtual ~TabbedViewContainer ()

Protected Member Functions

virtual void addViewWidget (QWidget *view, int index)
virtual void removeViewWidget (QWidget *view)

Constructor & Destructor Documentation

TabbedViewContainer::TabbedViewContainer ( NavigationPosition  position,
QObject *  parent 
)

Definition at line 233 of file ViewContainer.cpp.

TabbedViewContainer::~TabbedViewContainer (  )  [virtual]

Definition at line 326 of file ViewContainer.cpp.


Member Function Documentation

QWidget * TabbedViewContainer::activeView (  )  const [virtual]

Returns the view which currently has the focus or 0 if none of the child views have the focus.

Implements Konsole::ViewContainer.

Definition at line 405 of file ViewContainer.cpp.

void TabbedViewContainer::addViewWidget ( QWidget *  view,
int  index 
) [protected, virtual]

Performs the task of adding the view widget to the container widget.

Implements Konsole::ViewContainer.

Definition at line 361 of file ViewContainer.cpp.

QWidget * TabbedViewContainer::containerWidget (  )  const [virtual]

Returns the widget which contains the view widgets.

Implements Konsole::ViewContainer.

Definition at line 400 of file ViewContainer.cpp.

void TabbedViewContainer::removeViewWidget ( QWidget *  view  )  [protected, virtual]

Performs the task of removing the view widget from the container widget.

Implements Konsole::ViewContainer.

Definition at line 368 of file ViewContainer.cpp.

void TabbedViewContainer::setActiveView ( QWidget *  widget  )  [virtual]

Changes the focus to the specified view and updates navigation aids to reflect the change.

Implements Konsole::ViewContainer.

Definition at line 410 of file ViewContainer.cpp.

void TabbedViewContainer::setNewSessionMenu ( QMenu *  menu  ) 

Definition at line 332 of file ViewContainer.cpp.


The documentation for this class was generated from the following files:
  • ViewContainer.h
  • ViewContainer.cpp

Konsole

Skip menu "Konsole"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • Konsole
  • Libraries
  •   libkonq
Generated for API Reference by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal