| 1 | /* ---------------------------------- emailDialog.h --------------------------------------------------------------------------- |
| 2 | header file used by emailDialog.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 : 06 Feb 2014 |
| 27 | =============================================================================================================================== |
| 28 | =============================================================================================================================== |
| 29 | */ |
| 30 | |
| 31 | #ifndef EMAILDIALOG_H |
| 32 | #define EMAILDIALOG_Hcxx . . $ `src/emailDialog.h:32:9`! |
| 33 | |
| 34 | #include "ui_emailDialog.h"cxx . . $ `<file>/ui_emailDialog.h`/ |
| 35 | |
| 36 | //============================================================================================================== |
| 37 | //Declaration of emailDialog class |
| 38 | // accessor function getGoOn returns true or false |
| 39 | class emailDialogcxx . . $ emailDialog# : public QDialogcxx . . $ QDialog# |
| 40 | { |
| 41 | Q_OBJECTcxx . . $ emailDialog#QPrivateSignal# |
| 42 | |
| 43 | public: |
| 44 | emailDialogcxx . . $ emailDialog#emailDialog(d194de0c0f68c28b). (QDialogcxx . . $ QDialog# *parent=0); |
| 45 | int getGoOncxx . . $ emailDialog#getGoOn(b126dc7c1de90089).(); |
| 46 | QStringcxx . . $ QString# getCommandcxx . . $ emailDialog#getCommand(4365c3963150523e).(); |
| 47 | |
| 48 | private slotscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:88:14`!: |
| 49 | void okaycxx . . $ emailDialog#okay(49f6e7a06ebc5aa8).(); // Okay pressed |
| 50 | void cancelcxx . . $ emailDialog#cancel(49f6e7a06ebc5aa8).(); // Cancel pressed |
| 51 | void revertDefaultcxx . . $ emailDialog#revertDefault(d4f767463ce0a6b3).(const int); // SLOT to revert a field to the default value |
| 52 | void emailTestcxx . . $ emailDialog#emailTest(49f6e7a06ebc5aa8).(); // Send an email now, using current fields |
| 53 | void enableTLScxx . . $ emailDialog#enableTLS(49f6e7a06ebc5aa8).(); // Enable/disable the TLS option |
| 54 | |
| 55 | private: |
| 56 | Uicxx . . $ Ui/::emailDialogcxx . . $ Ui/emailDialog# uiEcxx . . $ emailDialog#uiE.; |
| 57 | |
| 58 | bool checkFieldscxx . . $ emailDialog#checkFields(c9857a73d68e59ba).(); // Function to check if all fields are ok |
| 59 | |
| 60 | int GoOncxx . . $ emailDialog#GoOn.; // return an integer according to exit status |
| 61 | void fillWindowcxx . . $ emailDialog#fillWindow(49f6e7a06ebc5aa8).(); // Fill all gui fields from variables |
| 62 | void fillVariablescxx . . $ emailDialog#fillVariables(49f6e7a06ebc5aa8).(); // Fill relevant variables from gui fields |
| 63 | QStringcxx . . $ QString# warningMessagecxx . . $ emailDialog#warningMessage.; // Warning message to display if the fields are not ok |
| 64 | |
| 65 | protected: |
| 66 | void closeEventcxx . . $ emailDialog#closeEvent(642e80679aeb34f8).(QCloseEventcxx . . $ QCloseEvent# *); |
| 67 | }; |
| 68 | |
| 69 | #endif |
| 70 | |
| 71 | // end of emailDialog.h --------------------------------------------------------------------------- |