diff options
Diffstat (limited to 'src/dolphinmainwindow.h')
| -rw-r--r-- | src/dolphinmainwindow.h | 30 |
1 files changed, 5 insertions, 25 deletions
diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h index e99add896..ab96cd155 100644 --- a/src/dolphinmainwindow.h +++ b/src/dolphinmainwindow.h @@ -273,23 +273,11 @@ private slots: /** Switches between sorting by categories or not. */ void toggleSortCategorization(); - /** Switches between showing the size as additional information for the item or not. */ - void toggleSizeInfo(); - - /** Switchtes between showing the date as additional information for the item or not. */ - void toggleDateInfo(); - - /** Switchtes between showing the permissions as additional information for the item or not. */ - void togglePermissionsInfo(); - - /** Switchtes between showing the owner as additional information for the item or not. */ - void toggleOwnerInfo(); - - /** Switchtes between showing the group as additional information for the item or not. */ - void toggleGroupInfo(); - - /** Switches between showing the MIME type as additional information for the item or not. */ - void toggleMimeInfo(); + /** + * Applies \a info dependent from the current checked state of the action + * \a actionName to the file item delegate. + */ + void toggleAdditionalInfo(QAction* action); /** * Switches between one and two views: @@ -453,14 +441,6 @@ private: */ void updateSplitAction(); - /** - * Helper method for the slots toggleDateInfo(), toggleSizeInfo() - * and toggleMimeInfo(). Applies \a info dependent from the current - * checked state of the action \a actionName to the file item delegate. - */ - void toggleAdditionalInfo(const char* actionName, - KFileItemDelegate::Information info); - private: /** * DolphinMainWindow supports up to two views beside each other. |
