diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /kalarm/fontcolour.h | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-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/fontcolour.h')
-rw-r--r-- | kalarm/fontcolour.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/kalarm/fontcolour.h b/kalarm/fontcolour.h index 1e37b3836..091e6bd7a 100644 --- a/kalarm/fontcolour.h +++ b/kalarm/fontcolour.h @@ -22,8 +22,8 @@ #define FONTCOLOUR_H #include <kdeversion.h> -#include <qwidget.h> -#include <qstringlist.h> +#include <tqwidget.h> +#include <tqstringlist.h> #include <kfontdialog.h> #include "colourlist.h" @@ -36,28 +36,28 @@ class FontColourChooser : public QWidget { Q_OBJECT public: - explicit FontColourChooser(QWidget* parent = 0, const char* name = 0, + explicit FontColourChooser(TQWidget* parent = 0, const char* name = 0, bool onlyFixed = false, - const QStringList& fontList = QStringList(), - const QString& frameLabel = i18n("Requested font"), + const TQStringList& fontList = TQStringList(), + const TQString& frameLabel = i18n("Requested font"), bool editColours = false, bool fg = true, bool defaultFont = false, int visibleListSize = 8); void setDefaultFont(); - void setFont(const QFont&, bool onlyFixed = false); + void setFont(const TQFont&, bool onlyFixed = false); bool defaultFont() const; - QFont font() const; - QColor fgColour() const; - QColor bgColour() const; + TQFont font() const; + TQColor fgColour() const; + TQColor bgColour() const; const ColourList& colours() const { return mColourList; } - void setFgColour(const QColor&); - void setBgColour(const QColor&); + void setFgColour(const TQColor&); + void setBgColour(const TQColor&); void setColours(const ColourList&); - QString sampleText() const; - void setSampleText(const QString& text); + TQString sampleText() const; + void setSampleText(const TQString& text); bool isReadOnly() const { return mReadOnly; } void setReadOnly(bool); - virtual bool eventFilter(QObject*, QEvent*); + virtual bool eventFilter(TQObject*, TQEvent*); private slots: void setSampleColour(); @@ -68,7 +68,7 @@ private slots: private: ColourCombo* mFgColourButton; // or null ColourCombo* mBgColourButton; - QPushButton* mRemoveColourButton; + TQPushButton* mRemoveColourButton; KFontChooser* mFontChooser; CheckBox* mDefaultFont; // or null ColourList mColourList; |