diff options
Diffstat (limited to 'certmanager/lib/ui/kdhorizontalline.h')
-rw-r--r-- | certmanager/lib/ui/kdhorizontalline.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/certmanager/lib/ui/kdhorizontalline.h b/certmanager/lib/ui/kdhorizontalline.h index a79682ebd..5b6d5da9a 100644 --- a/certmanager/lib/ui/kdhorizontalline.h +++ b/certmanager/lib/ui/kdhorizontalline.h @@ -41,39 +41,39 @@ #ifndef __KDTOOLS__KDHORIZONTALLINE_H__ #define __KDTOOLS__KDHORIZONTALLINE_H__ -#include <qframe.h> -#include <qstring.h> +#include <tqframe.h> +#include <tqstring.h> -class KDHorizontalLine : public QFrame { +class KDHorizontalLine : public TQFrame { Q_OBJECT - Q_PROPERTY( QString title READ title WRITE setTitle ) + Q_PROPERTY( TQString title READ title WRITE setTitle ) public: - KDHorizontalLine( QWidget * parent=0, const char * name=0, WFlags f=0 ); - KDHorizontalLine( const QString & title, QWidget * parent=0, const char * name=0, WFlags f=0 ); + KDHorizontalLine( TQWidget * parent=0, const char * name=0, WFlags f=0 ); + KDHorizontalLine( const TQString & title, TQWidget * parent=0, const char * name=0, WFlags f=0 ); ~KDHorizontalLine(); - QString title() const { return mTitle; } + TQString title() const { return mTitle; } /*! \reimp to hard-code the frame shape */ void setFrameStyle( int style ); - QSize sizeHint() const; - QSize minimumSizeHint() const; - QSizePolicy sizePolicy() const; + TQSize sizeHint() const; + TQSize minimumSizeHint() const; + TQSizePolicy sizePolicy() const; static int indentHint(); public slots: - virtual void setTitle( const QString & title ); + virtual void setTitle( const TQString & title ); protected: - void paintEvent( QPaintEvent * ); + void paintEvent( TQPaintEvent * ); private: void calculateFrame(); private: - QString mTitle; + TQString mTitle; Qt::AlignmentFlags mAlign; int mLenVisible; }; |