KateMDI::Splitter Class Reference

#include <katemdi.h>

List of all members.


Detailed Description

This class is needed because QSplitter cant return an index for a widget.

Definition at line 41 of file katemdi.h.


Public Member Functions

 Splitter (Orientation o, QWidget *parent=0, const char *name=0)
 ~Splitter ()
bool isLastChild (QWidget *w) const
int idAfter (QWidget *w) const

Member Function Documentation

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 Home | KDE Accessibility Home | Description of Access Keys