summaryrefslogtreecommitdiffstats
path: root/libkdepim/krsqueezedtextlabel.h
diff options
context:
space:
mode:
Diffstat (limited to 'libkdepim/krsqueezedtextlabel.h')
-rw-r--r--libkdepim/krsqueezedtextlabel.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/libkdepim/krsqueezedtextlabel.h b/libkdepim/krsqueezedtextlabel.h
index 268c59fba..a5e4e7760 100644
--- a/libkdepim/krsqueezedtextlabel.h
+++ b/libkdepim/krsqueezedtextlabel.h
@@ -21,11 +21,11 @@
#ifndef KRSQUEEZEDTEXTLABEL_H
#define KRSQUEEZEDTEXTLABEL_H
-#include <qlabel.h>
+#include <tqlabel.h>
#include <kdepimmacros.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
*
@@ -38,36 +38,36 @@
/*
* QLabel
*/
-class KDE_EXPORT KRSqueezedTextLabel : public QLabel {
+class KDE_EXPORT KRSqueezedTextLabel : public TQLabel {
Q_OBJECT
public:
/**
* Default constructor.
*/
- KRSqueezedTextLabel( QWidget *parent, const char *name = 0 );
- KRSqueezedTextLabel( const QString &text, QWidget *parent, const char *name = 0 );
+ KRSqueezedTextLabel( TQWidget *parent, const char *name = 0 );
+ KRSqueezedTextLabel( 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;
};