-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
79 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#include "preferences.h" | ||
|
||
Preferences::Preferences() | ||
{ | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#ifndef PREFERENCES_H | ||
#define PREFERENCES_H | ||
|
||
|
||
class Preferences | ||
{ | ||
public: | ||
Preferences(); | ||
}; | ||
|
||
#endif // PREFERENCES_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,13 @@ | ||
#ifndef RECENTPROJECTS_H | ||
#define RECENTPROJECTS_H | ||
|
||
#include <QString> | ||
#include <QStringList> | ||
#include <vector> | ||
|
||
class RecentProject { | ||
public: | ||
QString filename; | ||
QString title; | ||
QString notes; | ||
|
||
RecentProject() {} | ||
RecentProject(const QVariant &v) { fromVariant(v); } | ||
QVariant toVariant(); | ||
void fromVariant(const QVariant &v); | ||
}; | ||
|
||
static std::vector<RecentProject> getRecentProjects(); | ||
static void addRecentProject(QString filename, QString title, QString notes); | ||
static void clearRecentProjects(); | ||
QStringList recentProjects(); | ||
void addRecentProject(const QString &filename); | ||
void clearRecentProjects(); | ||
|
||
|
||
#endif // RECENTPROJECTS_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters