1
0
mirror of https://invent.kde.org/network/krdc synced 2024-07-08 20:05:56 +00:00
Commit Graph

38 Commits

Author SHA1 Message Date
Nicolas Fella
34c1e56e12 Add and make use of ECM clang-format integration
Format the code according to KDE coding style and add
a commit hook to ensure it stays that way.

This is common practice among other KDE projects
2024-01-28 16:16:28 +01:00
Sune Vuorela
85b40ba519 Remove setUpdate KBookmarkManager call
It is related to receiving updates from dbus; but that's removed.

Also, it defaults to true
2024-01-03 15:24:06 +01:00
Nicolas Fella
fae88d3e25 Adapt to KBookmarkManager API change 2023-10-20 16:25:13 +02:00
Nicolas Fella
befd970828 Adapt to kbookmarks API change 2023-08-14 23:24:17 +02:00
Laurent Montel
71c0581f77 Remove duplicate header between header cpp file 2022-05-05 07:05:29 +02:00
Laurent Montel
30bb2e0495 Fix some clazy warning 2021-08-31 08:34:25 +02:00
Friedrich W. H. Kossebau
93ba7b56fc Remove module prefix from KF includes
GIT_SILENT
2021-06-14 17:54:29 +02:00
Friedrich W. H. Kossebau
37315d534d Drop code variant for no longer supported KF version
GIT_SILENT
2021-06-14 17:49:43 +02:00
Friedrich W. H. Kossebau
d0efc2c345 Use SPDX license headers
GIT_SILENT
2021-06-14 17:48:31 +02:00
Friedrich W. H. Kossebau
b13858f076 Use Q_EMIT instead of emit
GIT_SILENT
2021-06-14 16:05:11 +02:00
Friedrich W. H. Kossebau
585e2d3257 Port away from Qt's foreach
GIT_SILENT
2021-06-14 16:05:11 +02:00
Ahmad Samir
70e9d2728a Adapt to changes in KBookmarks >= 5.69
Test Plan:
The Bookmarks menu is still added as expected and the actions still show
in the configure shortcuts dialog. I couldn't test actually creating a
bookmark as I have no access to remote servers.

Reviewers: cfeck, uwolfer, murrant

Reviewed By: cfeck

Differential Revision: https://phabricator.kde.org/D28920
2020-04-17 19:44:44 +02:00
AceLan Kao
17ed950322 BookmarkManager: replace fromLocalFile()
It prepend "file://" on url string, we should use fromUserInput()
to get a valid url.

Signed-off-by: AceLan Kao <acelan@acelan.idv.tw>
2016-02-06 20:43:49 +08:00
AceLan Kao
2e66436434 BookmarkManager: fix bookmark path
just remove the leading '/'

Signed-off-by: AceLan Kao <acelan@acelan.idv.tw>
2016-02-06 20:42:39 +08:00
Jeremy Whiting
33bd32b371 Use ecm to generate Qt Logging Category header and cpp files. 2016-01-20 15:34:14 -07:00
Jeremy Whiting
df260e7bd4 Updated krdc with fixes from Laurent's review on reviewboard.
Use QStringLiteral instead of QLatin1String.
Remove KI18n prefix in #include statements.
Use QUrl::fromLocalFile for local urls.
2016-01-20 14:58:51 -07:00
Jeremy Whiting
088d7b9cd6 Port krdc to Qt5/KF5 using Ulo Parri's review as a starting point. 2015-10-09 18:33:49 -06:00
Jan Grulich
29a96a34dc Store each RemoteView with the tab where the view was created
This fixes a lot of issues when you are changing the tab order

REVIEW:113380
2013-10-28 11:40:03 +01:00
Urs Wolfer
12d6f0d308 properly synchronize connection history
svn path=/trunk/KDE/kdenetwork/krdc/; revision=1330195
2012-12-30 15:49:40 +00:00
Tony Murray
806e168756 Bookmark Title cleanup
* don't shorten titles with ..., use fullText()
* do not use percent encoded urls in bookmark titles
* convert filterable items to non-percent encoded characters (allows us to filter as typed without any tricks)

svn path=/trunk/KDE/kdenetwork/krdc/; revision=1208291
2010-12-21 07:14:41 +00:00
Urs Wolfer
c7bfcbe666 * fix typo
* improve foreach loop

