| 1 | /* ---------------------------------- modifyDialog.h --------------------------------------------------------------------------- |
| 2 | Header file for modifyDialog.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 | project version : Please see "main.cpp" for project version |
| 23 | |
| 24 | developer : luckyb |
| 25 | last modified : 17 Feb 2011 |
| 26 | =============================================================================================================================== |
| 27 | =============================================================================================================================== |
| 28 | */ |
| 29 | |
| 30 | #ifndef MODIFYDIALOG_H |
| 31 | #define MODIFYDIALOG_Hcxx . . $ `src/modifyDialog.h:31:9`! |
| 32 | |
| 33 | //include header file that qmake produces from "*.ui" created with qt designer |
| 34 | #include "ui_modifyDialog.h"cxx . . $ `<file>/ui_modifyDialog.h`/ |
| 35 | #include "operationClass.h"cxx . . $ `<file>/src/operationClass.h`/ |
| 36 | #include "patternEditor.h"cxx . . $ `<file>/src/patternEditor.h`/ |
| 37 | |
| 38 | //============================================================================================================== |
| 39 | //Declaration of rsyncDialog class (this will execute rsync and show progress in a dialog) |
| 40 | class modifyDialogcxx . . $ modifyDialog# : public QDialogcxx . . $ QDialog# |
| 41 | { |
| 42 | Q_OBJECTcxx . . $ modifyDialog#staticMetaObject. |
| 43 | |
| 44 | public: |
| 45 | modifyDialogcxx . . $ modifyDialog#modifyDialog(f8943853b7fb084f). (int, QDialogcxx . . $ QDialog# *parent=0); |
| 46 | |
| 47 | operationcxx . . $ operation# *fillOperationArraycxx . . $ modifyDialog#fillOperationArray(9d9f74a14a8c897).(); //function to fill the data of an operation array item from the window fields |
| 48 | void fillModifyWindowcxx . . $ modifyDialog#fillModifyWindow(b4c25c12f379bf65).(operationcxx . . $ operation#*); //function to fill the window fields from the data of an operation array item |
| 49 | void modifyTrailingcxx . . $ modifyDialog#modifyTrailing(49f6e7a06ebc5aa8).(); //function to add a remove a trailing "/" at the end of the source or dest dir |
| 50 | QStringcxx . . $ QString# modifyOS2Slashescxx . . $ modifyDialog#modifyOS2Slashes(f7f320d754b8fd09).(QStringcxx . . $ QString#); // function to change / to \ for OS2 (normally when file dialog is used) |
| 51 | QStringListcxx . . $ QStringList# StdArgumentscxx . . $ modifyDialog#StdArguments.; //this variable holds the standard arguments used by rsync |
| 52 | int ArrayPositioncxx . . $ modifyDialog#ArrayPosition.; //this holds the item's position in the "operation array" |
| 53 | //bool validation; //becomes true if "validation check" button is pressed |
| 54 | int countcxx . . $ modifyDialog#count.; //simple count variable !! |
| 55 | |
| 56 | private slotscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:88:14`!: |
| 57 | void advancedPressedcxx . . $ modifyDialog#advancedPressed(b45ddcbc8423892c).(bool); //SLOT when advanced buutton pressed to hide part of widget |
| 58 | void cancelPressedcxx . . $ modifyDialog#cancelPressed(49f6e7a06ebc5aa8).(); //SLOT when cancel pushbutton pressed |
| 59 | void okayPressedcxx . . $ modifyDialog#okayPressed(49f6e7a06ebc5aa8).(); //SLOT when okay pushbutton pressed |
| 60 | void commandPressedcxx . . $ modifyDialog#commandPressed(49f6e7a06ebc5aa8).(); //SLOT when show command pushbutton pressed |
| 61 | void addListItemcxx . . $ modifyDialog#addListItem(d4f767463ce0a6b3).(const int); //SLOT to add an item in a list |
| 62 | void removeListItemcxx . . $ modifyDialog#removeListItem(d4f767463ce0a6b3).(const int); //SLOT to remove an item from a list |
| 63 | void editListItemcxx . . $ modifyDialog#editListItem(d4f767463ce0a6b3).(const int); //SLOT to edit an item from a list |
| 64 | void moveListItemUpcxx . . $ modifyDialog#moveListItemUp(d4f767463ce0a6b3).(const int); //SLOT to move an item from a list |
| 65 | void moveListItemDowncxx . . $ modifyDialog#moveListItemDown(d4f767463ce0a6b3).(const int); //SLOT to move an item from a list |
| 66 | void browsecxx . . $ modifyDialog#browse(d4f767463ce0a6b3).(const int); //SLOT to browse for a directory or file |
| 67 | void getPatterncxx . . $ modifyDialog#getPattern(d4f767463ce0a6b3).(const int); //SLOT to launch the pattern editor and insert the pattern to a lineEdit |
| 68 | void TaskTypeChangedcxx . . $ modifyDialog#TaskTypeChanged(d4f767463ce0a6b3).(int); // SLOT to act upon task type changes |
| 69 | void disableExcludeTabcxx . . $ modifyDialog#disableExcludeTab(49f6e7a06ebc5aa8).(); // SLOT that disables the exclude tab according to include settings |
| 70 | |
| 71 | private: |
| 72 | Uicxx . . $ Ui/::modifyDialogcxx . . $ Ui/modifyDialog# uiMcxx . . $ modifyDialog#uiM.; |
| 73 | int stdWindowWidthcxx . . $ modifyDialog#stdWindowWidth., minWindowHeightcxx . . $ modifyDialog#minWindowHeight., maxWindowHeightcxx . . $ modifyDialog#maxWindowHeight.; //standard window dimensions |
| 74 | QStringcxx . . $ QString# stripInvalidCharacterscxx . . $ modifyDialog#stripInvalidCharacters(f7f320d754b8fd09).(QStringcxx . . $ QString#); //Strips off invalid filename characters from a string |
| 75 | bool listItemEditModecxx . . $ modifyDialog#listItemEditMode.; // Becomes true is any list item is edited |
| 76 | QStringcxx . . $ QString# origAddTextcxx . . $ modifyDialog#origAddText.,origRemoveTextcxx . . $ modifyDialog#origRemoveText.; // This will hold a widget's original text when we need to change it for a while |
| 77 | QStringcxx . . $ QString# origAddToolTipcxx . . $ modifyDialog#origAddToolTip.,origRemoveToolTipcxx . . $ modifyDialog#origRemoveToolTip.; // This will hold a widget's original tooltip when we need to change it for a while |
| 78 | QStringcxx . . $ QString# alsoExecuteTooltipcxx . . $ modifyDialog#alsoExecuteTooltip.; // This will hold the tooltip of each "also execute" command |
| 79 | Qtcxx . . $ Qt/::CheckStatecxx . . $ Qt/CheckState# alsoExecuteStatecxx . . $ modifyDialog#alsoExecuteState.; // Will hold the state of an also execute command |
| 80 | |
| 81 | protected: |
| 82 | void closeEventcxx . . $ modifyDialog#closeEvent(642e80679aeb34f8).(QCloseEventcxx . . $ QCloseEvent# *event); //when the close button of the dialog pressed |
| 83 | |
| 84 | }; |
| 85 | |
| 86 | #endif |
| 87 | |
| 88 | // end of modifyDialog.h --------------------------------------------------------------------------- |