diff options
Diffstat (limited to 'src/upnpmanager.h')
-rw-r--r-- | src/upnpmanager.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/upnpmanager.h b/src/upnpmanager.h index 44d1e3c..29dc319 100644 --- a/src/upnpmanager.h +++ b/src/upnpmanager.h @@ -25,8 +25,8 @@ #ifndef UPNPMANAGER_H #define UPNPMANAGER_H -#include <qmap.h> -#include <qwidget.h> +#include <ntqmap.h> +#include <ntqwidget.h> #include "upnp/upnprouter.h" #include "upnp/upnpdescriptionparser.h" #include "upnp/upnpmcastsocket.h" @@ -40,7 +40,7 @@ using namespace net; /** * Widget for the UPnP pref dialog page. */ -class UPnPManager : public QWidget +class UPnPManager : public TQWidget { Q_OBJECT @@ -53,9 +53,9 @@ public: bool silent=false); bool routersDiscovered(){ return ((!discoveredRouters.isEmpty()) ? true : false);}; bool silentUpdate(){ return m_silent;}; - QStringList discoveredRoutersNameList(); + TQStringList discoveredRoutersNameList(); protected: - UPnPManager(QWidget* parent = 0, const char* name = 0); + UPnPManager(TQWidget* parent = 0, const char* name = 0); virtual ~UPnPManager(); private: static UPnPManager* manager; @@ -66,12 +66,12 @@ public slots: * @param r The device */ void discovered(kt::UPnPRouter* r); - void onReplyOK(kt::UPnPRouter*,bt::HTTPRequest* ,const QString&, bool ); - void onReplyError(kt::UPnPRouter*,bt::HTTPRequest* ,const QString&, bool ); + void onReplyOK(kt::UPnPRouter*,bt::HTTPRequest* ,const TQString&, bool ); + void onReplyError(kt::UPnPRouter*,bt::HTTPRequest* ,const TQString&, bool ); signals: void routerDiscovered(kt::UPnPRouter*); - void forwardingError(kt::UPnPRouter*,const QString &, bool ); - void forwardingOK(kt::UPnPRouter*,const QString &, bool ); + void forwardingError(kt::UPnPRouter*,const TQString &, bool ); + void forwardingOK(kt::UPnPRouter*,const TQString &, bool ); private: void load(); @@ -81,7 +81,7 @@ private: kt::UPnPRouter* def_router; kt::UPnPMCastSocket* sock; net::ForwardPortList m_forwardPorts; - QValueList<kt::UPnPRouter*> discoveredRouters; + TQValueList<kt::UPnPRouter*> discoveredRouters; bool m_silent; }; |