• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kate

KateMDI::Splitter

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:

Inheritance graph
[legend]

List of all members.


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

Reimplemented from QSplitter.

Definition at line 59 of file katemdi.cpp.

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:
  • katemdi.h
  • katemdi.cpp

kate

Skip menu "kate"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

API Reference

Skip menu "API Reference"
  • kate
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal