# class KSeparator

###

Module | kdeui
Namespace |
Class | KSeparator
Inherits | QFrame

Standard horizontal or vertical separator.

Author Michael Roth <mroth@wirlweb.de>

### methods

- KSeparator (parent, f)

  returns ctor
  KDE 4.1.0 and later only

  Argument | Type | Default
  --- | --- | ---
  parent | QWidget | 0
  f | Qt.WFlags | 0

  Constructor.

  parent - parent object.

  f - extra QWidget flags.

- KSeparator (orientation, parent, f)

  returns ctor
  KDE 4.1.0 and later only

  Argument | Type | Default
  --- | --- | ---
  orientation | Qt.Orientation |
  parent | QWidget | 0
  f | Qt.WFlags | 0

  Constructor.

  orientation - Set the orientation of the separator. Possible values are Horizontal or Vertical.

  parent - parent object.

  f - extra QWidget flags.

- KSeparator (a0, a1)

  returns ctor
  before KDE 4.1.0 only

  Argument | Type | Default
  --- | --- | ---
  a0 | QWidget | 0
  a1 | Qt.WFlags | 0

- KSeparator (a0, a1, a2)

  returns ctor
  before KDE 4.1.0 only

  Argument | Type | Default
  --- | --- | ---
  a0 | Qt.Orientation |
  a1 | QWidget | 0
  a2 | Qt.WFlags | 0

- orientation ( )

  returns Qt.Orientation

  Returns the orientation of the separator. Returns int Possible values Horizontal or Vertical.

- setOrientation (orientation)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  orientation | Qt.Orientation |

  Set the orientation of the separator to orientation

  orientation - Possible values are Vertical and Horizontal.