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

43 Commits

Author SHA1 Message Date
Marius P
53148f5d02 main remove Kdelibs4ConfigMigrator because CMakeLists.txt requires Qt version >= 6.6 2024-05-16 09:04:28 +00:00
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
Laurent Montel
ce7873ca60 Kdelibs4ConfigMigrator is only qt < qt6 2022-06-13 07:02:15 +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
d0efc2c345 Use SPDX license headers
GIT_SILENT
2021-06-14 17:48:31 +02:00
Friedrich W. H. Kossebau
585e2d3257 Port away from Qt's foreach
GIT_SILENT
2021-06-14 16:05:11 +02:00
Laurent Montel
f9c54fca92 Port some deprecated methods 2019-09-22 13:58:59 +02:00
Friedrich W. H. Kossebau
cc5a7983d6 Do not repeat work of KAboutData::setupCommandLine 2019-01-19 15:08:35 +01:00
Friedrich W. H. Kossebau
21d4b9fd12 Do not repeat work of KAboutData::setApplicationData 2019-01-19 15:08:12 +01:00
Friedrich W. H. Kossebau
86e085cb44 Call KLocalizedString::setApplicationDomain after qapp creation 2019-01-19 15:07:10 +01:00
Burkhard Lück
06a3e0918e Merge remote-tracking branch 'origin/Applications/16.08' 2016-07-25 20:12:18 +02:00
Burkhard Lück
cb792ae393 add KLocalizedString::setApplicationDomain(krdc) to main.cpp to get the about dialog fully translated 2016-07-25 20:06:49 +02:00
Arno Möller
89cd4132dc Make default protocol configurable
Add a new config option for the default protocol.
Default protocol: protocol to use when passing a hostname
via command line without a scheme.
~~
$ krdc my.host
~~
expands to vnc://my.host since the dawn of time. With the
default protocol set to "rdp" it expands to rdp://my.host

The default protocol defaults to vnc to keep the current
behavior.

REVIEW: 128496
2016-07-25 19:44:12 +02:00
Arno Möller
b01ad323c5 Fix handling command line arguments
QUrl::fromLocalFile is clearly wrong.
It gives us file://rdp:// or similar garbage.

We cannot use QUrl::fromUserInput() either, since this gives
us an http:// or an ftp:// URL if the scheme is empty,
depending on the hostname. Due to the plugin architecture
we cannot assume that krdc can't handle those protocols.

Assume that we're dealing with just a hostname instead,
and further assume that the protocol is vnc://
(default since KDE3).

REVIEW: 128060
2016-07-21 21:31:50 +02:00
Wolfgang Bauer
7d9ad0152d Fix bookmarks migration from the KDE4 version
targetBasePath needs a trailing slash because the file name is appended
afterwards.

BUG: 361823
FIXED-IN: 16.04.3
REVIEW: 128281
2016-06-25 13:12:46 +02:00
Wolfgang Bauer
c6fdda25fe Pass a proper version string to KAboutData
KRDC_VERSION is an integer, pass KRDC_VERSION_STRING instead.
Also, use QStringLiteral() to convert it to QString.

REVIEW: 128282
2016-06-25 13:08:13 +02:00
Urs Wolfer
5984562bd8 bump year 2016-03-06 11:12:31 +01:00
Jeremy Whiting
23275c0a72 Use Kdelibs4Migration to migrate bookmarks.xml and any other krdc data files when migrating config. 2016-01-20 16:02:36 -07: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
Urs Wolfer
e9179e278d bump year
svn path=/trunk/KDE/kdenetwork/krdc/; revision=1330950
2013-01-06 10:57:02 +00:00
Urs Wolfer
d6811aa733 Add website of LibVNCServer / LibVNCClient to about dialog.
svn path=/trunk/KDE/kdenetwork/krdc/; revision=1271605
2012-01-04 19:35:05 +00:00
Urs Wolfer
7a379d14c6 update application description text
svn path=/trunk/KDE/kdenetwork/krdc/; revision=1151023
2010-07-17 14:12:35 +00:00
Urs Wolfer
2e45039f84 * Add Tony Murray to author list.
* Minor fixes and cleanups.

CCMAIL:murraytony@gmail.com

svn path=/trunk/KDE/kdenetwork/krdc/; revision=1089988
2010-02-14 11:27:38 +00:00
Tony Murray
65af21d792 SVN_SILENT
code format cleanups

