diff options
author | kh1 <karsten.heimrich@digia.com> | 2013-05-27 15:52:31 +0200 |
---|---|---|
committer | Karsten Heimrich <karsten.heimrich@digia.com> | 2013-05-29 16:46:34 +0200 |
commit | 4673422843d3b5db03239112b8d5fa37b3c404ca (patch) | |
tree | 412c22cf7f4dd065f2a46a2d8c184b1344f63085 /src/libs/kdtools/kdupdaterupdateoperations.h | |
parent | c1743392e2453755d1807c3515f1377b5a5f537a (diff) |
Cleanup KDTools from stuff we do not use at all.
Change-Id: I62d5ec103aafe7f2f4a497cc339271bdb33a8f92
Reviewed-by: Niels Weber <niels.weber@digia.com>
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
Diffstat (limited to 'src/libs/kdtools/kdupdaterupdateoperations.h')
-rw-r--r-- | src/libs/kdtools/kdupdaterupdateoperations.h | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/src/libs/kdtools/kdupdaterupdateoperations.h b/src/libs/kdtools/kdupdaterupdateoperations.h index 40480d1e1..5fb7f5a84 100644 --- a/src/libs/kdtools/kdupdaterupdateoperations.h +++ b/src/libs/kdtools/kdupdaterupdateoperations.h @@ -25,10 +25,6 @@ #include "kdupdaterupdateoperation.h" -#include <QDir> -#include <QObject> -#include <QProcess> - namespace KDUpdater { class KDTOOLS_EXPORT CopyOperation : public UpdateOperation @@ -122,56 +118,6 @@ public: PrependFileOperation *clone() const; }; -class KDTOOLS_EXPORT ExecuteOperation : public QObject, public UpdateOperation -{ - Q_OBJECT - -public: - ExecuteOperation(); - - void backup(); - bool performOperation(); - bool undoOperation(); - bool testOperation(); - ExecuteOperation *clone() const; - -public Q_SLOTS: - void cancelOperation(); - -private Q_SLOTS: - void readProcessOutput(); - -Q_SIGNALS: - void outputTextChanged(const QString &text); - -private: - QProcess process; -}; - -class KDTOOLS_EXPORT UpdatePackageOperation : public UpdateOperation -{ -public: - UpdatePackageOperation(); - - void backup(); - bool performOperation(); - bool undoOperation(); - bool testOperation(); - UpdatePackageOperation *clone() const; -}; - -class KDTOOLS_EXPORT UpdateCompatOperation : public UpdateOperation -{ -public: - UpdateCompatOperation(); - - void backup(); - bool performOperation(); - bool undoOperation(); - bool testOperation(); - UpdateCompatOperation *clone() const; -}; - } // namespace KDUpdater #endif // KD_UPDATER_UPDATE_OPERATIONS_H |