1 /***************************************************************************
2 * Copyright (C) 2005 by Tarek Saidi *
5 * This program is free software; you can redistribute it and/or modify *
6 * it under the terms of the GNU General Public License as published by *
7 * the Free Software Foundation; version 2 of the License. *
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 *
17 * Free Software Foundation, Inc., *
18 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
19 ***************************************************************************/
24 #include "ui_SettingsDlg.h"
25 #include "lib/AutoType.h"
27 class CSettingsDlg : public QDialog, private Ui_SettingsDialog
31 CSettingsDlg(QWidget* parent);
35 virtual void OnCancel();
37 virtual void OnTextColor();
38 virtual void OnColor2();
39 virtual void OnColor1();
40 void OnOtherButton(QAbstractButton*);
41 /*void OnIntPluginNone();
42 void OnIntPluginGnome();
43 void OnIntPluginKde();*/
44 void OnMountDirBrowse();
45 void OnBrowserCmdBrowse();
46 void OnCustomizeEntryDetails();
47 void OnInactivityLockChange(bool checked);
48 void OnAutoSaveToggle(bool checked);
49 void OnAutoSaveChangeToggle(bool checked);
50 void OnBackupDeleteChange();
51 void OnSelectLanguage(int index);
53 #ifdef GLOBAL_AUTOTYPE
55 void resetGlobalShortcut();
59 virtual void paintEvent(QPaintEvent*);
60 virtual void resizeEvent(QResizeEvent*);
61 void initLanguageList();
63 QColor color1,color2,textcolor;
65 QList<Translation> translations;
66 #ifdef GLOBAL_AUTOTYPE
69 //static bool PluginsModified;