svn path=/trunk/KDE/kdenetwork/krdc/; revision=1177077
2010-09-19 10:07:19 +00:00
Tony Murray
6cd884c29f Move StringList into the loop.
svn path=/trunk/KDE/kdenetwork/krdc/; revision=1122555
2010-05-04 06:35:45 +00:00
Tony Murray
112d968533 Some cleanups based on Urs' suggestions.
Tooltip for the favorite column in the new connection view to indicate that you can click it.
Changed to autosize columns for the new connection view (disables user resize).
bookmarkmanager: no more recursive helper function

svn path=/trunk/KDE/kdenetwork/krdc/; revision=1079830
2010-01-25 06:08:17 +00:00
Tony Murray
c32ca11d2c Header/include cleanups.
svn path=/trunk/KDE/kdenetwork/krdc/; revision=1078690
2010-01-22 16:21:54 +00:00
Tony Murray
ec2189705a Connection Screen refinement:
* Changes the RemoteDesktopsModel to hold more data and in a table layout instead of tree.
* Adds a last connected date/time to bookmark items and displays this as a fuzzy time stretch.
* Some better strings on things.
* More usable screen space for small layouts (640x480)
* Ability to add/remove bookmarks from the selection screen by clicking the "favorites" star.
* User sortable by each column.
* Save last sorted column and sort order.
* Context menu with actions: open, rename, settings, and delete.

REVIEW:2384


svn path=/trunk/KDE/kdenetwork/krdc/; revision=1078364
2010-01-22 07:36:29 +00:00
Tony Murray
0c67eada79 Use updateAccessMetadata() instead of a custom metadata item.
svn path=/trunk/KDE/kdenetwork/krdc/; revision=1072843
2010-01-11 06:16:40 +00:00
Tony Murray
e25650c4b8 Save last connected date and time, will be used in the future.
svn path=/trunk/KDE/kdenetwork/krdc/; revision=1066157
2009-12-26 05:19:30 +00:00
Laurent Montel
135dd4bdba This variable is never used
svn path=/trunk/KDE/kdenetwork/krdc/; revision=927268
2009-02-17 08:50:31 +00:00
Urs Wolfer
00923e95ad Improve tab behavior:
* Close tabs with mouse middle-click (option)
* Option to disable close buttons on tabs
* Option to set position of tab bar (top, bottom, left, right)
* Context menu on tabs (Close and bookmark action)
* Option options dialog on tab double click for current connection

FEATURE:167432
FEATURE:184339

svn path=/trunk/KDE/kdenetwork/krdc/; revision=926947
2009-02-16 13:07:10 +00:00
Urs Wolfer
254f0b373b * Use of some const iterators
* Declare some vars as const to prevent programming mistakes
* Minor other optimizations

svn path=/trunk/KDE/kdenetwork/krdc/; revision=863185
2008-09-21 11:35:07 +00:00
Urs Wolfer
3de24dfe0b Make 'Open (bookmark) folder in tabs' action working
BUG:167117

svn path=/trunk/KDE/kdenetwork/krdc/; revision=836204
2008-07-21 21:29:19 +00:00
Urs Wolfer
1e93bf6418 don't leak events when the vnc connection has been killed
svn path=/trunk/KDE/kdenetwork/krdc/; revision=744534
2007-12-03 21:16:15 +00:00
Urs Wolfer
2ea82a0cfa Consistent code format and small code optimizations.
Initial formatting done with astyle, afterwards reviewed by me.

svn path=/trunk/KDE/kdenetwork/krdc/; revision=729904
2007-10-27 10:47:14 +00:00
Andreas Pakulat
0ca5ab3f74 Merge KConfig branch
svn path=/trunk/KDE/kdenetwork/krdc/; revision=721935
2007-10-06 09:51:00 +00:00
Urs Wolfer
0f08f49b6e deprecated--
svn path=/trunk/KDE/kdenetwork/krdc/; revision=708072
2007-09-03 19:18:16 +00:00
Daniel Teske
741575a39d Port to KBookmark::addBookmark and KBookmark::createNewFolder
changes.


svn path=/trunk/KDE/kdenetwork/krdc/; revision=699503
2007-08-13 09:28:55 +00:00
Urs Wolfer
ae2691c067 Add history folder in bookmarks. All host you have successfully connected to will be added there. This way it's easier to find an already used host.
Thanks Daniel for your inputs!

CCMAIL: Daniel Teske <teske@squorn.de>
BUG: 124082

svn path=/trunk/KDE/kdenetwork/krdc/; revision=697448
2007-08-07 20:07:06 +00:00
Urs Wolfer
47e0695ef4 Bookmark support. This allows also later a history implementation.
svn path=/trunk/KDE/kdenetwork/krdc/; revision=694862
2007-07-31 22:45:28 +00:00