diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /certmanager/lib/ui/kdhorizontalline.h | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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; }; |