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

kdeui

KSeparator Class Reference

#include <kseparator.h>

Inheritance diagram for KSeparator:

QFrame

List of all members.


Detailed Description

Standard horizontal or vertical separator.

Author:
Michael Roth <mroth@wirlweb.de>
Version:
$Id$

Definition at line 33 of file kseparator.h.


Public Member Functions

 KSeparator (QWidget *parent=0, const char *name=0, WFlags f=0)
 KSeparator (int orientation, QWidget *parent=0, const char *name=0, WFlags f=0)
int orientation () const
void setOrientation (int orient)
virtual QSize sizeHint () const

Protected Member Functions

virtual void drawFrame (QPainter *p)
virtual void virtual_hook (int id, void *data)

Properties

int orientation

Constructor & Destructor Documentation

KSeparator::KSeparator ( QWidget *  parent = 0,
const char *  name = 0,
WFlags  f = 0 
)

Constructor.

Parameters:
parent parent object.
name name of the new object.
f extra QWidget flags.

Definition at line 28 of file kseparator.cpp.

KSeparator::KSeparator ( int  orientation,
QWidget *  parent = 0,
const char *  name = 0,
WFlags  f = 0 
)

Constructor.

Parameters:
orientation Set the orientation of the separator. Possible values are HLine or Horizontal and VLine or Vertical.
parent parent object.
name name of the new object.
f extra QWidget flags.

Definition at line 38 of file kseparator.cpp.


Member Function Documentation

int KSeparator::orientation (  )  const

Returns the orientation of the separator.

Returns:
int Possible values are VLine and HLine.

void KSeparator::setOrientation ( int  orient  ) 

Set the orientation of the separator to orient.

Parameters:
orient Possible values are VLine and HLine.

Definition at line 48 of file kseparator.cpp.

QSize KSeparator::sizeHint ( void   )  const [virtual]

The recommended height (width) for a horizontal (vertical) separator.

Definition at line 103 of file kseparator.cpp.

void KSeparator::drawFrame ( QPainter *  p  )  [protected, virtual]

Parameters:
p pointer to painter

Reimplemented from QFrame.

Definition at line 82 of file kseparator.cpp.


The documentation for this class was generated from the following files:
  • kseparator.h
  • kseparator.cpp

kdeui

Skip menu "kdeui"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

@topname@

Skip menu "@topname@"
  •     kdnssd-avahi
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for @topname@ by doxygen 1.5.5
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