-
Notifications
You must be signed in to change notification settings - Fork 3
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
17 changed files
with
343 additions
and
222 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// | ||
// Copyright (c) 2016 Jeff Thompson <[email protected]> | ||
// Copyright (c) 2019 Jeff Thompson <[email protected]> | ||
// | ||
// This file is part of Inkjet Plumber. | ||
// | ||
|
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,5 +1,5 @@ | ||
// | ||
// Copyright (c) 2016 Jeff Thompson <[email protected]> | ||
// Copyright (c) 2019 Jeff Thompson <[email protected]> | ||
// | ||
// This file is part of Inkjet Plumber. | ||
// | ||
|
@@ -22,7 +22,8 @@ | |
|
||
#include <QDialog> | ||
|
||
namespace Ui { | ||
namespace Ui | ||
{ | ||
class AboutDialog; | ||
} | ||
|
||
|
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 |
---|---|---|
|
@@ -135,7 +135,7 @@ | |
<html><head><meta name="qrichtext" content="1" /><style type="text/css"> | ||
p, li { white-space: pre-wrap; } | ||
</style></head><body style=" font-family:'Verdana'; font-size:14pt; font-weight:400; font-style:normal;"> | ||
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">© 2016 Jeff Thompson &lt;<a href="mailto:[email protected]"><span style=" text-decoration: underline; color:#0000ff;">[email protected]</span></a>&gt;</p></body></html></string> | ||
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">© 2019 Jeff Thompson &lt;<a href="mailto:[email protected]"><span style=" text-decoration: underline; color:#0000ff;">[email protected]</span></a>&gt;</p></body></html></string> | ||
</property> | ||
<property name="textFormat"> | ||
<enum>Qt::RichText</enum> | ||
|
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// | ||
// Copyright (c) 2016 Jeff Thompson <[email protected]> | ||
// Copyright (c) 2019 Jeff Thompson <[email protected]> | ||
// | ||
// This file is part of Inkjet Plumber. | ||
// | ||
|
@@ -28,7 +28,7 @@ | |
#include "sparkleautoupdater.h" | ||
#endif | ||
|
||
int main(int argc, char* argv[]) | ||
int main(int argc, char *argv[]) | ||
{ | ||
QApplication a(argc, argv); | ||
a.setApplicationName("Inkjet Plumber"); | ||
|
@@ -37,7 +37,7 @@ int main(int argc, char* argv[]) | |
a.setOrganizationName("Jeff Thompson"); | ||
|
||
#if defined(Q_OS_OSX) | ||
SparkleAutoUpdater* updater = nullptr; | ||
SparkleAutoUpdater *updater = nullptr; | ||
CocoaInitializer initializer; | ||
updater = new SparkleAutoUpdater(); | ||
MainWindow w(updater); | ||
|
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,5 +1,5 @@ | ||
// | ||
// Copyright (c) 2016 Jeff Thompson <[email protected]> | ||
// Copyright (c) 2019 Jeff Thompson <[email protected]> | ||
// | ||
// This file is part of Inkjet Plumber. | ||
// | ||
|
@@ -21,7 +21,7 @@ | |
|
||
#include "maintenancejob.h" | ||
|
||
MaintenanceJob::MaintenanceJob(QObject* parent) | ||
MaintenanceJob::MaintenanceJob(QObject *parent) | ||
: QObject(parent) | ||
, enabled(false) | ||
, hours(55) | ||
|
@@ -40,7 +40,7 @@ MaintenanceJob::MaintenanceJob(QObject* parent) | |
return; | ||
} | ||
|
||
MaintenanceJob::MaintenanceJob(const QString& name, QObject* parent) | ||
MaintenanceJob::MaintenanceJob(const QString &name, QObject *parent) | ||
: QObject(parent) | ||
, printer_name(name) | ||
, enabled(false) | ||
|
@@ -60,7 +60,7 @@ MaintenanceJob::MaintenanceJob(const QString& name, QObject* parent) | |
return; | ||
} | ||
|
||
MaintenanceJob::MaintenanceJob(const MaintenanceJob& rhs) | ||
MaintenanceJob::MaintenanceJob(const MaintenanceJob &rhs) | ||
: QObject(rhs.parent()) | ||
, printer_name(rhs.printer_name) | ||
, enabled(rhs.enabled) | ||
|
@@ -85,7 +85,7 @@ MaintenanceJob::~MaintenanceJob() | |
return; | ||
} | ||
|
||
MaintenanceJob& MaintenanceJob::operator=(const MaintenanceJob& rhs) | ||
MaintenanceJob &MaintenanceJob::operator=(const MaintenanceJob &rhs) | ||
{ | ||
printer_name = rhs.printer_name; | ||
enabled = rhs.enabled; | ||
|
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,5 +1,5 @@ | ||
// | ||
// Copyright (c) 2016 Jeff Thompson <[email protected]> | ||
// Copyright (c) 2019 Jeff Thompson <[email protected]> | ||
// | ||
// This file is part of Inkjet Plumber. | ||
// | ||
|
@@ -39,11 +39,11 @@ class MaintenanceJob : public QObject | |
|
||
public: | ||
|
||
explicit MaintenanceJob(QObject* parent = 0); | ||
MaintenanceJob(const QString& name, QObject* parent = 0); | ||
MaintenanceJob(const MaintenanceJob& rhs); | ||
explicit MaintenanceJob(QObject *parent = 0); | ||
MaintenanceJob(const QString &name, QObject *parent = 0); | ||
MaintenanceJob(const MaintenanceJob &rhs); | ||
~MaintenanceJob(); | ||
MaintenanceJob& operator=(const MaintenanceJob& rhs); | ||
MaintenanceJob &operator=(const MaintenanceJob &rhs); | ||
|
||
signals: | ||
|
||
|
@@ -68,10 +68,10 @@ public slots: | |
}; | ||
|
||
Q_DECLARE_METATYPE(MaintenanceJob); | ||
Q_DECLARE_METATYPE(MaintenanceJob*); | ||
Q_DECLARE_METATYPE(MaintenanceJob *); | ||
|
||
typedef QList<MaintenanceJob*> MaintenanceJobList; | ||
typedef QMap<QString, MaintenanceJob*> MaintenanceJobMap; | ||
typedef QMapIterator<QString, MaintenanceJob*> MaintenanceJobMapIterator; | ||
typedef QList<MaintenanceJob *> MaintenanceJobList; | ||
typedef QMap<QString, MaintenanceJob *> MaintenanceJobMap; | ||
typedef QMapIterator<QString, MaintenanceJob *> MaintenanceJobMapIterator; | ||
|
||
#endif // MAINTENANCEJOB_H |
Oops, something went wrong.