forked from xaionaro/redmine-qt
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathExample.h
More file actions
41 lines (32 loc) · 655 Bytes
/
Example.h
File metadata and controls
41 lines (32 loc) · 655 Bytes
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
#ifndef EXAMPLE_H
#define EXAMPLE_H
#include "SimpleRedmineClient.h"
#include <QObject>
/**
* @brief Example class for using QtRedmine
*/
class Example : public QObject
{
Q_OBJECT
private:
/// Redmine connection object
qtredmine::SimpleRedmineClient* redmine_;
/// Issues cache
qtredmine::Issues issues_;
public:
/**
* @brief Constructor
*
* @param parent Parent QObject
*/
explicit Example( QObject* parent = nullptr );
/**
* @brief Cache issues
*/
void cacheIssues();
/**
* @brief Print projects using DEBUG()
*/
void printProjects();
};
#endif // EXAMPLE_H