Debian Codegraph @

src/scheduleDialog.h

raw symbols SCIP
1 /* ---------------------------------- scheduleDialog.h ---------------------------------------------------------------------------
2 Header file for scheduleDialog.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 : 22 May 2016
27 ===============================================================================================================================
28 ===============================================================================================================================
29 */
30
31 #ifndef SCHEDULEDIALOG_H
32 #define SCHEDULEDIALOG_Hcxx . . $ `src/scheduleDialog.h:32:9`!
33
34 //include header file that qmake produces from "*.ui" created with qt designer
35 #include "ui_scheduleDialog.h"cxx . . $ `<file>/ui_scheduleDialog.h`/
36
37 #include <QFile>
38
39 //==============================================================================================================
40 //Declaration of rsyncDialog class (this will execute rsync and show progress in a dialog)
41 class scheduleDialogcxx . . $ scheduleDialog# : public QDialogcxx . . $ QDialog#
42 {
43 Q_OBJECTcxx . . $ scheduleDialog#tr(75d9f1c324b4579d).
44
45 public:
46 scheduleDialogcxx . . $ scheduleDialog#scheduleDialog(d194de0c0f68c28b). (QDialogcxx . . $ QDialog# *parent=0);
47
48 QStringcxx . . $ QString# schedulenamecxx . . $ scheduleDialog#schedulename.; // schedule file filename
49 int TotalSchedulecxx . . $ scheduleDialog#TotalSchedule.; //The number of available profiles schedulesin "schedule list"- starts from 1
50 int currentSchedulecxx . . $ scheduleDialog#currentSchedule.; //this holds the current row from the "schedule list"- starts from 0
51 void createCroncxx . . $ scheduleDialog#createCron(49f6e7a06ebc5aa8).(); //creates a cron file & updates the user's crontab
52 QStringcxx . . $ QString# CronTabcxx . . $ scheduleDialog#CronTab.; //QString to hold the user's crontab
53 int countcxx . . $ scheduleDialog#count.; //simple count variable !!
54 void clearScheduleDetailscxx . . $ scheduleDialog#clearScheduleDetails(49f6e7a06ebc5aa8).(); //function: when clear (schedule details) pushbutton pressed
55 bool saveScheduleFilecxx . . $ scheduleDialog#saveScheduleFile(c9857a73d68e59ba). (); //function to save the schedule-file
56 QStringcxx . . $ QString# scheduleTextcxx . . $ scheduleDialog#scheduleText(4fb06a9531431799).(QStringcxx . . $ QString#,int,int,int,int,int,bool); //returns the text displayed at the schedule list (eg execute profile default at .... every...)
57
58
59 private slotscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:88:14`!:
60 void schedulePressedcxx . . $ scheduleDialog#schedulePressed(49f6e7a06ebc5aa8).(); //SLOT when schedule buutton pressed
61 void cancelPressedcxx . . $ scheduleDialog#cancelPressed(49f6e7a06ebc5aa8).(); //SLOT when cancel pushbutton pressed
62
63 void modifyPressedcxx . . $ scheduleDialog#modifyPressed(49f6e7a06ebc5aa8).(); //SLOT when modify pushbutton pressed
64 void addPressedcxx . . $ scheduleDialog#addPressed(49f6e7a06ebc5aa8).(); //SLOT to add an item in the list
65 void removePressedcxx . . $ scheduleDialog#removePressed(49f6e7a06ebc5aa8).(); //SLOT to remove an item from the list
66 void okaySchedulePressedcxx . . $ scheduleDialog#okaySchedulePressed(49f6e7a06ebc5aa8).(); //function to add ot modify a profile schedule
67 void modifyCancelPressedcxx . . $ scheduleDialog#modifyCancelPressed(49f6e7a06ebc5aa8).(); //SLOT to initialize widget views
68 void viewCrontabcxx . . $ scheduleDialog#viewCrontab(49f6e7a06ebc5aa8).(); //SLOT to display the currenr crontab
69
70 void fillDetailscxx . . $ scheduleDialog#fillDetails(49f6e7a06ebc5aa8).(); //SLOT to fill fields of schedule details
71 void appendCrontabOutputcxx . . $ scheduleDialog#appendCrontabOutput(49f6e7a06ebc5aa8).(); //SLOT to read user's crontab to a QString
72
73 private:
74 Uicxx . . $ Ui/::scheduleDialogcxx . . $ Ui/scheduleDialog# uiScxx . . $ scheduleDialog#uiS.;
75 QFilecxx . . $ QFile# scheduleFilecxx . . $ scheduleDialog#scheduleFile.; //holds the scheduleFile filename
76 int currentProfileIndexcxx . . $ scheduleDialog#currentProfileIndex.; //holds the current profile index inside the combobox
77 bool noSchedulescxx . . $ scheduleDialog#noSchedules.; //becomes true when no schedules are declared
78 bool changesMadecxx . . $ scheduleDialog#changesMade.; //becomes true if changes are made but no cronIt is pressed
79
80
81 protected:
82 void closeEventcxx . . $ scheduleDialog#closeEvent(642e80679aeb34f8).(QCloseEventcxx . . $ QCloseEvent# *event); //when the close button of the dialog pressed
83
84 };
85
86 #endif
87
88 // end of scheduleDialog.h ---------------------------------------------------------------------------