| 1 | // ---------------------------------- patternEditor.h ---------------------------------------------------------------------------cxx . . $ `<file>/src/patternEditor.h`/ |
| 2 | // header file used by patternEditor.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 : 26 Feb 2010 |
| 27 | //=============================================================================================================================== |
| 28 | //=============================================================================================================================== |
| 29 | |
| 30 | #ifndef PATTERNEDITOR_H |
| 31 | #define PATTERNEDITOR_Hcxx . . $ `src/patternEditor.h:31:9`! |
| 32 | |
| 33 | #include "ui_patternEditor.h"cxx . . $ `<file>/ui_patternEditor.h`/ |
| 34 | |
| 35 | //============================================================================================================== |
| 36 | //Declaration of patternEditor class |
| 37 | |
| 38 | class patternEditorcxx . . $ patternEditor# : public QDialogcxx . . $ QDialog# |
| 39 | { |
| 40 | Q_OBJECTcxx . . $ patternEditor#staticMetaObject. |
| 41 | |
| 42 | public: |
| 43 | patternEditorcxx . . $ patternEditor#patternEditor(c2ce7417dc68f8ba). (QStringcxx . . $ QString#, QWidgetcxx . . $ QWidget# *parent=0); |
| 44 | QStringcxx . . $ QString# getPatterncxx . . $ patternEditor#getPattern(4365c3963150523e).(); |
| 45 | |
| 46 | private slotscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:88:14`!: |
| 47 | void okaycxx . . $ patternEditor#okay(49f6e7a06ebc5aa8).(); |
| 48 | void cancelcxx . . $ patternEditor#cancel(49f6e7a06ebc5aa8).(); |
| 49 | void resetFiledscxx . . $ patternEditor#resetFileds(49f6e7a06ebc5aa8).(); |
| 50 | void browsecxx . . $ patternEditor#browse(d4f767463ce0a6b3).(const int); //SLOT to browse for a directory or file |
| 51 | void fillPatterncxx . . $ patternEditor#fillPattern(49f6e7a06ebc5aa8).(); //SLOT to fill-in the pattern from all the info from the dialog |
| 52 | void fileRadioChangedcxx . . $ patternEditor#fileRadioChanged(49f6e7a06ebc5aa8).(); //SLOT when the specific file radio button is toggled |
| 53 | |
| 54 | private: |
| 55 | Uicxx . . $ Ui/::patternEditorcxx . . $ Ui/patternEditor# uiPcxx . . $ patternEditor#uiP.; |
| 56 | QStringcxx . . $ QString# itsPatterncxx . . $ patternEditor#itsPattern.; |
| 57 | QStringcxx . . $ QString# SourceRootcxx . . $ patternEditor#SourceRoot.; //this holds the source of the task |
| 58 | QStringcxx . . $ QString# patternLinecxx . . $ patternEditor#patternLine.; //this holds the final pattern to insert |
| 59 | QStringcxx . . $ QString# anchorSourcecxx . . $ patternEditor#anchorSource.; //this holds the final directory of the source when "backup the entire source directory by name" is used |
| 60 | int countcxx . . $ patternEditor#count.; //simple count variable |
| 61 | |
| 62 | protected: |
| 63 | void closeEventcxx . . $ patternEditor#closeEvent(642e80679aeb34f8).(QCloseEventcxx . . $ QCloseEvent#*); |
| 64 | }; |
| 65 | |
| 66 | #endif |
| 67 | |
| 68 | // end of patternEditor.h --------------------------------------------------------------------------- |