diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
commit | c663b6440964f6ac48027143ac9e63298991f9d0 (patch) | |
tree | 6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kcontrol/kfontinst/kfontinst/XConfig.h | |
parent | a061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff) | |
download | tdebase-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/kfontinst/kfontinst/XConfig.h')
-rw-r--r-- | kcontrol/kfontinst/kfontinst/XConfig.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kcontrol/kfontinst/kfontinst/XConfig.h b/kcontrol/kfontinst/kfontinst/XConfig.h index 5a8ed1624..127b243fa 100644 --- a/kcontrol/kfontinst/kfontinst/XConfig.h +++ b/kcontrol/kfontinst/kfontinst/XConfig.h @@ -30,9 +30,9 @@ /////////////////////////////////////////////////////////////////////////////// #include "Misc.h" -#include <qptrlist.h> -#include <qstring.h> -#include <qstringlist.h> +#include <tqptrlist.h> +#include <tqstring.h> +#include <tqstringlist.h> #include <time.h> namespace KFI @@ -53,12 +53,12 @@ class CXConfig FONT_CONFIG }; - TPath(const QString &d, bool u=false, EType t=DIR, bool o=true) + TPath(const TQString &d, bool u=false, EType t=DIR, bool o=true) : dir(DIR==t ? Misc::dirSyntax(d) : d), unscaled(u), orig(o), type(t) {} - static EType getType(const QString &d); + static EType getType(const TQString &d); - QString dir; + TQString dir; bool unscaled, orig; // Was dir in file when read? EType type; @@ -72,16 +72,16 @@ class CXConfig public: - CXConfig(EType type, const QString &file); + CXConfig(EType type, const TQString &file); - static bool configureDir(const QString &dir); + static bool configureDir(const TQString &dir); bool ok() { return itsOk; } bool writable() { return itsWritable; } bool readConfig(); bool writeConfig(); bool madeChanges(); - void addPath(const QString &dir, bool unscaled=false); + void addPath(const TQString &dir, bool unscaled=false); bool inPath(TPath::EType type); bool xfsInPath() { return inPath(TPath::FONT_SERVER); } bool fcInPath() { return inPath(TPath::FONT_CONFIG); } @@ -96,13 +96,13 @@ class CXConfig bool processX11(bool read); bool processXfs(bool read); - TPath * findPath(const QString &dir); + TPath * findPath(const TQString &dir); private: EType itsType; - QPtrList<TPath> itsPaths; - QString itsFileName, + TQPtrList<TPath> itsPaths; + TQString itsFileName, itsInsertPos; bool itsOk, itsWritable; |