kseparator.h
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 #ifndef __KSEPARATOR_H__
00021 #define __KSEPARATOR_H__
00022 
00023 #include <qframe.h>
00024 
00031 class KSeparator : public QFrame
00032 {
00033   Q_OBJECT
00034   Q_PROPERTY( int orientation READ orientation WRITE setOrientation )
00035  public:
00039   KSeparator(QWidget* parent=0, const char* name=0, WFlags f=0);
00046   KSeparator(int orientation, QWidget* parent=0, const char* name=0, 
00047          WFlags f=0);
00048   
00054   int orientation() const;
00055   
00061   void setOrientation(int orient);
00062   
00066   virtual QSize sizeHint() const;
00067 
00068 protected:
00069   virtual void drawFrame( QPainter * );
00070 protected:
00071   virtual void virtual_hook( int id, void* data );
00072 private:
00073   class KSeparatorPrivate* d;
00074 };
00075 
00076 
00077 #endif // __KSEPARATOR_H__
 
This file is part of the documentation for kdeui Library Version 3.2.0.