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 library; if not, write to the Free Software
17
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21
#ifndef ACCOUNTMODIFYDLG_H
22
#define ACCOUNTMODIFYDLG_H
27
#include "privacylistmodel.h"
28
#include "privacylistblockedmodel.h"
29
#include "ui_accountmodify.h"
37
class AccountModifyDlg : public QDialog, public Ui::AccountModify
41
AccountModifyDlg(PsiCon *,QWidget *parent=0);
42
AccountModifyDlg(PsiAccount *, QWidget *parent=0);
45
void setPassword(const QString &);
46
const UserAccount& account() const { return acc; }
52
void hostToggled(bool);
53
void sslActivated(int);
56
void detailsChangePW();
60
//void pgpToggled(bool);
66
void privacyClicked();
67
void updatePrivacyTab();
68
void setPrivacyTabEnabled(bool b);
69
void addBlockClicked();
70
void removeBlockClicked();
71
void updateBlockedContacts(const PrivacyList&);
72
void getDefaultList_error();
73
void changeList_error();
83
PrivacyListModel privacyModel;
84
PrivacyListBlockedModel privacyBlockedModel;
85
bool privacyInitialized;
88
void setKeyID(bool b, const QString &s="");