summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/sms/services/gsmlib.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
commit69cac65817d949cda2672ec4f0aa73d5e66a0ba1 (patch)
tree073fde0496ea90eb5bf5cffe66a8da43a9f55fbc /kopete/protocols/sms/services/gsmlib.h
parent3467e6464beac3a162839bf7078e22e3a74d73e7 (diff)
downloadtdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.tar.gz
tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.zip
TQt4 port kdenetwork
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/protocols/sms/services/gsmlib.h')
-rw-r--r--kopete/protocols/sms/services/gsmlib.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/kopete/protocols/sms/services/gsmlib.h b/kopete/protocols/sms/services/gsmlib.h
index b3c9951f..a3f01995 100644
--- a/kopete/protocols/sms/services/gsmlib.h
+++ b/kopete/protocols/sms/services/gsmlib.h
@@ -46,12 +46,13 @@ class GSMLibThread;
class GSMLib : public SMSService
{
Q_OBJECT
+ TQ_OBJECT
public:
GSMLib(Kopete::Account* account);
~GSMLib();
void send(const Kopete::Message& msg);
- void setWidgetContainer(TQWidget* parent, TQGridLayout* container);
+ void setWidgetContainer(TQWidget* tqparent, TQGridLayout* container);
int maxSize();
const TQString& description();
@@ -66,7 +67,7 @@ public slots:
protected:
virtual void customEvent(TQCustomEvent* e);
- TQWidget* configureWidget(TQWidget* parent);
+ TQWidget* configureWidget(TQWidget* tqparent);
void saveConfig();
void loadConfig();
@@ -83,7 +84,7 @@ protected:
/// Custom event for async-events
-class GSMLibEvent : public QCustomEvent
+class GSMLibEvent : public TQCustomEvent
{
public:
enum SubType { CONNECTED, DISCONNECTED, NEW_MESSAGE, MSG_SENT, MSG_NOT_SENT };
@@ -107,7 +108,7 @@ protected:
class GSMLibThread : public TQThread, gsmlib::GsmEvent
{
public:
- GSMLibThread(TQString dev, GSMLib* parent);
+ GSMLibThread(TQString dev, GSMLib* tqparent);
virtual ~GSMLibThread();
virtual void run();