From 19dadee2cfd4471d795b2b72ac0541124aa505ce Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sun, 3 Jun 2007 14:07:45 +0000 Subject: also toggle the text between "Split" and "Join" for the split action svn path=/trunk/KDE/kdebase/apps/; revision=671018 --- src/dolphinmainwindow.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/dolphinmainwindow.h') diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h index 8d44a1086..6838b61b0 100644 --- a/src/dolphinmainwindow.h +++ b/src/dolphinmainwindow.h @@ -431,6 +431,14 @@ private: */ void connectViewSignals(int viewIndex); + /** + * Updates the text of the split action: + * If \a isSplit is true, the text is set to "Split", + * otherwise the text is set to "Join". The icon + * is updated to match with the text. + */ + void updateSplitAction(bool isSplit); + private: /** * DolphinMainWindowsupports only one or two views, which -- cgit v1.3