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/dpkg.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/dpkg.h')
-rw-r--r-- | src/dpkg.h | 17 |
1 files changed, 9 insertions, 8 deletions
@@ -21,30 +21,31 @@ class Dpkg : public PackageManager { Q_OBJECT + TQ_OBJECT - typedef void (Dpkg::*ReceiveMethod) (const QStringList& lines); + typedef void (Dpkg::*ReceiveMethod) (const TQStringList& lines); ReceiveMethod m_receive; KProcIO m_process; - QString m_buffer; + TQString m_buffer; private slots: void readReady(KProcIO* io); private: - void receiveSearch(const QStringList& line); - void receiveList(const QStringList& line); + void receiveSearch(const TQStringList& line); + void receiveList(const TQStringList& line); public: - Dpkg(QObject *parent = 0, const char *name = 0); + Dpkg(TQObject *tqparent = 0, const char *name = 0); ~Dpkg(); - virtual bool list(const QString& package); - virtual bool search(const QString& file); + virtual bool list(const TQString& package); + virtual bool search(const TQString& file); virtual int capabilities(int query) const; - virtual QString getOnlineForm(); + virtual TQString getOnlineForm(); }; #endif |