summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/sms/services/gsmlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/sms/services/gsmlib.h')
-rw-r--r--kopete/protocols/sms/services/gsmlib.h46
1 files changed, 23 insertions, 23 deletions
diff --git a/kopete/protocols/sms/services/gsmlib.h b/kopete/protocols/sms/services/gsmlib.h
index fa9ef1d2..e4f7f8c8 100644
--- a/kopete/protocols/sms/services/gsmlib.h
+++ b/kopete/protocols/sms/services/gsmlib.h
@@ -30,12 +30,12 @@
#include "smsservice.h"
#include "kopetemessage.h"
-#include <qobject.h>
-#include <qevent.h>
-#include <qthread.h>
-#include <qmutex.h>
-#include <qvaluelist.h>
-#include <qstringlist.h>
+#include <tqobject.h>
+#include <tqevent.h>
+#include <tqthread.h>
+#include <tqmutex.h>
+#include <tqvaluelist.h>
+#include <tqstringlist.h>
class GSMLibPrefsUI;
class SMSContact;
@@ -51,10 +51,10 @@ public:
~GSMLib();
void send(const Kopete::Message& msg);
- void setWidgetContainer(QWidget* parent, QGridLayout* container);
+ void setWidgetContainer(TQWidget* parent, TQGridLayout* container);
int maxSize();
- const QString& description();
+ const TQString& description();
public slots:
void savePreferences();
@@ -64,18 +64,18 @@ public slots:
//signals:
// void messageSent(const Kopete::Message &);
protected:
- virtual void customEvent(QCustomEvent* e);
+ virtual void customEvent(TQCustomEvent* e);
- QWidget* configureWidget(QWidget* parent);
+ TQWidget* configureWidget(TQWidget* parent);
void saveConfig();
void loadConfig();
GSMLibPrefsUI* prefWidget;
- QStringList output;
+ TQStringList output;
- QString m_device;
+ TQString m_device;
- QString m_description;
+ TQString m_description;
GSMLibThread* m_thread;
@@ -93,10 +93,10 @@ public:
SubType subType();
void setSubType(SubType t);
- QString Text;
- QString Number;
+ TQString Text;
+ TQString Number;
- QString Reason;
+ TQString Reason;
Kopete::Message Message;
protected:
@@ -104,10 +104,10 @@ protected:
};
/// Thread to deal with GsmLib's blocking
-class GSMLibThread : public QThread, gsmlib::GsmEvent
+class GSMLibThread : public TQThread, gsmlib::GsmEvent
{
public:
- GSMLibThread(QString dev, GSMLib* parent);
+ GSMLibThread(TQString dev, GSMLib* parent);
virtual ~GSMLibThread();
virtual void run();
@@ -122,7 +122,7 @@ protected:
void SMSReceptionIndication(std::string storeName, unsigned int index, SMSMessageType messageType);
GSMLib* m_parent;
- QString m_device;
+ TQString m_device;
gsmlib::MeTa* m_MeTa;
@@ -131,7 +131,7 @@ protected:
struct IncomingMessage
{
int Index;
- QString StoreName;
+ TQString StoreName;
gsmlib::SMSMessageRef Message;
GsmEvent::SMSMessageType Type;
@@ -139,12 +139,12 @@ protected:
{}
};
- typedef QValueList<IncomingMessage> MessageList;
+ typedef TQValueList<IncomingMessage> MessageList;
MessageList m_newMessages;
- typedef QValueList<Kopete::Message> KopeteMessageList;
+ typedef TQValueList<Kopete::Message> KopeteMessageList;
KopeteMessageList m_outMessages;
- QMutex m_outMessagesMutex;
+ TQMutex m_outMessagesMutex;
};
#endif