Commit graph

337 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
Aurélien Gâteau
e4f2a5bf48 Fix double margins
svn path=/trunk/KDE/kdebase/apps/; revision=1209484
2010-12-26 22:55:45 +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
David Faure
054cbc204c Port favicon and testlink to having their own model pointer.
Try to repair these things (the status wasn't returned by the model), but doesn't seem to work yet.

svn path=/trunk/KDE/kdebase/apps/; revision=1112533
2010-04-08 12:16:33 +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
5b310cc483 remove dependency on KEBApp in commandhistory
svn path=/trunk/KDE/kdebase/apps/; revision=1104140
2010-03-16 20:33:07 +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
David Faure
310cc60143 Move CurrentMgr to its own header file and rename it to GlobalBookmarkManager for lack of a better idea.
svn path=/trunk/KDE/kdebase/apps/; revision=1101672
2010-03-10 14:37:11 +00:00
David Faure
d2d57ea0d7 fix memleak on close; save again on close so that the expanded/collapsed state is remembered.
CCBUG: 131127
(this is the actual fix for it, I closed it too early)

svn path=/trunk/KDE/kdebase/apps/; revision=1050729
2009-11-18 00:12:05 +00:00
David Faure
685f1f8926 Fix "bookmark editor: tree state (collapsed/expanded) is not remembered", regression from kde3.
It seems the same bug as in kde3 still exists though: if you just expand/collapse stuff and then quit,
no saving happens. You have to do a "real" change afterwards (rename something or so)...
BUG: 131127

svn path=/trunk/KDE/kdebase/apps/; revision=1050727
2009-11-17 23:55:40 +00:00
David Faure
76f5efc051 SVN_SILENT #include cleanups
svn path=/trunk/KDE/kdebase/apps/; revision=1050546
2009-11-17 15:46:55 +00:00
David Faure
67a7a048a5 Port from K3Command/K3CommandHistory to QUndoCommand/KUndoStack so that this doesn't need kde3support anymore.
Fixed for: 4.4.0
BUG: 201617

svn path=/trunk/KDE/kdebase/apps/; revision=1050540
2009-11-17 15:35:05 +00:00
Laurent Montel
b7a278c4bf Fix iterator
svn path=/trunk/KDE/kdebase/apps/; revision=883014
2008-11-11 21:46:50 +00:00
Sebastian Sauer
496ebd9ac8 stretch the full view
svn path=/trunk/KDE/kdebase/apps/; revision=874618
2008-10-21 22:59:51 +00:00
Laurent Montel
83d06225d9 Const'ify when possible
svn path=/trunk/KDE/kdebase/apps/; revision=862272
2008-09-18 11:24:47 +00:00
Daniel Teske
aef3a6ed8d Fixes: Delete did not work in the keditbookmarks sidebar.
svn path=/trunk/KDE/kdebase/apps/; revision=826967
2008-07-01 21:59:38 +00:00
Craig Drummond
c9bb263da7 Give dialogs a parent.
svn path=/trunk/KDE/kdebase/apps/; revision=817602
2008-06-06 11:50:55 +00:00
Urs Wolfer
b3771e04d1 Apply patch John Varouhakis. Patch looks clean an makes sense, even when I am not able to reproduce the bug.
BUG:158024

svn path=/trunk/KDE/kdebase/apps/; revision=777174
2008-02-19 21:57:03 +00:00
Daniel Teske
8da8da3319 Fixes that changing the bookmarks in konqueror (or any other application)
didn't automatically change them in an running keditbookmarks.
(Probably broke that one in the big commit a few days ago.)

Also fix expandAll which did collapseAll.


svn path=/trunk/KDE/kdebase/apps/; revision=753640
2007-12-28 01:04:09 +00:00
Daniel Teske
1d01adc76a If no bookmark is selected in the main list, use the selected bookmark folder from the
left pane. Without this, it wasn't actually possible to add something to an empty bookmarks file.
(With special casing for delete, which is only enabled if something is selected in the main pane.)


svn path=/trunk/KDE/kdebase/apps/; revision=753457
2007-12-27 14:26:50 +00:00
Daniel Teske
ae56f91381 Remove th splitter between the textboxes at the bottom and the listview.
fixes a small alyou problem and I think the splitter was really uncessary.


svn path=/trunk/KDE/kdebase/apps/; revision=753254
2007-12-27 01:43:18 +00:00
Tom Albers
671b224bd8 RELICENSE: GPL2->GPL2+/GPL23
svn path=/trunk/KDE/kdebase/apps/; revision=751022
2007-12-20 22:23:07 +00:00
Daniel Teske
153180367e Better. Make some things work.
Like drag and dropping bookmarks.
Filtering.
And various fixes all over the place.
Still not really where it should be for a release.

svn path=/trunk/KDE/kdebase/apps/; revision=748964
2007-12-16 01:47:07 +00:00
Allen Winter
d56636cdd7 compile++
svn path=/trunk/KDE/kdebase/apps/; revision=748776
2007-12-15 13:33:03 +00:00
Dirk Mueller
aa46ee3537 dropping code that can not be relicensed and is obsolete anyway
svn path=/trunk/KDE/kdebase/apps/; revision=748764
2007-12-15 12:29:41 +00:00
David Faure
668064989e Use non-deprecated signal
svn path=/trunk/KDE/kdebase/apps/; revision=733282
2007-11-06 01:23:42 +00:00
Daniel Teske
e84f28dc47 Small changes to make it compileSmall changes to make it compile.
svn path=/trunk/KDE/kdebase/apps/; revision=707874
2007-09-03 07:53:52 +00:00
Robert Knight
5c7ab6fbd1 Fix crashes when opening and importing bookmarks. Makes importing bookmarks from KDE 3's Konqueror possible. Also re-arrange the import list so the KDE 3 import action is at the top with a KDE icon. Force an update of the model after importing bookmarks. This has the unwanted side-effect of collapsing the tree-view to the root item, but at least it works.
svn path=/trunk/KDE/kdebase/apps/; revision=707658
2007-09-02 15:44:11 +00:00
Laurent Montel
264d696087 Adapt to new KWarning/kFatal/kDebug api
svn path=/trunk/KDE/kdebase/apps/; revision=695870
2007-08-03 06:40:12 +00:00
David Faure
2f4b59b571 Added bookmarkForIndex to simplify code
svn path=/trunk/KDE/kdebase/apps/; revision=684236
2007-07-06 11:47:30 +00:00
David Faure
bc7022fb89 d pointer; rename class
svn path=/trunk/KDE/kdebase/apps/; revision=684228
2007-07-06 11:26:50 +00:00
David Faure
c0eea02a2e A number of preparations for making BookmarkModel more standalone in order to move it to kdelibs/kfile
(needed by kevin's places model)

svn path=/trunk/KDE/kdebase/apps/; revision=684206
2007-07-06 10:56:44 +00:00
David Faure
63da248b5a We really don't need to import kde1 bookmarks anymore :)
This removes a nasty bool argument in managerForFile().

svn path=/trunk/KDE/kdebase/apps/; revision=680309
2007-06-25 21:37:51 +00:00
Robert Knight
8a3b776236 Various EBN fixes.
svn path=/trunk/KDE/kdebase/apps/; revision=668337
2007-05-26 01:57:37 +00:00
Stephen Leaf
1fef095675 EBN Fixes
svn path=/trunk/KDE/kdebase/apps/; revision=665379
2007-05-16 18:52:56 +00:00
Dirk Mueller
52d6d2f9ce include cleanup
svn path=/trunk/KDE/kdebase/apps/; revision=663054
2007-05-09 22:23:52 +00:00
Simon Hausmann
fd2bae03c9 Merging branches/work/kmainwindow-decoupling-branch from Kevin and me which
separates the xmlgui stuff from KMainWindow

svn path=/trunk/KDE/kdebase/apps/; revision=654728
2007-04-16 20:44:36 +00:00
Urs Wolfer
e596b941e9 * fix layout problem
* use KLineEdit::setClearButtonShown(true) instad of the old clear button

svn path=/trunk/KDE/kdebase/apps/; revision=654369
2007-04-15 22:37:01 +00:00
Dirk Mueller
0b5a5f290c include cleanup
svn path=/trunk/KDE/kdebase/konqueror/; revision=652987
2007-04-12 13:02:58 +00:00
David Jarvie
15e500cf08 Add fancy date option to KLocale::formatDate(), KLocale::formatDateTime()
svn path=/trunk/KDE/kdebase/apps/; revision=652027
2007-04-09 22:28:48 +00:00
David Faure
6d787d427f KCommand -> K3Command etc.
svn path=/trunk/KDE/kdebase/apps/; revision=649413
2007-04-02 16:12:14 +00:00
Aaron J. Seigo
faa5ae9120 KEditTool*B*ar
svn path=/trunk/KDE/kdebase/konqueror/; revision=649136
2007-04-02 06:19:07 +00:00
Stephan Kulow
64dda4865c merged kconfiggroup_port branch
svn path=/trunk/KDE/kdebase/konqueror/; revision=635490
2007-02-20 07:00:30 +00:00
Matthias Kretz
979dfb806a merge the kinstance-redesign branch back to trunk.
svn path=/trunk/KDE/kdebase/konqueror/; revision=628276
2007-01-29 17:14:20 +00:00
Laurent Montel
1cfd148d96 Port to D-Bus
svn path=/trunk/KDE/kdebase/apps/; revision=624152
2007-01-16 15:10:06 +00:00
Aaron J. Seigo
058e124aef it builds! ship it!
svn path=/trunk/KDE/kdebase/apps/; revision=614777
2006-12-18 22:24:28 +00:00
Laurent Montel
1b437ddc60 Warning--
svn path=/trunk/KDE/kdebase/apps/; revision=602810
2006-11-06 21:11:32 +00:00