Commit graph

69 commits

Author SHA1 Message Date
Montel Laurent
d592f31cde normalize signals/slots 2011-07-31 13:33:56 +02:00
David Faure
3b5ccaacf5 Fix memory leak
svn path=/trunk/KDE/kdebase/apps/; revision=1119153
2010-04-26 17:29:02 +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
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
1cd5acff40 remove dep on globalbookmarkmanager.h; move m_model to holder
svn path=/trunk/KDE/kdebase/apps/; revision=1115823
2010-04-17 16:01:46 +00:00
David Faure
c2dee9346d Get rid of two more singletons (how many singletons can one have in a single program?)
svn path=/trunk/KDE/kdebase/apps/; revision=1115716
2010-04-17 08:10:35 +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
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
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
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
David Faure
3e041915bb Merged KIO::JobFlags branch
svn path=/trunk/KDE/kdebase/apps/; revision=721447
2007-10-05 09:14:03 +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
Thiago Macieira
5bf2075710 Call the front-end function, not the backend virtual doKill
svn path=/trunk/KDE/kdebase/apps/; revision=693038
2007-07-26 21:32:27 +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
Aaron J. Seigo
faa783ac9b adaptations to API changes
svn path=/trunk/KDE/kdebase/apps/; revision=644387
2007-03-19 21:14:06 +00:00
Laurent Montel
e209bac2d2 Compile++
svn path=/trunk/KDE/kdebase/apps/; revision=644292
2007-03-19 17:13:34 +00:00
Dirk Mueller
9f9563e3de dbus-ify++
svn path=/trunk/KDE/kdebase/apps/; revision=557447
2006-07-03 10:03:52 +00:00
Laurent Montel
a0b412c7fd #include <q...h> -> #include <Q...>
svn path=/trunk/KDE/kdebase/nsplugins/; revision=540496
2006-05-13 16:33:18 +00:00
Laurent Montel
49ebc2ce72 #include <q...h> -> #include <Q...>
svn path=/trunk/KDE/kdebase/nsplugins/; revision=539617
2006-05-11 08:04:23 +00:00
Kevin Ottens
7a1220e978 Finishing the port to KJob signals.
Fixing some warning() and infoMessage() connections.

CCMAIL: pascal.letourneau@kdemail.net


svn path=/trunk/KDE/kdebase/kfind/; revision=534064
2006-04-26 11:01:08 +00:00
Hamish Rodda
e7d5dfa47f Merging in from bleeding edge kdebase branch
- i18n ported
- KAccel removed
- Some fixes for OS X

svn path=/trunk/KDE/kdebase/kfind/; revision=528190
2006-04-10 11:57:13 +00:00
Tim Beaulen
0df2a19201 Less warnings about deprecated functions
Turn unused functions into comments


svn path=/trunk/KDE/kdebase/apps/; revision=526466
2006-04-04 18:43:14 +00:00
Laurent Montel
aed1a8b78d deprecated--
svn path=/trunk/KDE/kdebase/konqueror/; revision=506335
2006-02-06 15:07:10 +00:00
Laurent Montel
df86b65639 QString::null->QString()
svn path=/trunk/KDE/kdebase/kfind/; revision=493574
2006-01-02 17:28:18 +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
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
Laurent Montel
9eacb9ba12 Remove QT3_SUPPORT into qstring
svn path=/trunk/KDE/kdebase/konqueror/; revision=463530
2005-09-24 12:02:49 +00:00
Daniel Teske
aa3cb7cfe7 Forgot to remove these #includes
svn path=/trunk/KDE/kdebase/konqueror/keditbookmarks/; revision=462406
2005-09-20 23:47:35 +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
Stephan Kulow
e77f20dbaf svn merge svn+ssh://coolo@svn.kde.org/home/kde/trunk/KDE/kdebase@438057
svn+ssh://coolo@svn.kde.org/home/kde/branches/work/kde4/kdebase
          .

I couldn't resolve one kicker conflict that results from different
development directions, so I rely on Aaron to sort it out - the file
is commited with conflicts

svn path=/trunk/KDE/kdebase/konqueror/keditbookmarks/; revision=439627
2005-07-28 14:59:42 +00:00
Daniel Teske
28800c2a9f No cookies for "Check Status".
svn path=/trunk/KDE/kdebase/konqueror/keditbookmarks/; revision=431669
2005-07-04 22:50:02 +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
David Faure
41aff60420 Fix compiler warning, and fix wrong mode in emacs (this is C++, not perl)
svn path=/trunk/KDE/kdebase/konqueror/keditbookmarks/; revision=412727
2005-05-12 12:15:44 +00:00
Jakob Schröter
99b7981dc7 fix #84331 (don't crash when deleting while checking)
CCMAIL: 84331-done@bugs.kde.org

svn path=/trunk/kdebase/konqueror/keditbookmarks/; revision=353786
2004-10-11 21:09:49 +00:00
Toivo Pedaste
b683bdcf35 Fix logic for updating visit after check status
svn path=/trunk/kdebase/konqueror/keditbookmarks/; revision=329192
2004-07-14 15:20:39 +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
Toivo Pedaste
c6b3315937 Fix status display
svn path=/trunk/kdebase/konqueror/keditbookmarks/; revision=323347
2004-06-24 14:56:03 +00:00
Toivo Pedaste
c846382dbf Now that konqueror records visit times for bookmarks update the "check status"
logic to what I initially planned, flag as updated if modify time is greater than last
visited time.

svn path=/trunk/kdebase/konqueror/keditbookmarks/; revision=323132
2004-06-23 15:56:06 +00:00
Scott Wheeler
02c53043ad These are ambiguous overloads when Qt is compiled with STL support.
svn path=/trunk/kdebase/konqueror/; revision=311209
2004-05-13 22:16:15 +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
ccdd7c9a44 fix folder deletion:
selection cache was invalidated just after a listview
   recreate but accessed before this invalidation due to
   setCurrent resulting in a handleCurrentChanged call.
attempt to fix the vg warning in paintCell

svn path=/trunk/kdebase/konqueror/keditbookmarks/; revision=260288
2003-10-19 21:39:54 +00:00
Alexander Kellett
029169d604 fix status updates with "check all".
unfortunately this slightly removes most of the
performance gain from the previous optimisation.

svn path=/trunk/kdebase/konqueror/keditbookmarks/; revision=260196
2003-10-19 16:51:02 +00:00
Alexander Kellett
c4f707a751 minor shuffle for readability and note some stupid design mistakes...
svn path=/trunk/kdebase/konqueror/keditbookmarks/; revision=260166
2003-10-19 15:00:07 +00:00
Alexander Kellett
2512cea6f1 optimise for common case - no calcPaintStyle needed
various other inlining to improve code readability

svn path=/trunk/kdebase/konqueror/keditbookmarks/; revision=260165
2003-10-19 14:57:13 +00:00
Alexander Kellett
67fee1288a finally get all files into 4 space mode
svn path=/trunk/kdebase/konqueror/keditbookmarks/; revision=257987
2003-10-11 13:45:28 +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