summaryrefslogtreecommitdiffstats
path: root/dnssd/sdevent.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /dnssd/sdevent.h
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-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 'dnssd/sdevent.h')
-rw-r--r--dnssd/sdevent.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/dnssd/sdevent.h b/dnssd/sdevent.h
index 8530e730f..90f4a64d5 100644
--- a/dnssd/sdevent.h
+++ b/dnssd/sdevent.h
@@ -21,9 +21,9 @@
#ifndef DNSSDSDEVENT_H
#define DNSSDSDEVENT_H
-#include <qevent.h>
-#include <qstring.h>
-#include <qmap.h>
+#include <tqevent.h>
+#include <tqstring.h>
+#include <tqmap.h>
namespace DNSSD
{
@@ -33,28 +33,28 @@ enum Operation { SD_ERROR = 101,SD_ADDREMOVE, SD_PUBLISH, SD_RESOLVE};
class ErrorEvent : public QCustomEvent
{
public:
- ErrorEvent() : QCustomEvent(QEvent::User+SD_ERROR)
+ ErrorEvent() : TQCustomEvent(TQEvent::User+SD_ERROR)
{}
};
class AddRemoveEvent : public QCustomEvent
{
public:
enum Operation { Add, Remove };
- AddRemoveEvent(Operation op,const QString& name,const QString& type,
- const QString& domain) : QCustomEvent(QEvent::User+SD_ADDREMOVE),
+ AddRemoveEvent(Operation op,const TQString& name,const TQString& type,
+ const TQString& domain) : TQCustomEvent(TQEvent::User+SD_ADDREMOVE),
m_op(op), m_name(name), m_type(type), m_domain(domain)
{}
const Operation m_op;
- const QString m_name;
- const QString m_type;
- const QString m_domain;
+ const TQString m_name;
+ const TQString m_type;
+ const TQString m_domain;
};
class PublishEvent : public QCustomEvent
{
public:
- PublishEvent(bool ok) : QCustomEvent(QEvent::User+SD_PUBLISH), m_ok(ok)
+ PublishEvent(bool ok) : TQCustomEvent(TQEvent::User+SD_PUBLISH), m_ok(ok)
{}
bool m_ok;
@@ -63,15 +63,15 @@ public:
class ResolveEvent : public QCustomEvent
{
public:
- ResolveEvent(const QString& hostname, unsigned short port,
- const QMap<QString,QString>& txtdata)
- : QCustomEvent(QEvent::User+SD_RESOLVE), m_hostname(hostname),
+ ResolveEvent(const TQString& hostname, unsigned short port,
+ const TQMap<TQString,TQString>& txtdata)
+ : TQCustomEvent(TQEvent::User+SD_RESOLVE), m_hostname(hostname),
m_port(port), m_txtdata(txtdata)
{}
- const QString m_hostname;
+ const TQString m_hostname;
const unsigned short m_port;
- const QMap<QString,QString> m_txtdata;
+ const TQMap<TQString,TQString> m_txtdata;
};