diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
commit | ffe8a83e053396df448e9413828527613ca3bd46 (patch) | |
tree | a73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdeui/ksqueezedtextlabel.h | |
parent | 682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff) | |
download | tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeui/ksqueezedtextlabel.h')
-rw-r--r-- | kdeui/ksqueezedtextlabel.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kdeui/ksqueezedtextlabel.h b/kdeui/ksqueezedtextlabel.h index 5410d56c1..9ad81d9dd 100644 --- a/kdeui/ksqueezedtextlabel.h +++ b/kdeui/ksqueezedtextlabel.h @@ -19,12 +19,12 @@ #ifndef KSQUEEZEDTEXTLABEL_H #define KSQUEEZEDTEXTLABEL_H -#include <qlabel.h> +#include <tqlabel.h> #include <kdelibs_export.h> /** - * @short A replacement for QLabel that squeezes its text + * @short A replacement for TQLabel that squeezes its text * * A label class that squeezes its text into the label * @@ -43,36 +43,36 @@ /* * QLabel */ -class KDEUI_EXPORT KSqueezedTextLabel : public QLabel { +class KDEUI_EXPORT KSqueezedTextLabel : public TQLabel { Q_OBJECT public: /** * Default constructor. */ - KSqueezedTextLabel( QWidget *parent, const char *name = 0 ); - KSqueezedTextLabel( const QString &text, QWidget *parent, const char *name = 0 ); + KSqueezedTextLabel( TQWidget *parent, const char *name = 0 ); + KSqueezedTextLabel( const TQString &text, TQWidget *parent, const char *name = 0 ); - virtual QSize minimumSizeHint() const; - virtual QSize sizeHint() const; + virtual TQSize minimumSizeHint() const; + virtual TQSize sizeHint() const; /** * Overridden for internal reasons; the API remains unaffected. */ virtual void setAlignment( int ); public slots: - void setText( const QString & ); + void setText( const TQString & ); protected: /** * used when widget is resized */ - void resizeEvent( QResizeEvent * ); + void resizeEvent( TQResizeEvent * ); /** * does the dirty work */ void squeezeTextToLabel(); - QString fullText; + TQString fullText; protected: virtual void virtual_hook( int id, void* data ); |