make webinterface translatable. there are around 20 short strings, all with context...
[kdenetwork.git] / kopete / protocols / sms / smsprotocol.h
bloba1adcf872aef452c0e4106ca12057d17f0908677
1 /* *************************************************************************
2 * copyright: (C) 2003 Richard Lärkäng <nouseforaname@home.se> *
3 * copyright: (C) 2003 Gav Wood <gav@kde.org> *
4 *************************************************************************
5 */
7 /* *************************************************************************
8 * *
9 * This program is free software; you can redistribute it and/or modify *
10 * it under the terms of the GNU General Public License as published by *
11 * the Free Software Foundation; either version 2 of the License, or *
12 * (at your option) any later version. *
13 * *
14 *************************************************************************
17 #ifndef SMSPROTOCOL_H
18 #define SMSPROTOCOL_H
20 #include <qmap.h>
21 #include <qmovie.h>
22 #include <qpixmap.h>
23 #include <q3ptrdict.h>
24 #include <qstringlist.h>
26 #include "kopeteprotocol.h"
27 #include "kopeteonlinestatus.h"
28 #include "kopetecontact.h"
30 class KAction;
32 namespace Kopete { class Contact; }
33 namespace Kopete { class MetaContact; }
34 namespace Kopete { class Message; }
35 namespace Kopete { class ChatSession; }
37 class SMSProtocol : public Kopete::Protocol
39 Q_OBJECT
41 public:
42 SMSProtocol(QObject *parent, const QVariantList &args);
43 ~SMSProtocol();
45 static SMSProtocol *protocol();
47 /**
48 * Deserialize contact data
50 virtual Kopete::Contact *deserializeContact(Kopete::MetaContact *metaContact,
51 const QMap<QString, QString> &serializedData, const QMap<QString, QString> &addressBookData );
53 virtual AddContactPage *createAddContactWidget(QWidget *parent , Kopete::Account *i);
54 virtual KopeteEditAccountWidget *createEditAccountWidget(Kopete::Account *account, QWidget *parent);
55 virtual Kopete::Account *createNewAccount(const QString &accountId);
57 const Kopete::OnlineStatus SMSOnline;
58 const Kopete::OnlineStatus SMSOffline;
59 const Kopete::OnlineStatus SMSConnecting;
61 private:
62 static SMSProtocol *s_protocol;
65 #endif
67 // vim: set noet ts=4 sts=4 sw=4: