diff options
Diffstat (limited to 'noatun-plugins/oblique/kdatacollection.h')
-rw-r--r-- | noatun-plugins/oblique/kdatacollection.h | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/noatun-plugins/oblique/kdatacollection.h b/noatun-plugins/oblique/kdatacollection.h index e8820f3..a737e43 100644 --- a/noatun-plugins/oblique/kdatacollection.h +++ b/noatun-plugins/oblique/kdatacollection.h @@ -20,8 +20,8 @@ #ifndef KDATACOLLECTION_H #define KDATACOLLECTION_H -#include <qstring.h> -#include <qstringlist.h> +#include <tqstring.h> +#include <tqstringlist.h> class KConfig; @@ -36,9 +36,9 @@ class KConfig; * *<pre> * KDataCollection profiles("appname/ui_profiles"); - * QStringList letUserSelectOne = profiles.names(); - * QString fileToOpen = profiles.file(theOneUserSelected); - * QString fileToWriteTo = profiles.saveFile(theOneUserSelected); + * TQStringList letUserSelectOne = profiles.names(); + * TQString fileToOpen = profiles.file(theOneUserSelected); + * TQString fileToWriteTo = profiles.saveFile(theOneUserSelected); *</pre> * * @author Charles Samuels <[email protected]> @@ -46,7 +46,7 @@ class KConfig; class KDataCollection { KConfig *mConfig; - QString mGroup, mEntry, mDir; + TQString mGroup, mEntry, mDir; const char *mDatadir; struct Private; @@ -60,8 +60,8 @@ public: * @param datadir is what is passed to locate, this is "appdata" by default **/ KDataCollection( - KConfig *config, const QString &group, const QString &entry, - const char *datadir, const QString &dir + KConfig *config, const TQString &group, const TQString &entry, + const char *datadir, const TQString &dir ); /** @@ -69,8 +69,8 @@ public: * settings, @p dir is the second argument to locate("appdata", ...) **/ KDataCollection( - KConfig *config, const QString &group, const QString &entry, - const QString &dir + KConfig *config, const TQString &group, const TQString &entry, + const TQString &dir ); /** @@ -80,8 +80,8 @@ public: * otherwise the same as the previous function **/ KDataCollection( - KConfig *config, const QString &group, - const QString &dir + KConfig *config, const TQString &group, + const TQString &dir ); /** @@ -91,26 +91,26 @@ public: * * otherwise the same as the previous function **/ - KDataCollection(KConfig *config, const QString &dir); + KDataCollection(KConfig *config, const TQString &dir); /** * constructor. the KConfig is assumed to be KGlobal::config() * * otherwise the same as the previous function **/ - KDataCollection(const QString &dir); + KDataCollection(const TQString &dir); /** * returns a list of existant, non hidden files **/ - QStringList names() const; + TQStringList names() const; /** * deletes the file if it is in KDEHOME, or marks it as hidden if it's a * system file **/ - void remove(const QString &name); + void remove(const TQString &name); /** * @returns the filename for a file named @p name, if @p create @@ -119,7 +119,7 @@ public: * * if you want to modify this file, you should use saveFile instead **/ - QString file(const QString &name, bool create=true); + TQString file(const TQString &name, bool create=true); /** * @returns the filename for a file you can save into. If @p create is @@ -132,12 +132,12 @@ public: * It will not return a file if the Kiosk framework claims that it's * restricted **/ - QString saveFile(const QString &name, bool create=true); + TQString saveFile(const TQString &name, bool create=true); private: void init( - KConfig *config, const QString &group, const QString &entry, - const char *datadir, const QString &dir + KConfig *config, const TQString &group, const TQString &entry, + const char *datadir, const TQString &dir ); }; |