diff options
Diffstat (limited to 'kcontrol/kfontinst/kfontinst/Fontmap.h')
-rw-r--r-- | kcontrol/kfontinst/kfontinst/Fontmap.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kcontrol/kfontinst/kfontinst/Fontmap.h b/kcontrol/kfontinst/kfontinst/Fontmap.h index 28d5c9d7e..92d64f5fb 100644 --- a/kcontrol/kfontinst/kfontinst/Fontmap.h +++ b/kcontrol/kfontinst/kfontinst/Fontmap.h @@ -29,8 +29,8 @@ // (C) Craig Drummond, 2003, 2004 //////////////////////////////////////////////////////////////////////////////// -#include <qstring.h> -#include <qstringlist.h> +#include <tqstring.h> +#include <tqstringlist.h> namespace KFI { @@ -45,33 +45,33 @@ namespace Fontmap struct TEntry { - TEntry(const QString &fname) : filename(fname) {} + TEntry(const TQString &fname) : filename(fname) {} - QString filename, + TQString filename, psName; - QStringList entries; + TQStringList entries; }; public: - CFile(const QString &dir); + CFile(const TQString &dir); - const QStringList * getEntries(const QString &fname); + const TQStringList * getEntries(const TQString &fname); unsigned int getLineCount() { return itsLineCount; } private: - TEntry * findEntry(const QString &fname, bool isAlias=false); - TEntry * getEntry(TEntry **current, const QString &fname, bool isAlias=false); + TEntry * findEntry(const TQString &fname, bool isAlias=false); + TEntry * getEntry(TEntry **current, const TQString &fname, bool isAlias=false); private: - QString itsDir; - QPtrList<TEntry> itsEntries; + TQString itsDir; + TQPtrList<TEntry> itsEntries; unsigned int itsLineCount; }; - extern bool create(const QString &dir, CFontEngine &fe); + extern bool create(const TQString &dir, CFontEngine &fe); } } |