1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-14 11:02:19 +01:00
Commit Graph

43 Commits

Author SHA1 Message Date
David Rosca
5fb492d033 Load icons asynchronously in History and Bookmarks models
See #1679
2016-12-11 10:24:10 +01:00
David Rosca
42ebb227c6 BookmarksModel: Use internalPointer when passing mimedata
internalPointer() is the same as internalId(), which means
that it actually is not safe to use them.
But for now, this at least fixes crashes on FreeBSD and works
quite well in most cases.

Closes #1565
2014-12-31 10:19:14 +01:00
David Rosca
dc5dafbe9a Fix build with Qt 4 2014-12-30 14:43:37 +01:00
David Rosca
952196b2e9 BookmarksModel: Correctly store QModelIndex::internalId in data stream
See #1565
2014-12-30 14:25:02 +01:00
nowrep
23b55d9158 [BookmarksImport] Show full structure of imported bookmarks
BookmarksModel can now be used with arbitrary root item independently
of main bookmarks root item.
2014-02-14 21:13:08 +01:00
nowrep
d422ce3767 [Models] Decrease the delay for filtering to 300ms 2014-02-14 20:28:25 +01:00
nowrep
f9d3c102ec [Cleanup] QTimer::start() restarts timer if it is already running 2014-02-14 19:31:35 +01:00
nowrep
ad615316c8 [Bookmarks] Cache bookmark's icon for 20 seconds
BookmarksToolbarButton: Draw button according to BookmarkItem, not
text and icon properties
2014-02-10 16:03:29 +01:00
nowrep
549e20a31d [Bookmarks] Implement searching in BookmarksTreeView 2014-02-09 15:44:38 +01:00
nowrep
395b865d55 [Bookmarks] Various smaller changes
BookmarksTreeView: Select & ensure visibility of newly added bookmark
BookmarksTools: Added function to open folder in tabs
LocationCompleterModel: Removed bookmarks bits in createQuery
QupZilla: loadAddress now opens new tab if current tab is pinned
2014-02-09 15:09:04 +01:00
nowrep
83b8b0b666 [Bookmarks] LocationCompleter now works
BookmarkItem: Added counting of bookmark's visits
2014-02-09 13:34:52 +01:00
nowrep
511a6e1cd7 [Bookmarks] BookmarksSidebar is now working 2014-02-09 11:02:51 +01:00
nowrep
9348f1d4fc [Bookmarks] BookmarksManager now supports adding & removing bookmarks 2014-02-08 20:01:07 +01:00
nowrep
92aedc3e0f [Bookmarks] BookmarkItem: Added convenience functions isType 2014-02-08 18:28:01 +01:00
nowrep
8c3623e633 [Bookmarks] BookmarksManager now uses new BookmarksTreeView 2014-02-08 18:14:38 +01:00
nowrep
9271b70802 [Bookmarks] Added BookmarksModel 2014-02-07 22:48:30 +01:00
nowrep
fe9ecbbbaa [Code] Renamed BookmarksModel class to Bookmarks
It actually is not model. BookmarksModel name will be needed for future
Bookmarks DataModel class.
2014-02-05 15:26:51 +01:00
nowrep
aa6aea1399 [coverity] Followup fixes
webview.cpp: Fixed pointer to local outside scope
bookmarksmodel.cpp: Unchecked return value
2014-02-03 00:29:51 +01:00
nowrep
260447e414 [coverity] Fixes for issues found by scan.coverity.com 2014-02-01 19:21:49 +01:00
Jonathan Hooverman
d917f43cf0 Updated copyright year to 2014 2014-01-11 16:11:42 +01:00
nowrep
b1da23ca72 [Bookmarks] Added option to export bookmarks to HTML file. 2013-12-30 00:35:01 +01:00
nowrep
586982e473 [Bookmarks] Fixed drag&drop moving folders into bookmarks toolbar
Closes #1097
2013-12-05 21:15:20 +01:00
S. Razi Alavizadeh
ffdbb49444 Fixed executing order of queries by dbWriter()
-also added index tables bookmarksTitle and bookmarksUrl to
   default database.
