Commit graph

33 commits

Author SHA1 Message Date
David Faure e170e4a23e KEBDrag renamed to KBookmarkDrag and moved to libkonq, for Carsten
(and for a future bookmark module, if any...)

svn path=/trunk/kdebase/konqueror/keditbookmarks/; revision=73802
2000-12-07 17:15:03 +00:00
nobody 460283ac70 This commit was manufactured by cvs2svn to accommodate
a server-side copy/move.

svn path=/trunk/kdebase/konqueror/keditbookmarks/; revision=73615
2000-12-06 12:07:31 +00:00
David Faure 68a05e329c Fully documented, per coolo's wish.
I'll move it to kdeui now.

svn path=/trunk/kdebase/konqueror/keditbookmarks/; revision=73613
2000-12-06 12:01:48 +00:00
David Faure 820347a288 Deleting is now "Del" and closing the window is now "Quit/Ctrl+Q" per the
styleguide. Thanks to Thomas Zander for reporting this.

BTW, is this from the cursor autohide feature ?
Grabbing the mouse failed with "GrabNotViewable"

svn path=/trunk/kdebase/konqueror/keditbookmarks/; revision=73596
2000-12-06 10:16:06 +00:00
David Faure f81a4f4f25 Fixed "set as toolbar" and "change icon" - the attributes got renamed
when switching to XBEL.

svn path=/trunk/kdebase/konqueror/keditbookmarks/; revision=73401
2000-12-04 18:19:07 +00:00
David Faure baff2416e6 Fixed changing a URL - got broken during the switch to XBEL
svn path=/trunk/kdebase/konqueror/keditbookmarks/; revision=73230
2000-12-03 17:04:21 +00:00
David Faure c34cca9443 setPixmap on the drag object - jpmartin entry number 6 :)
svn path=/trunk/kdebase/konqueror/keditbookmarks/; revision=73161
2000-12-02 21:49:01 +00:00
David Faure 8e22035e40 Fixes for the XBEL bookmark format
svn path=/trunk/kdebase/konqueror/keditbookmarks/; revision=72755
2000-11-29 16:24:22 +00:00
David Faure 35199fbde4 Oh, just found why QDomDocument::toString didn't compile... I had an old
qdom.h in $KDEDIR/include. Ooops. So now I can use toString in kdDebug calls.

svn path=/trunk/kdebase/konqueror/keditbookmarks/; revision=72403
2000-11-26 21:32:45 +00:00
David Faure e43e5d1880 including kpopupmenu instead of qpopupmenu to make it compile now...
svn path=/trunk/kdebase/konqueror/keditbookmarks/; revision=72223
2000-11-25 23:41:10 +00:00
David Faure d6e691238e Added undo/redo in the popup, for consistency with konq (idea from jpmartin)
svn path=/trunk/kdebase/konqueror/keditbookmarks/; revision=72201
2000-11-25 21:52:33 +00:00
David Faure 5b7399229f Optional popup menu under the toolbar buttons with the command history
for undo and redo - the whole reason for KToolBarPopupAction :)

Does anyone have any objection to those two files being moved to kdelibs ?
At least two apps, was the rule :) graphite and keditbookmarks are just a
beginning :-)

There's a strange space on the left of each menu item though (like the room
for a pixmap, but there is none...). Anyone ?

svn path=/trunk/kdebase/konqueror/keditbookmarks/; revision=72185
2000-11-25 20:08:49 +00:00
David Faure 92d97a6607 GCommand->KCommand. It's not that I'm allergic to Gs, it's that I hope
KCommand will go into kdelibs :)

svn path=/trunk/kdebase/konqueror/keditbookmarks/; revision=72120
2000-11-25 14:52:59 +00:00
David Faure 8843390f49 Better msg on quitting (from jpmartin)
svn path=/trunk/kdebase/konqueror/keditbookmarks/; revision=72024
2000-11-24 19:34:23 +00:00
David Faure 2869c86e1b - Support for CTRL+Drag
- Split slotSelectionChanged and slotClipboardDataChanged to improve performance.

svn path=/trunk/kdebase/konqueror/keditbookmarks/; revision=71780
2000-11-22 19:28:23 +00:00
David Faure 2d61c2b96a DnD support, both ways (konq->keditbk and keditbk->konq). Pretty cool, IMHO :)
svn path=/trunk/kdebase/konqueror/keditbookmarks/; revision=71758
2000-11-22 16:31:09 +00:00
David Faure 0d5b884006 ifndef/define for enablefinal
svn path=/trunk/kdebase/konqueror/keditbookmarks/; revision=71741
2000-11-22 14:13:07 +00:00
David Faure 998c5da46d Implemented Cut/Copy/Paste. DnD: not yet
svn path=/trunk/kdebase/konqueror/keditbookmarks/; revision=71689
2000-11-22 01:46:49 +00:00
David Faure bef8874120 docu fixes
svn path=/trunk/kdebase/konqueror/keditbookmarks/; revision=71625
2000-11-21 13:56:48 +00:00
David Faure 34f7aa38ab Implemented sorting, as a macro command (for undo support) that records
the movements from the insertion sort algorithm.
George, the book I bought in Toronto turns out to be useful :)

