summaryrefslogtreecommitdiffstats
path: root/kolourpaint/widgets/kpsqueezedtextlabel.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
commiteba47f8f0637f451e21348187591e1f1fd58ac74 (patch)
tree448f10b95c656604acc331a3236c1e59bde5c1ad /kolourpaint/widgets/kpsqueezedtextlabel.h
parentc7e8736c69373f48b0401319757c742e8607431a (diff)
downloadtdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz
tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kolourpaint/widgets/kpsqueezedtextlabel.h')
-rw-r--r--kolourpaint/widgets/kpsqueezedtextlabel.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/kolourpaint/widgets/kpsqueezedtextlabel.h b/kolourpaint/widgets/kpsqueezedtextlabel.h
index 57aa7b2f..f4bd320d 100644
--- a/kolourpaint/widgets/kpsqueezedtextlabel.h
+++ b/kolourpaint/widgets/kpsqueezedtextlabel.h
@@ -28,8 +28,8 @@
#ifndef __kp_squeezed_text_label_h__
#define __kp_squeezed_text_label_h__
-#include <qlabel.h>
-#include <qstring.h>
+#include <tqlabel.h>
+#include <tqstring.h>
// KSqueezedTextLabel done properly - squeeze at the end of the string,
@@ -39,26 +39,26 @@ class kpSqueezedTextLabel : public QLabel
Q_OBJECT
public:
- kpSqueezedTextLabel (QWidget *parent, const char *name = 0);
- kpSqueezedTextLabel (const QString &text, QWidget *parent, const char *name = 0);
+ kpSqueezedTextLabel (TQWidget *parent, const char *name = 0);
+ kpSqueezedTextLabel (const TQString &text, TQWidget *parent, const char *name = 0);
- virtual QSize minimumSizeHint () const;
+ virtual TQSize minimumSizeHint () const;
// TODO: maybe text() should return the full text?
- QString fullText () const;
+ TQString fullText () const;
bool showEllipsis () const;
void setShowEllipsis (bool yes = true);
public slots:
- virtual void setText (const QString &text);
+ virtual void setText (const TQString &text);
protected:
- virtual void resizeEvent (QResizeEvent *);
- QString ellipsisText () const;
+ virtual void resizeEvent (TQResizeEvent *);
+ TQString ellipsisText () const;
void squeezeText ();
- QString m_fullText;
+ TQString m_fullText;
bool m_showEllipsis;
};