kate
KateMDI::Splitter Class Reference
This class is needed because QSplitter cant return an index for a widget. More...
#include <katemdi.h>
Inheritance diagram for KateMDI::Splitter:

Public Member Functions | |
| int | idAfter (QWidget *w) const | 
| bool | isLastChild (QWidget *w) const | 
| Splitter (Orientation o, QWidget *parent=0, const char *name=0) | |
| ~Splitter () | |
Detailed Description
This class is needed because QSplitter cant return an index for a widget.
Definition at line 41 of file katemdi.h.
Constructor & Destructor Documentation
| KateMDI::Splitter::Splitter | ( | Orientation | o, | |
| QWidget * |  parent = 0,  | 
        |||
| const char * |  name = 0 | |||
| ) | 
Definition at line 45 of file katemdi.cpp.
| KateMDI::Splitter::~Splitter | ( | ) | 
Definition at line 50 of file katemdi.cpp.
Member Function Documentation
| int KateMDI::Splitter::idAfter | ( | QWidget * | w | ) | const | 
| bool KateMDI::Splitter::isLastChild | ( | QWidget * | 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 QSplitter::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:
    KDE 3.5 API Reference