PageRenderTime 44ms CodeModel.GetById 33ms app.highlight 6ms RepoModel.GetById 1ms app.codeStats 0ms

/epxsubmit_dialog.h

http://ewitool.googlecode.com/
C++ Header | 57 lines | 25 code | 10 blank | 22 comment | 0 complexity | 4bbd95ffe6e0a9c32483c5c4f483f8f1 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 EPXSUBMIT_DIALOG_H
21#define EPXSUBMIT_DIALOG_H
22
23/**
24	@author Steve Merrony <steve@brahma>
25*/
26
27#include <QDialog>
28#include <QSettings>
29#include <QStringList>
30
31#include "patchexchange.h"
32
33#include "ui_epxSubmit_dialog.h"
34
35class epxSubmit_dialog : public QDialog, Ui::epxSubmit_Dialog {
36		Q_OBJECT
37
38	public:
39		epxSubmit_dialog( QString pname );
40		~epxSubmit_dialog();
41
42		QString p_origin;
43		QString p_private;
44		QString	p_type;
45		QString p_desc;
46		QString p_tags;
47		
48	private slots:
49		void accept();
50		void populateDropdowns( QStringList dd_data );
51		
52	private:
53		QSettings *settings;
54		patchExchange *epx;
55};
56
57#endif