Debian Codegraph @

src/winDialog.h

raw symbols SCIP
1 /* ---------------------------------- winDialog.h ---------------------------------------------------------------------------
2 header file used by winDialog.cpp
3
4 ===============================================================================================================================
5 ===============================================================================================================================
6 This file is part of "luckyBackup" project
7 Copyright, Loukas Avgeriou
8 luckyBackup is distributed under the terms of the GNU General Public License
9 luckyBackup is free software: you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation, either version 3 of the License, or
12 (at your option) any later version.
13
14 luckyBackup is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
18
19 You should have received a copy of the GNU General Public License
20 along with luckyBackup. If not, see <http://www.gnu.org/licenses/>.
21
22
23 project version : Please see "main.cpp" for project version
24
25 developer : luckyb
26 last modified : 16 Jan 2012
27 ===============================================================================================================================
28 ===============================================================================================================================
29 */
30
31 #ifndef WINDIALOG_H
32 #define WINDIALOG_H
33
34 #include "ui_winDialog.h"
35
36 //==============================================================================================================
37 //Declaration of winDialog class
38 class winDialog : public QDialog
39 {
40 Q_OBJECT
41
42 public:
43 winDialog (QWidget *parent=0);
44 QString modifySlashes(QString); // function to change / to \ for OS2 & windows (normally when file dialog is used)
45
46 private slots:
47 void okay();
48 void cancel();
49 void browse(const int); //SLOT to browse for a directory or file to use at the lineEdits
50 void useDefault(const int); //SLOT to revert the lineEdits to their default values
51
52 private:
53 Ui::winDialog uiD;
54
55 protected:
56 void closeEvent(QCloseEvent*);
57 };
58
59 #endif
60
61 // end of winDialog.h ---------------------------------------------------------------------------