Commit graph

16 commits

Author SHA1 Message Date
Stephen Kelly
ed2872074e Simplify some Qt module style includes.
This is the easiest way to transition to Qt5.
2012-04-10 00:20:22 +02:00
Alexander Potashev
907ca6c2cb Use "(qtundo-format)" instead of "@action:undo" in context strings
Fixes commit db51e00325.
See http://lists.kde.org/?l=kde-i18n-doc&m=130520794123988&w=2
2011-05-12 19:49:40 +04:00
Alexander Potashev
db51e00325 Add message contexts "@action:undo" to all QUndoCommand texts
http://techbase.kde.org/Development/Tutorials/Localization/i18n_Semantics
2011-05-12 11:21:29 +04:00
David Faure
1a509e8dea Fix change compression when editing fields: showBookmark was committing changes
and notifyManagers() was leading to a third save and a second full-tree-reload.
Removed these calls, since command::redo does it already.

Also fixed change compression messing up the "old value", so undo didn't restore
the orig value.

FIXED-IN: 4.6.1
BUG: 242884
2011-02-02 23:49:19 +01:00
David Faure
4a9c92b29f Only connect to the changed() signal, otherwise the slot is called twice
and the second time reloads the whole tree
(bookmarksChanged is the DBUS signal, so changed gets emitted afterwards)
CCBUG: 242884
2011-02-02 23:49:19 +01:00
David Faure
61d4591eea Rename variable to solve some confusion 2011-02-02 23:49:19 +01:00
David Faure
2dee96208d Fix "undo" undoing two steps, and "redo" redoing two steps 2011-02-02 23:49:19 +01:00
Kevin Ottens
a19c915dc0 kbookmark.h already uses Q_DECLARE_METATYPE for KBookmark.
In other words "++build".

svn path=/trunk/KDE/kdebase/apps/; revision=1159873
2010-08-06 12:48:39 +00:00
Pino Toscano
5efab5de0e make the bookmark model properly reset itself,
- when changed remotely (via D-Bus)
- when the bookmark manager used is changed by something else in the same application

svn path=/trunk/KDE/kdebase/apps/; revision=1152200
2010-07-20 14:09:59 +00:00
Maks Orlovich
cafe58ee85 We need to export this since it's used in a dcast, which need the typeinfo nodes to be global.
Should fix crashes on importing bookmarks.

Credit to  Jonathan Marten for much of diagnosis and the testing.

BUG: 240874

svn path=/trunk/KDE/kdebase/apps/; revision=1143147
2010-06-26 17:36:14 +00:00
David Faure
f185c4bc30 Fix sorting of bookmarks, it wasn't sorting all of them due to MoveCommand doing create+delete, after which "nextSibling" would go nowhere.
FIXED-IN: 4.5
BUGS: 22205 209061

svn path=/trunk/KDE/kdebase/apps/; revision=1142428
2010-06-24 22:44:43 +00:00
Pino Toscano
8d881d3257 rename BookmarkView to KBookmarkView and export
svn path=/trunk/KDE/kdebase/apps/; revision=1120613
2010-04-29 13:20:32 +00:00
Pino Toscano
f8221354f7 extract the BookmarkView in an own file, part of the bookmark model system
svn path=/trunk/KDE/kdebase/apps/; revision=1120612
2010-04-29 13:16:51 +00:00
Pino Toscano
47ec488e85 use beginResetModel() + endResetModel() instead of reset()
svn path=/trunk/KDE/kdebase/apps/; revision=1120571
2010-04-29 10:18:44 +00:00
David Faure
ae44101a06 SVN_SILENT minor krazy fixes
svn path=/trunk/KDE/kdebase/apps/; revision=1118289
2010-04-24 09:56:54 +00:00
David Faure
f55ff68840 Move the bookmark model (+commands +commandhistory) into a lib of its own, for future sharing with other parts of kdebase
(e.g. bookmark toolbar and bookmark sidebar).
Not sure if it should end up in libkonq or libkio...
CCMAIL: hein@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=1118280
2010-04-24 09:06:17 +00:00