summaryrefslogtreecommitdiffstats
path: root/kalarm/fontcolourbutton.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kalarm/fontcolourbutton.h
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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;
};