diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-04 21:38:25 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-04 21:38:25 +0000 |
commit | f22f5c856d0ee7ec953825828bba094f14c9cade (patch) | |
tree | 1c89a4d4c420bce13c002b650e610bff026f6d06 /src/packagemanager.h | |
parent | 0bceb5251f3c826f8fc4ee021ab76ee29f1dfdd7 (diff) | |
download | tdeio-apt-f22f5c856d0ee7ec953825828bba094f14c9cade.tar.gz tdeio-apt-f22f5c856d0ee7ec953825828bba094f14c9cade.zip |
TQt4 port kio-apt
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kio-apt@1239302 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/packagemanager.h')
-rw-r--r-- | src/packagemanager.h | 17 |
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 |