summaryrefslogtreecommitdiffstats
path: root/src/packagemanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/packagemanager.h')
-rw-r--r--src/packagemanager.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/packagemanager.h b/src/packagemanager.h
index 6d8d771..f71aad8 100644
--- a/src/packagemanager.h
+++ b/src/packagemanager.h
@@ -10,7 +10,7 @@
#ifndef PACKAGEMANAGER_H
#define PACKAGEMANAGER_H
-#include <qobject.h>
+#include <tqobject.h>
/** Base class for accessing package-manager specific
* functionalities. ATM, it supports listing files in a
@@ -21,15 +21,16 @@
* @author Sylvain Joyeux
*/
-class PackageManager : public QObject
+class PackageManager : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
- PackageManager(QObject *parent = 0, const char *name = 0);
+ PackageManager(TQObject *tqparent = 0, const char *name = 0);
virtual ~PackageManager();
- virtual bool search(const QString& file);
- virtual bool list(const QString& package);
+ virtual bool search(const TQString& file);
+ virtual bool list(const TQString& package);
/** Checks what the package manager is capable of.
* The \c cap parameter should be a or of exactly
@@ -47,8 +48,8 @@ public:
* installed */
virtual int capabilities(int query) const;
- virtual QString getOnlineForm();
- virtual QString getOnlineURL(const QString& query, const QMap<QString, QString>& options);
+ virtual TQString getOnlineForm();
+ virtual TQString getOnlineURL(const TQString& query, const TQMap<TQString, TQString>& options);
enum Capabilities
{
@@ -70,7 +71,7 @@ signals:
* file (file_name) [for dpkg]
* end
*/
- void token(const QString& tag, const QString& value);
+ void token(const TQString& tag, const TQString& value);
};
#endif