PageRenderTime 136ms CodeModel.GetById 130ms app.highlight 2ms RepoModel.GetById 2ms app.codeStats 0ms

/settings_dialog.h

http://ewitool.googlecode.com/
C++ Header | 52 lines | 21 code | 9 blank | 22 comment | 0 complexity | d9dfd711a92c1c48aab8c4effb0f2b13 MD5 | raw file
 1/***************************************************************************
 2 *   Copyright (C) 2008 by Steve Merrony   *
 3 *   steve@brahma   *
 4 *                                                                         *
 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; either version 3 of the License, or     *
 8 *   (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 program; if not, write to the                         *
17 *   Free Software Foundation, Inc.,                                       *
18 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
19 ***************************************************************************/
20#ifndef SETTINGS_DIALOG_H
21#define SETTINGS_DIALOG_H
22
23/**
24	@author Steve Merrony <steve@brahma>
25*/
26
27#include <QDialog>
28#include <QSettings>
29
30#include "patchexchange.h"
31
32#include "ui_settings_dialog.h"
33
34class settings_dialog : public QDialog, Ui::settings_Dialog {
35		Q_OBJECT
36
37	public:
38		settings_dialog();
39		~settings_dialog();
40
41	private slots:
42		void accept();
43		void clearSettings();
44		void testEPX();
45		void updateConnectionState( QString );
46		
47	private:
48		QSettings	*settings;
49		patchExchange *px;
50};
51
52#endif