-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathitimetrackingwindow.h
55 lines (44 loc) · 2.01 KB
/
itimetrackingwindow.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/*
* This file is part of EasyTimeTracker.
*
* EasyTimeTracker is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EasyTimeTracker is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with EasyTimeTracker. If not, see <http://www.gnu.org/licenses/>.
*
* EasyTimeTracker: First creation by 2BlackCoffees: http://www.twoblackcoffees.com/
*
**/
#ifndef ITIMETRACKINGWINDOW_H
#define ITIMETRACKINGWINDOW_H
#include <QMainWindow>
class TimeTrackingModel;
//class QMainWindow;
class ITimeTrackingWindow : public QMainWindow
{
public:
virtual ~ITimeTrackingWindow() = 0;
virtual void copy() const = 0;
virtual void cut() = 0;
virtual void paste() = 0;
virtual void startTT() = 0;
virtual void stopTT() = 0;
virtual void pauseTT() = 0;
virtual bool isStarted() const = 0;
virtual bool isStopped() const = 0;
virtual void lockUnlock(bool unlock) = 0;
virtual bool isSheetOfCurMonth() const = 0;
virtual bool openSpreadsheet(bool silent) = 0;
virtual void exportSheet(const QString & path) const = 0;
virtual void printSheet() = 0;
virtual void printPreview() = 0;
virtual TimeTrackingModel * getTrackingModel() const = 0;
};
#endif // ITIMETRACKINGWINDOW_H