kate Library API Documentation

KateSplitter Class Reference

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

#include <katesplitter.h>

Inheritance diagram for KateSplitter:

QSplitter List of all members.

Public Methods

 KateSplitter (QWidget *parent=0, const char *name=0)
 KateSplitter (Orientation o, QWidget *parent=0, const char *name=0)
 ~KateSplitter ()
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.

References QSplitter::idAfter().


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.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu Apr 29 21:20:38 2004 by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2003