Commit graph

10 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
Montel Laurent d592f31cde normalize signals/slots 2011-07-31 13:33:56 +02: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 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
David Faure 4c3122d106 Fix the display of link and favicon status, by using KBookmark::metaDataItem/setMetaDataItem
rather than the ugly and wrong recursive descent that was done here [wrong because it was writing
into the freedesktop.org metadata rather than into the www.kde.org metadata]

svn path=/trunk/KDE/kdebase/apps/; revision=1112544
2010-04-08 12:50:34 +00:00
David Faure f8c493349d Pass the model to all commands, to remove more usage of the global-do-it-all singleton.
Move the handling of notifyManagers/bookmarksChanged from that singleton to the model.

svn path=/trunk/KDE/kdebase/apps/; revision=1112364
2010-04-07 23:04:18 +00:00
David Faure daedcbb6ac kill two singletons, and add unittest for creating folder, 2 items, and moving the items with dnd.
svn path=/trunk/KDE/kdebase/apps/; revision=1112106
2010-04-07 11:34:26 +00:00
David Faure 6d3c27970c Fix TODO in CommandHistory::addInFlightCommand by getting rid of it.
svn path=/trunk/KDE/kdebase/apps/; revision=1104139
2010-03-16 20:28:01 +00:00
David Faure 1fdfb80157 Rename class to match filename (CmdHistory -> CommandHistory)
svn path=/trunk/KDE/kdebase/apps/; revision=1104137
2010-03-16 20:25:26 +00:00
David Faure a459585415 rename file to match classname
svn path=/trunk/KDE/kdebase/apps/; revision=1104136
2010-03-16 20:23:47 +00:00
Renamed from keditbookmarks/bookmarkinfo.cpp (Browse further)