Commit Graph

33 Commits

Author SHA1 Message Date
hjk
1181765a24 cleanup interface of Core::Context 2010-06-25 18:05:09 +02:00
hjk
2f5f358ff4 Core::Context: compile hot fix for Windows. 2010-06-25 17:38:25 +02:00
hjk
c7e8b51d37 core: use a class derived from QList<int> instead of a QList<int> for Core::Context
A mostly mechanical change.

Reviewed-By: con
2010-06-25 12:58:07 +02:00
con
3d1a97e6df Fix updating the state of menus.
The menus were only updated during context changes
(not if action states where updated directly),
and didn't take into account that the active action for a context
might still be disabled.
Also, enabled separators should not automatically lead to enabled menus.
2010-04-23 04:30:47 +02:00
dt
cbe46198ad ActionManager support for iconVisibleInMenu 2010-03-26 17:34:59 +01:00
hjk
9595504bda Long live the king! 2010-03-05 11:28:13 +01:00
Martin Aumüller
7c9c7a0f20 fakevim: configurable mapping of ex commands to actions
default mapping:
- :make -> build
- :A -> switch header/source
- :cn -> next issue item
- :cp -> previous issue item

Merge-request: 101
Reviewed-by: hjk <qtc-committer@nokia.com>
2010-01-22 17:05:03 +01:00
con
601038689e Remove one level of the Command class hierarchy.
Remove the historical separation of "Action" and "OverridableAction".
The latter is now merged into the former.
2010-01-14 16:37:40 +01:00
Daniel Molkentin
6ba9ae6685 Be a good citizen, retrieve the settings from ICore::instance(). 2010-01-14 15:27:03 +01:00
hjk
93cbef8724 long live the king 2009-08-14 09:30:56 +02:00
con
1e06df7d40 Add views menu for form editor. 2009-08-11 16:38:53 +02:00
Jason McDonald
884b7af769 Update license headers and sales contact details.
Reviewed-by: Trust Me
2009-06-17 00:01:27 +10:00
Oswald Buddenhagen
d2a8449bea ifdef Q_?S_* cleanup
- clear up some Q_OS_LINUX vs. Q_OS_UNIX
- clear up Q_WS_* vs. Q_OS_* (relatively theoretical exercise)
- use proper #if-#else cascades instead of free-standing #ifs
2009-06-03 20:54:59 +02:00
con
c6a0d43d7f Remove unused/unnecessary code. 2009-05-06 17:42:14 +02:00
con
38d7c52d49 Some more documentation about contexts and action containers. 2009-05-04 15:10:23 +02:00
hjk
8ca887aae2 Fixes: change file license headers to include LGPL 2009-02-25 09:15:00 +01:00
hjk
f31607b33d Fixes: coreplugin: use UniqueIDManager more directly 2009-01-26 13:03:38 +01:00
Thorbjørn Lindeijer
95aad08aad Some shortcut settings improvements
Don't display the useless "Other" category, since the categorization of
commands isn't used anywhere (candidate for removal).

Filter out accelerator ampersands, since they aren't interesting here
and reduce the effectiveness of searching.
2009-01-21 13:13:02 +01:00
hjk
113b81e9db replace ExtensionSystem::PluginManager::instance()->getObject<Core::ICore>() by Core::ICore::instance() 2009-01-20 11:52:04 +01:00
con
fbfcc9a484 Fixes: - ICommand --> Command
Details:  - Naming convention
2009-01-14 13:18:25 +01:00
con
d9f97aa179 Fixes: - Command --> CommandPrivate
Details:  - Preparation for ICommand rename
2009-01-14 13:18:24 +01:00
con
1e4c48a173 Fixes: - IActionContainer --> ActionContainer
Details:  - Conform to naming convention
2009-01-14 13:18:24 +01:00
con
28acadf899 Fixes: - ActionContainer --> ActionContainerPrivate
Details:  - Preparation for IActionContainer --> ActionContainer
2009-01-14 13:18:23 +01:00
con
08e7b0f447 Fixes: - Remove unused tool bar container, and unnecessary enum
Details:  - I'm still not too happy with the whole construction but anyway.
The ToolBarActionContainer was never really used anymore (e.g. you
couldn't create one)
2009-01-14 11:33:10 +01:00
Daniel Molkentin
59affcfffc Bump year in licence header. 2009-01-13 19:22:14 +01:00
con
768dd19e5b Fixes: - API doc for ActionManager and remove some deprecated things
Details:
ActionManager::registerAction(qaction, id):
  use registerAction(qaction, id, QList<int>() << Core::C_GLOBAL_ID)
ActionManager::addAction/Menu:
  use ActionManager::actionContainer + IActionContainer::addAction/Menu
2009-01-13 19:09:03 +01:00
con
c9889120c3 Fixes: - Rename ActionManagerInterface --> ActionManager
Details:  - To make it conform to naming convention.
2009-01-13 15:44:25 +01:00
con
2562b09f5b Fixes: - Rename ActionManager --> ActionManagerPrivate
Details:  - Step one, step two is ActionManagerInterface -->
ActionManager because it conflicts with our naming conventions
2009-01-13 15:44:25 +01:00
hjk
da3cb14483 chancge Nokia GPL exception version from 1.2 to 1.3 2008-12-16 17:20:00 +01:00
hjk
ab83dcd87c off-by-one in headers 2008-12-02 14:20:25 +01:00
hjk
8a43d9b9f3 end-of-line whitespace correction of the new headers 2008-12-02 14:17:16 +01:00
hjk
f61e8672db more cosmetic changes 2008-12-02 14:09:21 +01:00
con
05c35356ab Initial import 2008-12-02 12:01:29 +01:00