Currently sorting by name, ascending, case insensitive, and mixes bookmarks
and folders. Will make that configurable :)

svn path=/trunk/kdebase/konqueror/keditbookmarks/; revision=71288
2000-11-18 17:21:11 +00:00
David Faure d1c5fcf5d5 setAutoSaveSettings, to fix bug #15582
svn path=/trunk/kdebase/konqueror/keditbookmarks/; revision=71253
2000-11-18 13:33:15 +00:00
David Faure f0221a25a9 * "Change Icon" action, for Carsten :)
* Implemented undoing of "delete folder" (works recursively too) - the command
    pattern rocks !
* Export to NS/Moz (yes, it makes a backup of the existing file)
* Import NS bookmarks disables automatically the setting "showNS"

Oh I forgot to mention the export to NS is borrowed from kfile's code -
thanks to Martin Jones for the initial implementation :)

svn path=/trunk/kdebase/konqueror/keditbookmarks/; revision=71220
2000-11-18 01:04:45 +00:00
David Faure ba5e3ba26b Don't crash if moving a dir into its own children, and don't record
an operation to undo if moving something to where it already is.

svn path=/trunk/kdebase/konqueror/keditbookmarks/; revision=70813
2000-11-14 12:59:21 +00:00
David Faure 707cb3fccb setExpandable() on the root item ; didn't know it was necessary, since
it has children.

svn path=/trunk/kdebase/konqueror/keditbookmarks/; revision=70725
2000-11-13 13:52:26 +00:00
David Faure 6d15f72cad Fixes for bookmark moving stuff. It's now possible to do everything,
but it's not right. I'll go back to fixing KListView...

svn path=/trunk/kdebase/konqueror/keditbookmarks/; revision=70700
2000-11-13 01:58:00 +00:00
David Faure 0fe316f1c1 More undo support: for attribute changes, for renaming, for setting as
bookmark folder. The latter needed KMacroCommand in gcommand.*.
Big simplification of the way commands are executed and update the GUI.
Also used the nifty icon for the bookmark folder.

svn path=/trunk/kdebase/konqueror/keditbookmarks/; revision=70081
2000-11-06 00:34:03 +00:00
David Faure 54caa007a7 Oh, while you're at it, import your Mozilla bookmarks too :-)
(based on info given in #14398)

svn path=/trunk/kdebase/konqueror/keditbookmarks/; revision=70060
2000-11-05 20:58:15 +00:00
David Faure 37fcfe64f6 You can now _import_ Netscape bookmarks into konqueror bookmarks.
And the Settings menu has an item for hiding the dynamically generated
bookmarks from konqueror windows.

svn path=/trunk/kdebase/konqueror/keditbookmarks/; revision=70052
2000-11-05 20:12:58 +00:00
David Faure a9996bb187 Avoid crashes when right-clicking a free area, and then clicking an action
(thanks to Reggie for the tip).

svn path=/trunk/kdebase/konqueror/keditbookmarks/; revision=69842
2000-11-03 20:40:59 +00:00
David Faure 2868e90b2f Two people for reporting that keditbookmarks doesn't compile with
--enable-final, and not one to know how to fix it ?? Adding the missing
#ifndef/#define is quite trivial.

svn path=/trunk/kdebase/konqueror/keditbookmarks/; revision=69567
2000-11-01 05:42:30 +00:00
David Faure 278f7ac0d5 Rewrote most of the bookmarks editor :)
In order to support the Undo/Redo feature, I borrowed the gcommand files
from graphite (but I #define GCommand KCommand because K looks much better
than G :-)      I think KCommand and KCommandHistory should be in kdelibs.

All operations now support undo (except renaming and setastoolbar, no time tonight)
Supporting undo for moving stuff around (which makes addresses change)
is a real PITA, but it seems to work ok now.
As a side effect, it now remembers whether folders where opened or closed.
Inserting stuff now works like in NS: first child if folder, next sibling
otherwise. Interestingly, the code is much cleaner now :)

svn path=/trunk/kdebase/konqueror/keditbookmarks/; revision=69019
2000-10-27 00:52:28 +00:00
David Faure 72c4753ea5 Already got my first bug report about keditbookmarks :-}
Fixed enabling/disabling of "insert separator".

svn path=/trunk/kdebase/konqueror/keditbookmarks/; revision=68932
2000-10-26 12:15:14 +00:00
David Faure 2b2ac55a54 Here it comes. KEditBookmarks. Have fun.
svn path=/trunk/kdebase/konqueror/keditbookmarks/; revision=68912
2000-10-26 03:52:56 +00:00