source: psi/vendor/affinix/current/src/profiledlg.h@ 2

Last change on this file since 2 was 2, checked in by dmik, 19 years ago

Imported original Psi 0.10 sources from Affinix

File size: 1.8 KB
Line 
1/*
2 * profiledlg.h - dialogs for manipulating profiles
3 * Copyright (C) 2001-2003 Justin Karneges
4 *
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.
9 *
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.
14 *
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
18 *
19 */
20
21#ifndef PROFILEDLG_H
22#define PROFILEDLG_H
23
24#include<qdialog.h>
25#include<qstringlist.h>
26#include"ui_profileopen.h"
27#include"ui_profilemanage.h"
28#include"ui_profilenew.h"
29#include"varlist.h"
30
31
32class ProfileOpenDlg : public ProfileOpenUI
33{
34 Q_OBJECT
35public:
36 ProfileOpenDlg(const QString &, const VarList &, const QString &, QWidget *parent=0, const char *name=0);
37 ~ProfileOpenDlg();
38
39 QString newLang;
40
41private slots:
42 void manageProfiles();
43 void langChange(int);
44
45private:
46 void reload(const QString &);
47
48 VarList langs;
49 int langSel;
50};
51
52class ProfileManageDlg : public ProfileManageUI
53{
54 Q_OBJECT
55public:
56 ProfileManageDlg(const QString &, QWidget *parent=0, const char *name=0);
57
58private slots:
59 void slotProfileNew();
60 void slotProfileRename();
61 void slotProfileDelete();
62 void updateSelection();
63};
64
65class ProfileNewDlg : public ProfileNewUI
66{
67 Q_OBJECT
68public:
69 ProfileNewDlg(QWidget *parent=0, const char *name=0);
70
71 QString name;
72
73private slots:
74 void slotCreate();
75 void nameModified();
76};
77
78#endif
Note: See TracBrowser for help on using the repository browser.