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

tdeui

Public Member Functions | Protected Member Functions | List of all members
KSeparator Class Reference

#include <kseparator.h>

Inherits TQFrame.

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)
 

Detailed Description

Standard horizontal or vertical separator.

Author
Michael Roth mroth.nosp@m.@wir.nosp@m.lweb..nosp@m.de
Version
$Id$

Definition at line 33 of file kseparator.h.

Constructor & Destructor Documentation

◆ KSeparator() [1/2]

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() [2/2]

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

◆ drawFrame()

void KSeparator::drawFrame ( TQPainter *  p)
protectedvirtual
Parameters
ppointer to painter

Definition at line 82 of file kseparator.cpp.

◆ orientation()

int KSeparator::orientation ( ) const

Returns the orientation of the separator.

Returns
int Possible values are VLine and HLine.

Definition at line 71 of file kseparator.cpp.

◆ setOrientation()

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.

◆ sizeHint()

TQSize KSeparator::sizeHint ( void  ) const
virtual

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

Definition at line 103 of file kseparator.cpp.

◆ virtual_hook()

void KSeparator::virtual_hook ( int  id,
void *  data 
)
protectedvirtual

Definition at line 114 of file kseparator.cpp.


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

tdeui

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

tdeui

Skip menu "tdeui"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeui by doxygen 1.9.4
This website is maintained by Timothy Pearson.