summaryrefslogtreecommitdiffstats
path: root/src/libs/kdtools/kdupdaterupdateoperation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/kdtools/kdupdaterupdateoperation.cpp')
-rw-r--r--src/libs/kdtools/kdupdaterupdateoperation.cpp20
1 files changed, 1 insertions, 19 deletions
diff --git a/src/libs/kdtools/kdupdaterupdateoperation.cpp b/src/libs/kdtools/kdupdaterupdateoperation.cpp
index 6f09bc825..00248be25 100644
--- a/src/libs/kdtools/kdupdaterupdateoperation.cpp
+++ b/src/libs/kdtools/kdupdaterupdateoperation.cpp
@@ -63,7 +63,7 @@ using namespace KDUpdater;
Constructor
*/
UpdateOperation::UpdateOperation()
- : m_error(0), m_application(0)
+ : m_error(0)
{}
/*!
@@ -150,15 +150,6 @@ void UpdateOperation::setArguments(const QStringList &args)
}
/*!
- Sets the Application for this operation.
- This may be used by some operations
-*/
-void UpdateOperation::setApplication(Application *application)
-{
- m_application = application;
-}
-
-/*!
Returns the last set function arguments.
*/
QStringList UpdateOperation::arguments() const
@@ -207,7 +198,6 @@ void UpdateOperation::setError(int error, const QString &errorString)
void UpdateOperation::clear()
{
m_arguments.clear();
- m_application = 0;
}
QStringList UpdateOperation::filesForDelayedDeletion() const
@@ -248,14 +238,6 @@ bool UpdateOperation::deleteFileNowOrLater(const QString &file, QString *errorSt
}
/*!
- Returns a pointer to the current Application
-*/
-Application *UpdateOperation::application() const
-{
- return m_application;
-}
-
-/*!
\fn virtual void KDUpdater::UpdateOperation::backup() = 0;
Subclasses must implement this function to backup any data before performing the action.