KateMDI::Splitter Class Reference
#include <katemdi.h>
Inherits TQSplitter.
Public Member Functions | |
Splitter (Orientation o, TQWidget *parent=0, const char *name=0) | |
bool | isLastChild (TQWidget *w) const |
int | idAfter (TQWidget *w) const |
Detailed Description
This class is needed because TQSplitter cant return an index for a widget.
Constructor & Destructor Documentation
◆ Splitter()
KateMDI::Splitter::Splitter | ( | Orientation | o, |
TQWidget * | parent = 0 , |
||
const char * | name = 0 |
||
) |
Definition at line 45 of file katemdi.cpp.
◆ ~Splitter()
KateMDI::Splitter::~Splitter | ( | ) |
Definition at line 50 of file katemdi.cpp.
Member Function Documentation
◆ idAfter()
int KateMDI::Splitter::idAfter | ( | TQWidget * | w | ) | const |
Definition at line 59 of file katemdi.cpp.
◆ isLastChild()
bool KateMDI::Splitter::isLastChild | ( | TQWidget * | w | ) | const |
Since there is supposed to be only 2 childs of a katesplitter, any child other than the last is the first.
This method uses TQSplitter::idAfter(widget) which returns 0 if there is no widget after this one. This results in an error if widget is not a child in this splitter
Definition at line 54 of file katemdi.cpp.
The documentation for this class was generated from the following files: