summaryrefslogtreecommitdiffstats
path: root/noatun/library/noatun/pluginloader.h
diff options
context:
space:
mode:
Diffstat (limited to 'noatun/library/noatun/pluginloader.h')
-rw-r--r--noatun/library/noatun/pluginloader.h56
1 files changed, 28 insertions, 28 deletions
diff --git a/noatun/library/noatun/pluginloader.h b/noatun/library/noatun/pluginloader.h
index 611fe358..04c1b750 100644
--- a/noatun/library/noatun/pluginloader.h
+++ b/noatun/library/noatun/pluginloader.h
@@ -1,27 +1,27 @@
#ifndef PLUGIN_LOADER_H
#define PLUGIN_LOADER_H
-#include <qstring.h>
-#include <qvaluelist.h>
-#include <qstringlist.h>
+#include <tqstring.h>
+#include <tqvaluelist.h>
+#include <tqstringlist.h>
#include <noatun/app.h>
#include <klibloader.h>
-#include <qdict.h>
+#include <tqdict.h>
#include <kdemacros.h>
struct NoatunLibraryInfo
{
- QString specfile;
- QString filename;
- QString author;
- QString license;
- QString type;
- QString site;
- QString email;
- QString name;
- QString comment;
- QStringList require;
+ TQString specfile;
+ TQString filename;
+ TQString author;
+ TQString license;
+ TQString type;
+ TQString site;
+ TQString email;
+ TQString name;
+ TQString comment;
+ TQStringList require;
};
bool operator ==(const NoatunLibraryInfo &, const NoatunLibraryInfo &);
@@ -46,30 +46,30 @@ public:
LibraryLoader();
~LibraryLoader();
- QValueList<NoatunLibraryInfo> available() const;
- QValueList<NoatunLibraryInfo> loaded() const;
- QValueList<NoatunLibraryInfo> loadedByType(const QString &type) const;
+ TQValueList<NoatunLibraryInfo> available() const;
+ TQValueList<NoatunLibraryInfo> loaded() const;
+ TQValueList<NoatunLibraryInfo> loadedByType(const TQString &type) const;
/**
* loads all the enabled plugins
**/
bool loadAll(void);
- bool loadAll(const QStringList &);
+ bool loadAll(const TQStringList &);
- bool isLoaded(const QString &spec) const;
- void add(const QString &spec);
- void setModules(const QStringList &mods);
+ bool isLoaded(const TQString &spec) const;
+ void add(const TQString &spec);
+ void setModules(const TQStringList &mods);
/**
* unload the plugin specified by spec
**/
- bool remove(const QString &spec);
+ bool remove(const TQString &spec);
/**
* Same as the above, but does not call kapp->exit() even
* when the last userinterface plugin is removed. Necessary
* during session management (see marquis plugin).
* ### BIC: merge with above with terminateOnLastUI = true
*/
- bool remove(const QString &spec, bool terminateOnLastUI);
+ bool remove(const TQString &spec, bool terminateOnLastUI);
/**
* unload the plugin that is referenced by @par plugin
**/
@@ -83,15 +83,15 @@ public:
* to see what plugins are required to show
* (when required by another noatun-plugin)
**/
- NoatunLibraryInfo getInfo(const QString &spec) const;
- QPtrList<Plugin> plugins() const;
+ NoatunLibraryInfo getInfo(const TQString &spec) const;
+ TQPtrList<Plugin> plugins() const;
private:
- bool loadSO(const QString &spec);
- void removeNow(const QString &spec);
+ bool loadSO(const TQString &spec);
+ void removeNow(const TQString &spec);
private:
- QDict<LibraryLoader::PluginLibrary> mLibHash;
+ TQDict<LibraryLoader::PluginLibrary> mLibHash;
Playlist *mPlaylist;
};