Commit graph

138 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
David Faure
7f5e80a8d3 Unbreak favicon checking; in many error cases it wouldn't proceed to the next item.
Also when the cached favicon was recent enough, then the kded module wouldn't emit anything;
fixed by adding a "forceDownloadHostIcon" and an error signal in the favicons kded module.
CCBUG: 23102
 (and probably others)

svn path=/trunk/KDE/kdebase/apps/; revision=1116050
2010-04-18 14:24:11 +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
34994cb177 actually make it a slot
svn path=/trunk/KDE/kdebase/apps/; revision=1104144
2010-03-16 20:56:59 +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
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
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
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
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
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
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
3647d62f2f Remove not necessary "class classname;"
svn path=/trunk/KDE/kdebase/apps/; revision=671233
2007-06-04 08:24:29 +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
David Faure
6d787d427f KCommand -> K3Command etc.
svn path=/trunk/KDE/kdebase/apps/; revision=649413
2007-04-02 16:12:14 +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
Daniel Teske
c371faca0b KBookmarkManager::managerForFile and KBookmarkOwner::openBookmark changes.
svn path=/trunk/KDE/kdebase/apps/; revision=596012
2006-10-16 13:43:54 +00:00
Daniel Teske
9682d09ff4 Port to kio/bookmark changes.
svn path=/trunk/KDE/kdebase/apps/; revision=593982
2006-10-09 18:25:51 +00:00
Laurent Montel
83b60776c5 Use QT macro for signal/slots
svn path=/trunk/KDE/kdebase/nsplugins/; revision=500480
2006-01-20 11:09:06 +00:00
Laurent Montel
df86b65639 QString::null->QString()
svn path=/trunk/KDE/kdebase/kfind/; revision=493574
2006-01-02 17:28:18 +00:00
André Wöbbeking
73be974b33 include cleanup
svn path=/trunk/KDE/kdebase/apps/; revision=484132
2005-11-29 13:56:41 +00:00
André Wöbbeking
f8525de1bc -pedantic
svn path=/trunk/KDE/kdebase/apps/; revision=475419
2005-10-29 08:13: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
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
36476349bf Should compile now.
svn path=/trunk/KDE/kdebase/konqueror/keditbookmarks/; revision=467290
2005-10-04 20:42:32 +00:00
Daniel Teske
40c354dcc3 Remove Q3PtrList from BookmarkIterator and derived classes.
Replave QVector<KBookmark> by QList<KBookmark> (== KBookmark::List).


svn path=/trunk/KDE/kdebase/konqueror/keditbookmarks/; revision=464923
2005-09-28 16:16:52 +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
bee212e17a readd searchline
- still missing "AND"-feature
 - is based on a complete port of KListViewSearchline to qt4
   - there will be a filter proxy model in  qt 4.1 which should be the basis 
     for a better port. (In fact the demo app the troll showed me, was a 
     searchline.)

reenable bookmarkinfowidget (bottom text fields)



svn path=/trunk/KDE/kdebase/konqueror/keditbookmarks/; revision=459815
2005-09-11 22:50:56 +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
Daniel Teske
7b0f8b8447 Remove a unused function.
svn path=/trunk/KDE/kdebase/konqueror/keditbookmarks/; revision=433839
2005-07-11 23:49:52 +00:00
Daniel Teske
13d8bb20a3 Rewrite selection cache.
In a (unscientific) test of ~6000 bookmarks.
Select All now is instant down from ~15 sec.


svn path=/trunk/KDE/kdebase/konqueror/keditbookmarks/; revision=432033
2005-07-05 22:31:08 +00:00
Daniel Teske
2d19df0f88 Remove splitView. (Was disabled and experimental.)
svn path=/trunk/KDE/kdebase/konqueror/keditbookmarks/; revision=432029
2005-07-05 22:01:57 +00:00
Dirk Mueller
b3736b51bc update FSF address
svn path=/trunk/KDE/kdebase/konqueror/keditbookmarks/; revision=431577
2005-07-04 19:02:09 +00:00
Daniel Teske
39f80ec7df Make the formating of QDateTime consistent.
It now uses a locale aware function everywhere.


