1
/****************************************************************************
2
** profiles.h - deal with profiles
3
** Copyright (C) 2001, 2002 Justin Karneges
5
** This program is free software; you can redistribute it and/or
6
** modify it under the terms of the GNU General Public License
7
** as published by the Free Software Foundation; either version 2
8
** of the License, or (at your option) any later version.
10
** This program is distributed in the hope that it will be useful,
11
** but WITHOUT ANY WARRANTY; without even the implied warranty of
12
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
** GNU General Public License for more details.
15
** You should have received a copy of the GNU General Public License
16
** along with this program; if not, write to the Free Software
17
** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA.
19
****************************************************************************/
2
* profiles.h - deal with profiles
3
* Copyright (C) 2001-2003 Justin Karneges
5
* This program is free software; you can redistribute it and/or
6
* modify it under the terms of the GNU General Public License
7
* as published by the Free Software Foundation; either version 2
8
* of the License, or (at your option) any later version.
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
15
* You should have received a copy of the GNU General Public License
16
* along with this library; if not, write to the Free Software
17
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
24
24
#include<qstring.h>
25
25
#include<qstringlist.h>
26
26
#include<qvaluelist.h>
40
39
QDomElement toXml(QDomDocument &, const QString &tagName);
41
40
void fromXml(const QDomElement &);
46
QString user, pass, host, resource;
48
bool opt_ssl, opt_pass, opt_auto, opt_keepAlive, opt_plain, opt_log, opt_reconn;
49
bool tog_offline, tog_away, tog_agents;
43
QString jid, pass, host, resource;
45
bool opt_enabled, opt_ssl, opt_pass, opt_host, opt_auto, opt_keepAlive, opt_plain, opt_log, opt_reconn, opt_ignoreSSLWarnings;
46
bool tog_offline, tog_away, tog_agents, tog_hidden, tog_self;
49
int proxy_type, proxy_port;
50
QString proxy_host, proxy_user, proxy_pass;
52
52
QString olr_string;
59
QMap<QString, GroupData> groupState;
62
QString pgpPassphrase;
63
QString pgpSecretKeyID;
56
70
typedef QValueList<UserAccount> UserAccountList;