summaryrefslogtreecommitdiffstats
path: root/kalarm/fontcolour.h
diff options
context:
space:
mode:
Diffstat (limited to 'kalarm/fontcolour.h')
-rw-r--r--kalarm/fontcolour.h30
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;