summaryrefslogtreecommitdiffstats
path: root/kalarm/fontcolourbutton.h
diff options
context:
space:
mode:
Diffstat (limited to 'kalarm/fontcolourbutton.h')
-rw-r--r--kalarm/fontcolourbutton.h40
1 files changed, 20 insertions, 20 deletions
diff --git a/kalarm/fontcolourbutton.h b/kalarm/fontcolourbutton.h
index 9bbe3d8db..1b78c434a 100644
--- a/kalarm/fontcolourbutton.h
+++ b/kalarm/fontcolourbutton.h
@@ -21,9 +21,9 @@
#ifndef FONTCOLOURBUTTON_H
#define FONTCOLOURBUTTON_H
-#include <qfont.h>
-#include <qcolor.h>
-#include <qframe.h>
+#include <tqfont.h>
+#include <tqcolor.h>
+#include <tqframe.h>
#include <kdialogbase.h>
class QLineEdit;
@@ -35,15 +35,15 @@ class FontColourButton : public QFrame
{
Q_OBJECT
public:
- FontColourButton(QWidget* parent = 0, const char* name = 0);
+ FontColourButton(TQWidget* parent = 0, const char* name = 0);
void setDefaultFont();
- void setFont(const QFont&);
- void setBgColour(const QColor&);
- void setFgColour(const QColor&);
+ void setFont(const TQFont&);
+ void setBgColour(const TQColor&);
+ void setFgColour(const TQColor&);
bool defaultFont() const { return mDefaultFont; }
- QFont font() const { return mFont; }
- QColor bgColour() const { return mBgColour; }
- QColor fgColour() const { return mFgColour; }
+ TQFont font() const { return mFont; }
+ TQColor bgColour() const { return mBgColour; }
+ TQColor fgColour() const { return mFgColour; }
virtual void setReadOnly(bool ro) { mReadOnly = ro; }
virtual bool isReadOnly() const { return mReadOnly; }
@@ -55,9 +55,9 @@ class FontColourButton : public QFrame
private:
PushButton* mButton;
- QColor mBgColour, mFgColour;
- QFont mFont;
- QLineEdit* mSample;
+ TQColor mBgColour, mFgColour;
+ TQFont mFont;
+ TQLineEdit* mSample;
bool mDefaultFont;
bool mReadOnly;
};
@@ -68,12 +68,12 @@ class FontColourDlg : public KDialogBase
{
Q_OBJECT
public:
- FontColourDlg(const QColor& bg, const QColor& fg, const QFont&, bool defaultFont,
- const QString& caption, QWidget* parent = 0, const char* name = 0);
+ FontColourDlg(const TQColor& bg, const TQColor& fg, const TQFont&, bool defaultFont,
+ const TQString& caption, TQWidget* parent = 0, const char* name = 0);
bool defaultFont() const { return mDefaultFont; }
- QFont font() const { return mFont; }
- QColor bgColour() const { return mBgColour; }
- QColor fgColour() const { return mFgColour; }
+ TQFont font() const { return mFont; }
+ TQColor bgColour() const { return mBgColour; }
+ TQColor fgColour() const { return mFgColour; }
void setReadOnly(bool);
bool isReadOnly() const { return mReadOnly; }
@@ -82,8 +82,8 @@ class FontColourDlg : public KDialogBase
private:
FontColourChooser* mChooser;
- QColor mBgColour, mFgColour;
- QFont mFont;
+ TQColor mBgColour, mFgColour;
+ TQFont mFont;
bool mDefaultFont;
bool mReadOnly;
};