svn path=/trunk/KDE/kdenetwork/krdc/; revision=1078366
2010-01-22 07:50:18 +00:00
Abner Silva
bdc4cbcdfe Updating credits.
svn path=/trunk/KDE/kdenetwork/krdc/; revision=1031582
2009-10-05 13:24:48 +00:00
Urs Wolfer
f2ece95976 Bump copyright year.
svn path=/trunk/KDE/kdenetwork/krdc/; revision=949718
2009-04-05 19:39:47 +00:00
Urs Wolfer
cba12b49c9 Major refactoring:
Convert all backends to plugins (VNC, RDP, NX, test). This clean a lot of code up very much. No more 'if..else..' code for plugins in general code.

svn path=/trunk/KDE/kdenetwork/krdc/; revision=908976
2009-01-10 17:52:39 +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
3e3495e0e5 Completely change the behavior of entering special keys (like Ctrl+Alt+Del). Do not show a modal dialog which needs to be closed after every key sequence; instead replace it with a toggle action which can be enabled to fetch every possible key (all except some X server shortcuts like Ctrl+F1) while the remote desktop has the focus. This should improve the the workflow quite a lot. Please note that KWin shortcuts like Alt+Tab are not active while this mode is active and the remote desktop has the focus.
BUG:149789
BUG:104680
CCBUG:153782

svn path=/trunk/KDE/kdenetwork/krdc/; revision=788165
2008-03-20 22:05:27 +00:00
Dirk Mueller
ca2a828606 fix FSF address
svn path=/trunk/KDE/kdenetwork/krdc/; revision=734468
2007-11-08 22:49:41 +00:00
Urs Wolfer
4d31e83ebb Try to recover unusable URLs (e.g. if the protocol is missing). Default protocol is VNC if none is set (this was also the default in KDE 3 times...).
BUG: 151516

svn path=/trunk/KDE/kdenetwork/krdc/; revision=730854
2007-10-29 20:52:59 +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
Urs Wolfer
83518867e2 Lots of cleanups:
* debug output
* slot naming: slotDoX() ->doX()
* remove hardcoded (and mostly wrong) '&' shortcuts in mainwindow

Add inital NX actions code in mainwindow (nothing is enabled and implmented yet; just the actions are there (but not visible). This way I will have it easier to implement NX support without branching the whole app)

svn path=/trunk/KDE/kdenetwork/krdc/; revision=724823
2007-10-13 15:09:42 +00:00
Urs Wolfer
904eaf248e * add Brad to the 'thanks to' page
* KRDC got a nice new Oxygen icon: use it with a better resolution in the start page and remove the crystal ones; they are still in kdeartworks.
* warning--
CCMAIL: bradh@frogmouth.net

svn path=/trunk/KDE/kdenetwork/krdc/; revision=701888
2007-08-19 16:55:51 +00:00
Urs Wolfer
2b13267cc5 SVN_SILENT
typo. Thanks Danny for pointing it out.

svn path=/branches/work/soc-krdc/krdc/; revision=686930
2007-07-12 12:54:05 +00:00
Urs Wolfer
30c82f7e1e SVN_SILENT: typo (why do I allways miss the 'r' in screen?...)
svn path=/branches/work/soc-krdc/krdc/; revision=686271
2007-07-10 22:31:09 +00:00
Urs Wolfer
ec45975b96 Command line interface is back.
Example: open a VNC session in fullsceen mode:
krdc --fullsceen vnc://vncserver:1

svn path=/branches/work/soc-krdc/krdc/; revision=686270
2007-07-10 22:27:31 +00:00
Urs Wolfer
ec8b30ee8b adopt to new kdelibs api
svn path=/branches/work/soc-krdc/krdc/; revision=682352
2007-07-02 13:27:34 +00:00
Urs Wolfer
556592cb97 small bits:
* update credits
* better initial size
* consistent writing of 'KRDC'; this may change in future...

svn path=/branches/work/soc-krdc/krdc/; revision=681330
2007-06-28 16:01:31 +00:00
Urs Wolfer
4ff163bbde SVN_SILENT: fix copy paste mistake in license
svn path=/branches/work/soc-krdc/krdc/; revision=673071
2007-06-08 22:13:28 +00:00
Urs Wolfer
9d4de703e9 * add an inital 'skeleton' of the new mainwindow
* implement VNC and RDP in mainwindow; I'm able now to start a VNC / RDP session, even when it is very rough everywhere...
* port RDP part from K3Process to QProcess
* cleanup code
* fix coding style in old files

svn path=/branches/work/soc-krdc/krdc/; revision=670190
2007-05-31 16:41:43 +00:00