Vidalia
0.3.1
|
#include <VAttachButton.h>
Public Slots | |
void | toggleAttach () |
Signals | |
void | attachTab () |
void | detachTab () |
Public Member Functions | |
VAttachButton (QWidget *parent=0) | |
~VAttachButton () | |
void | setTab (VidaliaTab *tab) |
VidaliaTab * | getTab () |
Private Attributes | |
VidaliaTab * | _tab |
bool | _attached |
Definition at line 23 of file VAttachButton.h.
VAttachButton::VAttachButton | ( | QWidget * | parent = 0 | ) |
Definition at line 20 of file VAttachButton.cpp.
References _attached, _tab, and IMG_DETACH.
VAttachButton::~VAttachButton | ( | ) |
Definition at line 30 of file VAttachButton.cpp.
References disconnect().
|
signal |
Emitted when the button is pressed and the tab is detached
Referenced by toggleAttach().
|
signal |
Emitted when the button is pressed and the tab is attached
Referenced by toggleAttach().
VidaliaTab * VAttachButton::getTab | ( | ) |
Returns the parent tab for this button
Definition at line 43 of file VAttachButton.cpp.
References _tab.
Referenced by MainWindow::detachTab().
void VAttachButton::setTab | ( | VidaliaTab * | tab | ) |
Sets the parent tab for this button
Definition at line 36 of file VAttachButton.cpp.
References _tab, connect(), and toggleAttach().
Referenced by MainWindow::addTab().
|
slot |
Handles the onClicked signal
Definition at line 49 of file VAttachButton.cpp.
References _attached, attachTab(), and detachTab().
Referenced by setTab().
|
private |
Definition at line 47 of file VAttachButton.h.
Referenced by toggleAttach(), and VAttachButton().
|
private |
Definition at line 46 of file VAttachButton.h.
Referenced by getTab(), setTab(), and VAttachButton().