X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fuisupport%2Fgraphicalui.h;h=42a0a01cd70def56931862b6c192029ac4d5c5e5;hb=fc07679cda72e37ef2d2c3e6ed4468c5563f679e;hp=5435d4e80fdfbcb07168a56feee316aa7c41321c;hpb=f7de6cee3148bc799ee20cd9def47d9e5703d66c;p=quassel.git diff --git a/src/uisupport/graphicalui.h b/src/uisupport/graphicalui.h index 5435d4e8..42a0a01c 100644 --- a/src/uisupport/graphicalui.h +++ b/src/uisupport/graphicalui.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-09 by the Quassel Project * + * Copyright (C) 2005-2010 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -46,6 +46,15 @@ public: * @param category The category (default: "General") */ static ActionCollection *actionCollection(const QString &category = "General"); + static QHash actionCollections(); + + //! Load custom shortcuts from ShortcutSettings + /** @note This method assumes that all configurable actions are defined when being called + */ + static void loadShortcuts(); + + //! Save custom shortcuts to ShortcutSettings + static void saveShortcuts(); inline static ContextMenuActionProvider *contextMenuActionProvider(); inline static ToolBarActionProvider *toolBarActionProvider();