#include <tdemultitabbar.h>
Public Slots | |
void | setPosition (KMultiTabBar::KMultiTabBarPosition) |
void | setStyle (KMultiTabBar::KMultiTabBarStyle) |
void | setText (const TQString &) |
TQSize | sizeHint () const |
Signals | |
void | clicked (int id) |
Public Member Functions | |
KMultiTabBarButton (const TQPixmap &pic, const TQString &, TQPopupMenu *popup, int id, TQWidget *parent, KMultiTabBar::KMultiTabBarPosition pos, KMultiTabBar::KMultiTabBarStyle style) | |
KMultiTabBarButton (const TQString &, TQPopupMenu *popup, int id, TQWidget *parent, KMultiTabBar::KMultiTabBarPosition pos, KMultiTabBar::KMultiTabBarStyle style) | |
virtual | ~KMultiTabBarButton () |
int | id () const |
Protected Slots | |
virtual void | slotClicked () |
Protected Member Functions | |
virtual void | hideEvent (class TQHideEvent *) |
virtual void | showEvent (class TQShowEvent *) |
Protected Attributes | |
KMultiTabBar::KMultiTabBarPosition | m_position |
KMultiTabBar::KMultiTabBarStyle | m_style |
TQString | m_text |
Detailed Description
This class represents a tab bar button in a KMultiTabBarWidget.
This class should never be created except with the appendButton call of KMultiTabBar
Definition at line 205 of file tdemultitabbar.h.
Constructor & Destructor Documentation
◆ ~KMultiTabBarButton()
|
virtual |
Destructor.
Definition at line 415 of file tdemultitabbar.cpp.
Member Function Documentation
◆ clicked
|
signal |
this is emitted if the button is clicked
- Parameters
-
id the ID identifying the button
◆ id()
int KMultiTabBarButton::id | ( | ) | const |
◆ setPosition
|
slot |
this is used internaly, but can be used by the user, if (s)he wants to It the according call of KMultiTabBar is invoked though this modifications will be overwritten
Definition at line 434 of file tdemultitabbar.cpp.
◆ setStyle
|
slot |
this is used internaly, but can be used by the user, if (s)he wants to It the according call of KMultiTabBar is invoked though this modifications will be overwritten
Definition at line 440 of file tdemultitabbar.cpp.
◆ setText
|
slot |
modify the text of the button
Definition at line 422 of file tdemultitabbar.cpp.
The documentation for this class was generated from the following files: