2
ircconst.cpp - The IRC constants & enums.
4
Copyright (c) 2005-2007 by Michel Hermier <michel.hermier@gmail.com>
6
Kopete (c) 2005-2007 by the Kopete developers <kopete-devel@kde.org>
8
*************************************************************************
10
* This program is free software; you can redistribute it and/or modify *
11
* it under the terms of the GNU General Public License as published by *
12
* the Free Software Foundation; either version 2 of the License, or *
13
* (at your option) any later version. *
15
*************************************************************************
20
#include <kaboutdata.h>
23
using namespace Kopete;
25
/* The usage of the namespace, instead of the "using" keyword, is intentional.
26
* Not using it introduce compiler confusion, and lead to new symbols declaration.
31
const QString Version = I18N_NOOP("Kopete IRC Plugin %1 [http://kopete.kde.org]",
32
KGlobal::mainComponent().aboutData()->version());
36
//const QLatin1String AUTOSHOWSERVERWINDOW("AutoShowServerWindow");
37
const QLatin1String CODECMIB("Codec");
38
const QLatin1String NETWORKNAME("NetworkName");
39
const QLatin1String NICKNAME("NickName");
40
const QLatin1String USERNAME("UserName");
41
const QLatin1String REALNAME("RealName");
45
namespace Properties {
47
const ContactPropertyTmpl ChannelTopic(QLatin1String("channelTopic"), i18n("Topic"), QString(), false, true );
48
const ContactPropertyTmpl ChannelMembers(QLatin1String("channelMembers"), i18n("Members"));
49
const ContactPropertyTmpl ChannelHomepage(QLatin1String("homePage"), i18n("Home Page"));
51
//const ContactPropertyTmpl LastSeen(Kopete::Global::IRC::Properties::self()->lastSeen());
52
const ContactPropertyTmpl UserInfo(QLatin1String("userInfo"), i18n("IRC User"));
53
const ContactPropertyTmpl Server(QLatin1String("ircServer"), i18n("IRC Server"));
54
const ContactPropertyTmpl Channels( QLatin1String("ircChannels"), i18n("IRC Channels"));
55
const ContactPropertyTmpl Hops(QLatin1String("ircHops"), i18n("IRC Hops"));
56
const ContactPropertyTmpl FullName(QLatin1String("FormattedName"), i18n("Full Name"));
57
const ContactPropertyTmpl IsIdentified(QLatin1String("identifiedUser"), i18n("User Is Authenticated"));