From 6dddb2e81c6b7f3cfc2a7e9d26fab407f7bc85e6 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Fri, 8 Jun 2007 14:14:34 +0000 Subject: added signals errorMessage(const QString&) and infoMessage(const QString&) for the DolphinView svn path=/trunk/KDE/kdebase/apps/; revision=672944 --- src/dolphinview.h | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'src/dolphinview.h') diff --git a/src/dolphinview.h b/src/dolphinview.h index 97ab01dad..bcccb7404 100644 --- a/src/dolphinview.h +++ b/src/dolphinview.h @@ -123,8 +123,7 @@ public: KDirLister* dirLister, KDirModel* dirModel, DolphinSortFilterProxyModel* proxyModel, - Mode mode = IconsView, - bool showHiddenFiles = false); + Mode mode); virtual ~DolphinView(); @@ -373,6 +372,18 @@ signals: */ void urlsDropped(const KUrl::List& urls, const KUrl& destination); + /** + * 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); + protected: /** @see QWidget::mouseReleaseEvent */ virtual void mouseReleaseEvent(QMouseEvent* event); -- cgit v1.3