svn path=/trunk/KDE/kdebase/konqueror/keditbookmarks/; revision=426543
2005-06-17 16:26:03 +00:00
Daniel Teske
1d51ccad92 Fix merge-while-modified by removing it.
(It used a broken design.)
Instead immediately forward changes in keditbookmarks
to all other kbookmarkmanagers.

BUG: 77355


svn path=/trunk/KDE/kdebase/konqueror/keditbookmarks/; revision=425768
2005-06-15 14:41:18 +00:00
Toivo Pedaste
843346f4ca Update status info when bookmark accessed
svn path=/trunk/kdebase/konqueror/keditbookmarks/; revision=324900
2004-06-30 13:29:57 +00:00
Stephan Binner
c25d9827f6 Switched search to KListViewSearchLine
svn path=/trunk/kdebase/konqueror/keditbookmarks/; revision=320965
2004-06-15 18:22:21 +00:00
Benjamin Meyer
b6401f72de Remove custom key configure dialog
svn path=/trunk/kdebase/konqueror/keditbookmarks/; revision=313689
2004-05-23 02:09:50 +00:00
Stephan Binner
f223f23129 Better placement of AdvancedAddBookmark and FilteredBookmarkToolbar options
svn path=/trunk/kdebase/konqueror/keditbookmarks/; revision=300039
2004-03-31 08:49:19 +00:00
Alexander Kellett
6bf8aa8bab finish off bookmarkinfo functionality, adds one string
commented out various pieces of pointless debug info
use new dcop signal in kbookmarkmanager to signal bookmark config changes
added setNodeText minor refactor of NodeEditCommand::execute
use listview->setSelected(item, bool) rather than item->setSelected(bool)
various minor logic cleanups to help listview bug fixing
fix possible crash in updateListViewItem
various fixes to current item / selected item updates after bookmark deletion
update listview items based on changes in bookmarkinfo dialog
illustrate more clearly when a bookmark is in the selection:
   a lighter highlight is used than the actual qt selection highlighting
don't select the first listview item when someone clicks in the search linedit
don't notify all konquerors using deprecated notifyCompleteChange when saving:
   reuse waldo's dcop signal emitter - emitChanged()

strings added:
   "Times Visited"
   "Click here and type to search..."
      (was "Type here to search...", which looks very stupid)
sorry translators!!!! (for backgrounder, i am without internet so couldn't commit :()

svn path=/trunk/kdebase/konqueror/keditbookmarks/; revision=264167
2003-11-03 10:33:23 +00:00
Alexander Kellett
7f65c026be sick of having two different coding styles between kio/bookmarks and here,
so, add 4 space modelines to all files. i'll gradually fix the files over
the coming days.

svn path=/trunk/kdebase/konqueror/keditbookmarks/; revision=256804
2003-10-06 18:31:25 +00:00
Alexander Kellett
86dd3a7c10 add various new command line export options to speed up my debugging:
exporthtml
   exportie
   æxportopera

svn path=/trunk/kdebase/konqueror/keditbookmarks/; revision=253911
2003-09-25 17:25:53 +00:00
Alexander Kellett
5182b8d83c properly seperate bookmarkinfo.cpp out (was included in a .cpp)
svn path=/trunk/kdebase/konqueror/keditbookmarks/; revision=253355
2003-09-23 15:07:14 +00:00
Alexander Kellett
b92814fe44 move the rest of the slot.* methods into actionsimpl
svn path=/trunk/kdebase/konqueror/keditbookmarks/; revision=251082
2003-09-14 20:17:45 +00:00
Alexander Kellett
285f1c2661 make zack a tad happier
show/hide functionality for toolbar items

svn path=/trunk/kdebase/konqueror/keditbookmarks/; revision=244912
2003-08-25 22:34:21 +00:00