-and removed a double check from saveBookmark()
2013-04-17 01:40:05 +04:30
nowrep
5f5cf7417d [Code] Updated coding style with patched Astyle + normalized signals.
Code was formatted with patched astyle that correctly formats
foreach macro.
Normalize tool is now used to normalize all signal/slots signatures
to normalized format. It saves few reallocations on connections.
2013-03-06 09:08:29 +01:00
nowrep
d885444501 [Code] Use QVector instead of QList for elements bigger than pointer. 2013-02-26 12:56:11 +01:00
nowrep
0a9f2ec4d6 Coding style. 2013-02-08 12:10:12 +01:00
S. Razi Alavizadeh
05b5ebd1ef Bookmarks: when deleting lastFolder set it to default. 2013-01-10 20:35:02 +03:30
S. Razi Alavizadeh
cc870ec451 Bookmarks: Don't allow creating folder with translated name of "bookmarksToolbar", "bookmarksMenu" or "unsorted"! 2013-01-10 01:21:34 +03:30
nowrep
7189ff58b4 LocationCompleter: Improved sorting bookmarks by visit count.
- it sorts by visit counts of bookmark's url from history
- count column in bookmarks is not needed after all :-)

Patch by Franz Fellner <alpine.art.de@gmail.com>
2012-09-08 22:52:32 +02:00
nowrep
5a3f4e5f4d Fixed crash when dragging bookmark from manager to sidebar 2012-09-06 11:28:43 +02:00
S. Razi Alavizadeh
d9ae633d1a Added Drag-n-Drop functionality to bookmarkmanager and bookmarksidebar. 2012-09-06 02:22:40 +04:30
nowrep
528f398cbe Using QLatin1String and QLatin1Char now everywhere
- it saves few unnecessary allocations
2012-09-04 12:42:45 +02:00
nowrep
ec70c7d43d LocationCompleter: Bookmarks results are now ordered by count 2012-09-02 15:19:12 +02:00
nowrep
5ca2e2d75f Using prepare SQL statements everywhere it is needed. 2012-08-23 15:37:43 +02:00
nowrep
26e814933c Fixed issue with creating internal bookmark folders.
closes #408
2012-06-06 10:16:11 +02:00
nowrep
cf5d399f00 Added possibility to change icon of bookmarks
- created new IconChooser class with option to choose
  icon from file or icon from database

Closes #401
2012-05-22 11:46:22 +02:00
nowrep
2055621f2a Show star icon in completer when item is from bookmarks.
- IconProvider has no longer static members
- new macro qIconProvider for accessing IconProvider instance
2012-04-22 20:51:28 +02:00
nowrep
e5ce2f5e3d Added animated tab previews (by Alexander Samilovskih)
- thanks a lot for his work!
- option to disable animations in preferences -> tabs
2012-04-08 21:45:40 +02:00
nowrep
b1d0cd9228 Improved performance of bookmarks import and bookmarks deleting.
- moved general defines into qz_namespace.h file
- fixed showing default theme to be "default" on mac in
  theme manager instead of "mac" theme
2012-04-05 10:27:35 +02:00
nowrep
f590ad1925 Removed use of whatsThis() and other code cleanups 2012-03-13 17:51:06 +01:00
nowrep
eb7de9a104 Various enhancements in Bookmark Importing.
- when importing from Html file, also bookmark folders are imported
- bookmark tree now shows folder structure
- fixed importing from UTF8 files
- loading icons in own thread = dialog won't freeze anymore
2012-03-06 15:28:52 +01:00
nowrep
a0b9c0fc69 Fixed building on Windows + whole compilation is now faster. 2012-02-29 18:33:50 +01:00
nowrep
9c789792f4 Rearranged directory structure. All sources are under src/ dir now.
- updated Italian homepage translation
2012-02-23 19:18:08 +01:00