• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kdeui
 

kdeui

Public Member Functions | Protected Member Functions | Properties
KSeparator Class Reference

#include <kseparator.h>

Inherits TQFrame.

List of all members.

Public Member Functions

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

Protected Member Functions

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

Properties

int orientation

Detailed Description

Standard horizontal or vertical separator.

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

Definition at line 33 of file kseparator.h.


Constructor & Destructor Documentation

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

Constructor.

Parameters:
parentparent object.
namename of the new object.
fextra TQWidget flags.

Definition at line 28 of file kseparator.cpp.

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

Constructor.

Parameters:
orientationSet the orientation of the separator. Possible values are HLine or Horizontal and VLine or Vertical.
parentparent object.
namename of the new object.
fextra TQWidget flags.

Definition at line 38 of file kseparator.cpp.


Member Function Documentation

void KSeparator::drawFrame ( TQPainter *  p) [protected, virtual]
Parameters:
ppointer to painter

Definition at line 82 of file kseparator.cpp.

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:
orientPossible values are VLine and HLine.

Definition at line 48 of file kseparator.cpp.

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

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

Definition at line 103 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

kdeui

Skip menu "kdeui"
  • 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
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kdeui by doxygen 1.7.6.1
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |