From f22f5c856d0ee7ec953825828bba094f14c9cade Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 4 Jul 2011 21:38:25 +0000 Subject: 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 --- src/dpkg.h | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'src/dpkg.h') diff --git a/src/dpkg.h b/src/dpkg.h index 1092386..cfcb7c9 100644 --- a/src/dpkg.h +++ b/src/dpkg.h @@ -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 -- cgit v1.2.1