summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/winpopup/wpprotocol.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /kopete/protocols/winpopup/wpprotocol.h
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz
tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/protocols/winpopup/wpprotocol.h')
-rw-r--r--kopete/protocols/winpopup/wpprotocol.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/kopete/protocols/winpopup/wpprotocol.h b/kopete/protocols/winpopup/wpprotocol.h
index 92a9e434..b54f4972 100644
--- a/kopete/protocols/winpopup/wpprotocol.h
+++ b/kopete/protocols/winpopup/wpprotocol.h
@@ -22,9 +22,9 @@
#define WPPROTOCOL_H
// QT Includes
-#include <qpixmap.h>
-#include <qptrlist.h>
-#include <qdatetime.h>
+#include <tqpixmap.h>
+#include <tqptrlist.h>
+#include <tqdatetime.h>
// Kopete Includes
#include "kopetemetacontact.h"
@@ -51,20 +51,20 @@ class WPProtocol : public Kopete::Protocol
// Kopete::Protocol overloading
public:
- WPProtocol( QObject *parent, const char *name, const QStringList &args );
+ WPProtocol( TQObject *parent, const char *name, const TQStringList &args );
~WPProtocol();
- virtual AddContactPage *createAddContactWidget(QWidget *parent, Kopete::Account *theAccount);
- virtual KopeteEditAccountWidget *createEditAccountWidget(Kopete::Account *account, QWidget *parent);
- virtual Kopete::Account *createNewAccount(const QString &accountId);
+ virtual AddContactPage *createAddContactWidget(TQWidget *parent, Kopete::Account *theAccount);
+ virtual KopeteEditAccountWidget *createEditAccountWidget(Kopete::Account *account, TQWidget *parent);
+ virtual Kopete::Account *createNewAccount(const TQString &accountId);
- const QStringList getGroups() {return popupClient->getGroups(); }
- const QStringList getHosts(const QString &Group) { return popupClient->getHosts(Group); }
- bool checkHost(const QString &Name) { return popupClient->checkHost(Name); }
+ const TQStringList getGroups() {return popupClient->getGroups(); }
+ const TQStringList getHosts(const TQString &Group) { return popupClient->getHosts(Group); }
+ bool checkHost(const TQString &Name) { return popupClient->checkHost(Name); }
// Kopete::Plugin overloading
public:
- virtual Kopete::Contact *deserializeContact(Kopete::MetaContact *metaContact, const QMap<QString, QString> &serializedData, const QMap<QString, QString> &addressBookData);
+ virtual Kopete::Contact *deserializeContact(Kopete::MetaContact *metaContact, const TQMap<TQString, TQString> &serializedData, const TQMap<TQString, TQString> &addressBookData);
// Stuff used internally & by colleague classes
public:
@@ -73,15 +73,15 @@ public:
const Kopete::OnlineStatus WPOnline;
const Kopete::OnlineStatus WPAway;
const Kopete::OnlineStatus WPOffline;
- void sendMessage(const QString &Body, const QString &Destination);
+ void sendMessage(const TQString &Body, const TQString &Destination);
void settingsChanged(void); // Callback when settings changed
public slots:
void installSamba(); // Modify smb.conf to use winpopup-send.sh script
- void slotReceivedMessage(const QString &Body, const QDateTime &Time, const QString &From);
+ void slotReceivedMessage(const TQString &Body, const TQDateTime &Time, const TQString &From);
private:
- QString smbClientBin;
+ TQString smbClientBin;
int groupCheckFreq;
void readConfig();
WinPopupLib *popupClient;