Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

LauncherTabBar Class Reference

#include </home/clem/local/src/opie/core/launcher/launchertab.h>

Collaboration diagram for LauncherTabBar:

Collaboration graph
[legend]
List of all members.

Public Slots

void showTab (const QString &)

Public Member Functions

 LauncherTabBar (QWidget *parent=0, const char *name=0)
 ~LauncherTabBar ()
void insertTab (LauncherTab *, int index=-1)
void removeTab (QTab *)
LauncherViewcurrentView ()
LauncherTabcurrentLauncherTab ()
LauncherTablauncherTab (const QString &id) const
void nextTab ()
void prevTab ()

Protected Slots

virtual void layoutTabs ()

Protected Member Functions

virtual void paint (QPainter *p, QTab *t, bool f) const
void paintLabel (QPainter *p, const QRect &br, QTab *t, bool has_focus) const

Private Attributes

QList< LauncherTabitems
QDict< LauncherTabtabs

Constructor & Destructor Documentation

LauncherTabBar::LauncherTabBar QWidget *  parent = 0,
const char *  name = 0
 

Definition at line 24 of file launchertab.cpp.

References layoutTabs().

LauncherTabBar::~LauncherTabBar  ) 
 

Definition at line 31 of file launchertab.cpp.


Member Function Documentation

LauncherTab* LauncherTabBar::currentLauncherTab  )  [inline]
 

Definition at line 66 of file launchertab.h.

Referenced by currentView(), and layoutTabs().

LauncherView* LauncherTabBar::currentView void   )  [inline]
 

Definition at line 62 of file launchertab.h.

References currentLauncherTab().

Referenced by LauncherTabWidget::raiseTabWidget(), Launcher::showDocTab(), and LauncherTabWidget::tabProperties().

void LauncherTabBar::insertTab LauncherTab ,
int  index = -1
 

Definition at line 35 of file launchertab.cpp.

References QDict< type >::insert(), items, tabs, and LauncherTab::type.

Referenced by LauncherTabWidget::newView().

LauncherTab* LauncherTabBar::launcherTab const QString id  )  const [inline]
 

Definition at line 70 of file launchertab.h.

References tabs.

Referenced by LauncherTabWidget::deleteView(), and LauncherTabWidget::view().

void LauncherTabBar::layoutTabs  )  [protected, virtual, slot]
 

Definition at line 73 of file launchertab.cpp.

References currentLauncherTab(), height, items, t, tr, width, and Opie::MM::x.

Referenced by LauncherTabBar().

void LauncherTabBar::nextTab  ) 
 

Definition at line 61 of file launchertab.cpp.

Referenced by LauncherTabWidget::appMessage(), and LauncherTabWidget::launcherMessage().

void LauncherTabBar::paint QPainter *  p,
QTab *  t,
bool  f
const [protected, virtual]
 

Definition at line 182 of file launchertab.cpp.

References LauncherTab::bgColor, f, FALSE, LauncherTab::fgColor, flags, paintLabel(), and TRUE.

void LauncherTabBar::paintLabel QPainter *  p,
const QRect &  br,
QTab *  t,
bool  has_focus
const [protected]
 

Definition at line 242 of file launchertab.cpp.

References Disabled, Dasher::Opts::Normal, and tr.

Referenced by paint().

void LauncherTabBar::prevTab  ) 
 

Definition at line 53 of file launchertab.cpp.

void LauncherTabBar::removeTab QTab *   ) 
 

Definition at line 45 of file launchertab.cpp.

References items, QDict< type >::remove(), t, tabs, and LauncherTab::type.

Referenced by LauncherTabWidget::deleteView().

void LauncherTabBar::showTab const QString  )  [slot]
 

Definition at line 68 of file launchertab.cpp.

References tabs.

Referenced by LauncherTabWidget::initLayout(), Launcher::showTab(), and Launcher::typeAdded().


Member Data Documentation

QList<LauncherTab> LauncherTabBar::items [private]
 

Definition at line 86 of file launchertab.h.

Referenced by insertTab(), layoutTabs(), and removeTab().

QDict<LauncherTab> LauncherTabBar::tabs [private]
 

Definition at line 87 of file launchertab.h.

Referenced by insertTab(), launcherTab(), removeTab(), and showTab().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:38:20 2005 for OPIE by  doxygen 1.4.2