Commit graph

35 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
Kevin Ottens c5be31294c ++build
svn path=/trunk/KDE/kdebase/apps/; revision=1159899
2010-08-06 13:17:57 +00:00
Pino Toscano 269f1b2990 get rid of BookmarkView and make use of KBookmarkView
svn path=/trunk/KDE/kdebase/apps/; revision=1120616
2010-04-29 13:21:31 +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 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 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 2dbc985445 Use the API I requested for Qt-4.6: set the default drop action to "move", one has to hold Ctrl for copying.
Fixed for: 4.4.0
BUG: 153172

svn path=/trunk/KDE/kdebase/apps/; revision=1050461
2009-11-17 10:55:39 +00:00
Simon Paul St James 065c956b2d Check for invalid index in bookmarkForIndex(...) (prevents another crash).
Prevent non-folder items being drop targets (courtesy of dfaure).
Deal better with inserting before/ after items in both folder and normal views.

CCBUG:160679

svn path=/trunk/KDE/kdebase/apps/; revision=1030302
2009-10-02 07:02:26 +00:00
Bill Egert 3546b3a71d SVN_SILENT:
- Fix some compiler warnings.

svn path=/trunk/KDE/kdebase/apps/; revision=767424
2008-01-28 02:01:52 +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
Dirk Mueller 40210ad407 RELICENSE: GPLv2->GPLv23
svn path=/trunk/KDE/kdebase/apps/; revision=749122
2007-12-16 15:37:21 +00:00
Daniel Teske 794114ca4a Hide header in the folder view, looks better.
svn path=/trunk/KDE/kdebase/apps/; revision=748965
2007-12-16 01:49:18 +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
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
Daniel Teske 301d423442 Avoid infinite loop.
svn path=/trunk/KDE/kdebase/apps/; revision=693526
2007-07-28 09:10:08 +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
Laurent Montel 18447efc01 Compile++
svn path=/trunk/KDE/kdebase/apps/; revision=668958
2007-05-28 08:07:02 +00:00
Robert Knight 8a3b776236 Various EBN fixes.
svn path=/trunk/KDE/kdebase/apps/; revision=668337
2007-05-26 01:57:37 +00:00
Dirk Mueller 52d6d2f9ce include cleanup
svn path=/trunk/KDE/kdebase/apps/; revision=663054
2007-05-09 22:23:52 +00:00
Laurent Montel 642976a57b Not necessary to redefine function
svn path=/trunk/KDE/kdebase/apps/; revision=615111
2006-12-20 10:51:48 +00:00
Thorsten Roeder 11a24af95a some EBN fixes
svn path=/trunk/KDE/kdebase/apps/; revision=556842
2006-07-01 16:13:49 +00:00
Jaison Lee ac792d6585 EBN spelling corrections.
svn path=/trunk/KDE/kdebase/apps/; revision=552770
2006-06-19 01:43:22 +00:00
Stephan Kulow 19d5dcf7e6 replaced deprecated functions
svn path=/trunk/KDE/kdebase/konqueror/; revision=535878
2006-04-30 17:09:09 +00:00
Tim Beaulen 100e1f909e Less warnings about unused parameters
svn path=/trunk/KDE/kdebase/apps/; revision=526485
2006-04-04 19:14:22 +00:00
Laurent Montel aed1a8b78d deprecated--
svn path=/trunk/KDE/kdebase/konqueror/; revision=506335
2006-02-06 15:07:10 +00:00
Daniel Teske 536be0fe52 This optimization was buggy. Take it out for now.
svn path=/trunk/KDE/kdebase/apps/; revision=474275
2005-10-25 21:58:17 +00:00
Daniel Teske 8d94237bc6 Replace even more of the old drag and drop code.
Edit/Copy, Edit/Cut and Edit/Paste are now working.


svn path=/trunk/KDE/kdebase/konqueror/keditbookmarks/; revision=470333
2005-10-13 19:26:56 +00:00
Daniel Teske 35e4caa61b Some porting to the new drag and drop api.
svn path=/trunk/KDE/kdebase/konqueror/keditbookmarks/; revision=467892
2005-10-06 18:33:17 +00:00
Dirk Mueller 40b74b7fc1 SVN_SILENT: fix typo
svn path=/trunk/KDE/kdebase/nsplugins/; revision=467416
2005-10-05 08:44:32 +00:00
Daniel Teske 87b597e3aa Two major features:
Two views. That is folder view on the left.
 (Actually at the moment all bookmarks are shown in the folder view,
 I'm waiting for qt 4.1 to filter the view.)

Drag and drop support is back to reorder bookmarks is back.
 (Only in app, not between apps.)
 Drag and drop to the folder view works.

The current code for drag and drop isn't perfect.



svn path=/trunk/KDE/kdebase/konqueror/keditbookmarks/; revision=462402
2005-09-20 23:30:16 +00:00
Daniel Teske 9b21cd5f08 Push these changes into svn:
- Add a missing copyright notice to bookmarkmodel.cpp
 - make F3 and F4 work (changing url/comment)
   (double clicking doesn't work, still looking into that)

Next on my list is the searchline.


svn path=/trunk/KDE/kdebase/konqueror/keditbookmarks/; revision=451867
2005-08-22 01:10:43 +00:00
Daniel Teske fddf326d4e Port keditbookmarks to Qt4's model/view framework.
Editing, creating and selecting bookmarks works.
For deleting you have to run apply-patches in your qt-copy directory.
All other things are broken. (E.g. drag'n'drop, the edit fields at the bottom, the searchline...)

I wrote down some of my learned lessons while working with Qt4's model/view framework
at http://www.squorn.de/kde/qtmodelview.html


svn path=/trunk/KDE/kdebase/konqueror/keditbookmarks/; revision=448977
2005-08-13 20:13:21 +00:00