kate Library API Documentation

KateSplitter Class Reference

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

#include <katesplitter.h>

List of all members.

Public Member Functions

 KateSplitter (QWidget *parent=0, const char *name=0)
 KateSplitter (Orientation o, QWidget *parent=0, const char *name=0)
bool isLastChild (QWidget *w)


Detailed Description

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

Definition at line 25 of file katesplitter.h.


Member Function Documentation

bool KateSplitter::isLastChild QWidget *  w  ) 
 

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 36 of file katesplitter.cpp.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kate Library Version 3.2.3.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Aug 31 00:02:10 2004 by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2003