From a7838db28e24e9618a39954524f055dc3335f7a9 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sat, 8 Nov 2008 16:22:30 +0000 Subject: * implement the DragAndDropHelper as singleton derived from QObject, so that emitting of signals is possible * show an information message in the statusbar, if items are dragged into the same directory TODO: although the signal seems to get connected correctly, the slot DolphinMainWindow::showInformationMessage() is not invoked when the signal is emitted -> will debug this later, it is important that the new string is added before the message freeze svn path=/trunk/KDE/kdebase/apps/; revision=881627 --- src/dolphinmainwindow.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/dolphinmainwindow.h') diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h index c98d2386a..8cfdda34a 100644 --- a/src/dolphinmainwindow.h +++ b/src/dolphinmainwindow.h @@ -168,11 +168,11 @@ private slots: /** Updates the 'Create New...' sub menu. */ void updateNewMenu(); - /** - * Shows the error information from the places model - * in the status bar. - */ - void slotHandlePlacesError(const QString &message); + /** Shows the error message in the status bar of the active view. */ + void showErrorMessage(const QString& message); + + /** Shows the information message in the status bar of the active view. */ + void showInformationMessage(const QString& message); /** * Updates the state of the 'Undo' menu action dependent -- cgit v1.3