summaryrefslogtreecommitdiff
path: root/noncore/apps/odict/configdlg.h
blob: 2b7d0a163f57a9b21f25117892146aa848170389 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/***************************************************************************
 *                                                                         *
 * This program is free software; you can redistribute it and/or modify    *
 * it under the terms of the GNU General Public License as published by    *
 * the Free Software Foundation; either version 2 of the License, or       *
 * ( at your option ) any later version.                                   *
 *                                                                         *
 **************************************************************************/

class QWidget;
class OTabWidget;
class QListView;
class QPushButton;

#include <qdialog.h>


class ConfigDlg : public QDialog
{
	Q_OBJECT
	
    public:
		ConfigDlg(QWidget *parent, const char *name, bool modal=FALSE );

		void writeEntries();

	private:
		OTabWidget *tab;
		QWidget *settings_tab, *search_tab;
		QListView *list;
		QPushButton *new_button, *change_button, *delete_button;

		void loadSearchMethodNames();

	private slots:
		void slotNewMethod();
		void slotChangeMethod();
		void slotDeleteMethod();
};