summaryrefslogtreecommitdiffstats
path: root/kbfxlib/common/kbfxfontchooser.h
diff options
context:
space:
mode:
Diffstat (limited to 'kbfxlib/common/kbfxfontchooser.h')
-rw-r--r--kbfxlib/common/kbfxfontchooser.h35
1 files changed, 18 insertions, 17 deletions
diff --git a/kbfxlib/common/kbfxfontchooser.h b/kbfxlib/common/kbfxfontchooser.h
index 639a674..d0535d1 100644
--- a/kbfxlib/common/kbfxfontchooser.h
+++ b/kbfxlib/common/kbfxfontchooser.h
@@ -24,33 +24,34 @@
#include <kfontdialog.h>
#include <klocale.h>
#include <kiconloader.h>
-#include <qwidget.h>
-#include <qlabel.h>
-#include <qpushbutton.h>
-#include <qlayout.h>
-#include <qfont.h>
-#include <qsizepolicy.h>
+#include <tqwidget.h>
+#include <tqlabel.h>
+#include <tqpushbutton.h>
+#include <tqlayout.h>
+#include <tqfont.h>
+#include <tqsizepolicy.h>
-class QLabel;
-class QPushButton;
-class QFont;
+class TQLabel;
+class TQPushButton;
+class TQFont;
/**
@author Petri Damsten <[email protected]>
*/
-class KBFXFontChooser : public QWidget
+class KBFXFontChooser : public TQWidget
{
Q_OBJECT
- Q_PROPERTY ( QFont font READ font WRITE setFont )
+ TQ_OBJECT
+ TQ_PROPERTY ( TQFont font READ font WRITE setFont )
public:
- KBFXFontChooser ( QWidget *parent = 0, const char *name = 0 );
+ KBFXFontChooser ( TQWidget *tqparent = 0, const char *name = 0 );
~KBFXFontChooser();
- QFont font() const { return m_font; };
+ TQFont font() const { return m_font; };
public slots:
- void setFont ( const QFont& font );
+ void setFont ( const TQFont& font );
protected:
void updateFontLabel();
@@ -59,9 +60,9 @@ class KBFXFontChooser : public QWidget
void buttonClicked();
private:
- QFont m_font;
- QLabel* m_label;
- QPushButton* m_button;
+ TQFont m_font;
+ TQLabel* m_label;
+ TQPushButton* m_button;
signals:
void FontChanged();