summaryrefslogtreecommitdiffstats
path: root/kcontrol/fonts/fonts.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kcontrol/fonts/fonts.h
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz
tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kcontrol/fonts/fonts.h')
-rw-r--r--kcontrol/fonts/fonts.h44
1 files changed, 22 insertions, 22 deletions
diff --git a/kcontrol/fonts/fonts.h b/kcontrol/fonts/fonts.h
index ca1ab7729..0adb2565d 100644
--- a/kcontrol/fonts/fonts.h
+++ b/kcontrol/fonts/fonts.h
@@ -8,7 +8,7 @@
#ifndef FONTS_H
#define FONTS_H
-#include <qobject.h>
+#include <tqobject.h>
#include <kcmodule.h>
#include <kdialogbase.h>
@@ -27,24 +27,24 @@ class FontUseItem : public KFontRequester
Q_OBJECT
public:
- FontUseItem(QWidget * parent, const QString &name, const QString &grp,
- const QString &key, const QString &rc, const QFont &default_fnt,
+ FontUseItem(TQWidget * parent, const TQString &name, const TQString &grp,
+ const TQString &key, const TQString &rc, const TQFont &default_fnt,
bool fixed = false);
void readFont( bool useDefaults );
void writeFont();
void setDefault();
- void applyFontDiff(const QFont &fnt, int fontDiffFlags);
+ void applyFontDiff(const TQFont &fnt, int fontDiffFlags);
- const QString& rcFile() { return _rcfile; }
- const QString& rcGroup() { return _rcgroup; }
- const QString& rcKey() { return _rckey; }
+ const TQString& rcFile() { return _rcfile; }
+ const TQString& rcGroup() { return _rcgroup; }
+ const TQString& rcKey() { return _rckey; }
private:
- QString _rcfile;
- QString _rcgroup;
- QString _rckey;
- QFont _default;
+ TQString _rcfile;
+ TQString _rcgroup;
+ TQString _rckey;
+ TQFont _default;
};
class FontAASettings : public KDialogBase
@@ -53,7 +53,7 @@ class FontAASettings : public KDialogBase
public:
- FontAASettings(QWidget *parent);
+ FontAASettings(TQWidget *parent);
bool save( bool useAA );
bool load();
@@ -74,15 +74,15 @@ protected slots:
private:
- QCheckBox *excludeRange;
- QCheckBox *useSubPixel;
+ TQCheckBox *excludeRange;
+ TQCheckBox *useSubPixel;
KDoubleNumInput *excludeFrom;
KDoubleNumInput *excludeTo;
- QComboBox *subPixelType;
+ TQComboBox *subPixelType;
#ifdef HAVE_FONTCONFIG
- QComboBox *hintingStyle;
+ TQComboBox *hintingStyle;
#endif
- QLabel *excludeToLabel;
+ TQLabel *excludeToLabel;
bool changesMade;
};
@@ -94,7 +94,7 @@ class KFonts : public KCModule
Q_OBJECT
public:
- KFonts(QWidget *parent, const char *name, const QStringList &);
+ KFonts(TQWidget *parent, const char *name, const TQStringList &);
~KFonts();
virtual void load();
@@ -113,10 +113,10 @@ private:
enum DPISetting { DPINone, DPI96, DPI120 };
AASetting useAA, useAA_original;
DPISetting dpi_original;
- QComboBox *cbAA;
- QComboBox* comboForceDpi;
- QPushButton *aaSettingsButton;
- QPtrList <FontUseItem> fontUseList;
+ TQComboBox *cbAA;
+ TQComboBox* comboForceDpi;
+ TQPushButton *aaSettingsButton;
+ TQPtrList <FontUseItem> fontUseList;
FontAASettings *aaSettings;
};