┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/revisioncontrolobserver.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2009-07-29 21:56:37 +0000
committerPeter Penz <[email protected]>2009-07-29 21:56:37 +0000
commita70be712fd5b33071c4733c47f810948d86dd4d8 (patch)
tree5683e3ac6880810013a001257ce1079beeb31436 /src/revisioncontrolobserver.h
parenta48c813fd9b4c416f23c48914889946074b96084 (diff)
Allow the revision control plugins to indicate information-, error- and operation-completed messages.
svn path=/trunk/KDE/kdebase/apps/; revision=1004346
Diffstat (limited to 'src/revisioncontrolobserver.h')
-rw-r--r--src/revisioncontrolobserver.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/revisioncontrolobserver.h b/src/revisioncontrolobserver.h
index ae19e219f..4decbda7f 100644
--- a/src/revisioncontrolobserver.h
+++ b/src/revisioncontrolobserver.h
@@ -57,7 +57,26 @@ public:
QList<QAction*> contextMenuActions(const KFileItemList& items) const;
QList<QAction*> contextMenuActions(const QString& directory) const;
+
+signals:
+ /**
+ * Is emitted if an information message with the content \a msg
+ * should be shown.
+ */
+ void infoMessage(const QString& msg);
+
+ /**
+ * Is emitted if an error message with the content \a msg
+ * should be shown.
+ */
+ void errorMessage(const QString& msg);
+ /**
+ * Is emitted if an "operation completed" message with the content \a msg
+ * should be shown.
+ */
+ void operationCompletedMessage(const QString& msg);
+
private slots:
void delayedDirectoryVerification();
void verifyDirectory();