diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
commit | ffe8a83e053396df448e9413828527613ca3bd46 (patch) | |
tree | a73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdeprint/management/kmwsocketutil.h | |
parent | 682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff) | |
download | tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeprint/management/kmwsocketutil.h')
-rw-r--r-- | kdeprint/management/kmwsocketutil.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kdeprint/management/kmwsocketutil.h b/kdeprint/management/kmwsocketutil.h index fa1942ef5..0fd96cc59 100644 --- a/kdeprint/management/kmwsocketutil.h +++ b/kdeprint/management/kmwsocketutil.h @@ -20,8 +20,8 @@ #ifndef KMWSOCKETUTIL_H #define KMWSOCKETUTIL_H -#include <qstring.h> -#include <qptrlist.h> +#include <tqstring.h> +#include <tqptrlist.h> #include <kdialogbase.h> struct SocketInfo @@ -41,7 +41,7 @@ class SocketConfig : public KDialogBase friend class KMWSocketUtil; Q_OBJECT public: - SocketConfig(KMWSocketUtil *util, QWidget *parent = 0, const char *name = 0); + SocketConfig(KMWSocketUtil *util, TQWidget *parent = 0, const char *name = 0); ~SocketConfig(); protected slots: @@ -59,15 +59,15 @@ class KMWSocketUtil public: KMWSocketUtil(); - bool checkPrinter(const QString& host, int port, QString* hostname = 0); + bool checkPrinter(const TQString& host, int port, TQString* hostname = 0); - const QPtrList<SocketInfo>* printerList() { return &printerlist_; } - bool scanNetwork(QProgressBar *bar = 0); - void configureScan(QWidget *parent = 0); + const TQPtrList<SocketInfo>* printerList() { return &printerlist_; } + bool scanNetwork(TQProgressBar *bar = 0); + void configureScan(TQWidget *parent = 0); void setDefaultPort(int p) { port_ = p; } private: - QPtrList<SocketInfo> printerlist_; + TQPtrList<SocketInfo> printerlist_; QString root_; int port_; int timeout_; // in milliseconds |