Commit Graph

72 Commits

Author SHA1 Message Date
Kevin Ottens
9b94febf60 Port away from KDialog 2013-01-03 08:55:44 +01:00
Kevin Ottens
7676a7142c Port away from KDialog to unbreak the build
I couldn't reach this code before from the Qt4 build, sorry for the
temporary breakage.
2013-01-03 08:54:16 +01:00
David Faure
cb466490b0 Fix compilation with Qt5 2012-12-27 11:25:00 +01:00
David Faure
eb992ce047 Merge remote-tracking branch 'origin/KDE/4.10' into frameworks
"4e03e90 - (origin/KDE/4.10) Use non-deprecated types and methods"
(rerunning the perl scripts rather than solving every conflict by hand)
2012-12-13 13:23:44 +01:00
David Faure
c8734602b8 Use non-deprecated types and methods:
WFlags -> WindowFlags (it's a typedef, and it's BC, nm says QFlags<Qt::WindowType>)
toAscii -> toLatin1
fromAscii -> fromLatin1
as suggested by Treeve Jelbert on kde-frameworks-devel
2012-12-13 11:58:53 +01:00
Nicolas Lécureuil
d6902786bf Convert #ifdef to #if 2012-08-24 03:19:29 +02:00
Nicolas Lécureuil
d50d3a3162 Convert to makedefine01 2012-08-24 03:16:04 +02:00
Frédéric Sheedy
ddbf7df71b Correction of spelling errors for c++ files 2012-08-12 10:56:17 -04:00
Albert Astals Cid
75ccb1b463 More K_GLOBAL_STATIC -> Q_GLOBAL_STATIC porting
Acked by dfaure
REVIEW: 105611
2012-07-19 21:19:01 +02:00
David Faure
d2a0d70fcd Ran convert-kstandarddirs.pl and fixed compilation (includes) in a few places 2012-06-12 15:02:33 +02:00
David Faure
af211f7c93 KIcon("foo") -> KDE::icon("foo")
include kicon.h -> kiconloader.h, or often, nothing at all.
2012-04-28 13:17:42 +02:00
Kevin Ottens
e2a21337dc Port to new KAuth API 2012-04-02 02:28:23 +02:00
David Faure
2365f2c657 Some KUrl-QUrl porting. 2012-03-11 10:34:38 +01:00
Matt Williams
57bcc67921 Port from KProcess to QProcess 2012-02-21 15:32:34 +00:00
Torgny Nyblom
8f6075ac7c include kicon.h 2012-02-10 19:59:05 +01:00
David Faure
9057ce0c70 Fix compilation with the new cmake automoc stuff. 2012-02-08 23:34:07 +01:00
Stephen Kelly
51dafbe2e9 Use QUrl::scheme() instead of KUrl::protocol().
The former lowercases internally in Qt5, so no need
to rely on KUrl API.
2012-02-07 23:42:32 +01:00
Stephen Kelly
8d37df4b8f Remove moc includes that can be omitted.
Mostly these are "<name>.moc" style includes which are incorrect
compared to qmake and cmake automoc behaviour.
2012-01-31 22:44:36 +01:00
Nicolas Lécureuil
01847045ef Port to QTemporaryDir 2011-12-06 20:08:22 +01:00
Aaron Seigo
819fdf5f23 put the contents hash into a more sensibly named file 2011-11-09 13:12:41 +01:00
David Faure
108536cb93 Port from KTemporaryFile to QTemporaryFile, and deprecate KTemporaryFile.
My merge request (qtbase/57) for the missing feature in QTemporaryFile
(naming the temp file after the application, to be able to sort out which
app is leaking temp files), has been merged, so we don't need KTemporaryFile
anymore.
2011-10-04 16:52:38 +02:00
Chusslove Illich (Часлав Илић)
2c9d3c0a0e i18n: Contexts. 2011-08-28 10:38:09 +02:00
Aaron Seigo
82eee5c3b7 avoid compiling in debug strings when compiled without debug 2011-07-29 15:46:52 +02:00
Aaron Seigo
35898d57f1 get rid of all Class:load(..) methods, use PluginLoader directrly. --apiBloat; 2011-07-19 22:04:22 +02:00
Aaron Seigo
05834d8144 Merge remote-tracking branch 'origin/master' into libplasma2
Conflicts:
	plasma/CMakeLists.txt
	plasma/abstractrunner.h
	plasma/animator.h
	plasma/glapplet.h
	plasma/package.h
	plasma/packagemetadata.h
	plasma/packagestructure.h
	plasma/tooltipcontent.cpp
	plasma/tooltipcontent.h
	plasma/wallpaper.h
2011-07-11 21:56:41 +02:00
Frederik Schwarzer
5c0d0e8e8e Replace doxygen tag @arg by @param.
The @param doxygen tag is formatted way nicer and should be used
throughout our apidox.

REVIEW: 101596
2011-06-13 14:47:29 +02:00
Marco Martin
135d63c0e9 no camelcase include 2011-05-31 01:26:09 +02:00
Aaron Seigo
6f2284dbd3 don't use PackageMetadata. instead, use a new little class: RemoteObjectDescription 2011-05-31 01:00:03 +02:00
Aaron Seigo
b01348aa84 rely on AppletPrivate::remoteLocation (removing the need for PackageMetadata) and make it a proper KUrl 2011-05-31 00:04:03 +02:00
Aaron Seigo
cd32321b68 Merge branch 'libplasma2_signedpackages' into libplasma2
Conflicts:
	plasma/package.cpp
2011-05-30 23:41:53 +02:00
Aaron Seigo
791c327c87 use QCryptographicHash 2011-05-27 12:33:31 +02:00
Aaron Seigo
1a255a51de and now packages are able to be verified by signed hash 2011-05-26 16:27:30 +02:00
Aaron Seigo
73758abf97 start of package verification 2011-05-26 16:02:56 +02:00
Aaron Seigo
7c095ebd31 used detached sigs; at least this way gpgme++ is giving me fingerprints on success 2011-05-26 15:12:56 +02:00
Aaron Seigo
5f0face742 fix localality check, improve debug output 2011-05-26 14:32:32 +02:00
Aaron Seigo
670f73702a minor scrubs 2011-05-26 14:04:12 +02:00
Aaron Seigo
e7d40b158e make signerOf sensible
* close opened file handles
* don't create QFile objects that are never used
* check for locality as it must with the current implementation be local files we're checking
* get rid of the unhelpful Private class method and merge it into the main class method
* don't append .asc to the packagePath accidentally when making the sig path
2011-05-26 13:37:44 +02:00
Aaron Seigo
223622f786 remove keyring manager like methods which don't stay in scope for purpuose of this class. 2011-05-26 13:19:41 +02:00
Aaron Seigo
155b5bd879 variety of functionality, performance and style fixes
it was like pulling on a thread in a sweater: the changes just kept rolling
into each other...

* don't load all the keys at start, just cache them as they are requested
* use GpgContext::key to get the key for us rather than looping through all keys
* fix SignedBy so it doesn't say a key is signed by every other key(!)
* FullTrus*t*ed
2011-05-24 14:10:59 +02:00
Aaron Seigo
304f6f4344 slightly more readable 2011-05-24 13:24:08 +02:00
Aaron Seigo
1eeceda235 more clarity changes and removal of extraneous implementation detail info 2011-05-24 13:24:08 +02:00
Aaron Seigo
b79d23aea1 avoid lots of uselessness 2011-05-24 13:24:08 +02:00
Aaron Seigo
283cea6f7a fix signature 2011-05-24 13:24:08 +02:00
Aaron Seigo
787ff64871 more style fixes 2011-05-24 13:24:08 +02:00
Aaron Seigo
bb4ecbfb5f use sets instead of lists since we're mostly doing contains() 2011-05-24 13:24:07 +02:00
Aaron Seigo
e0a6591371 this isn't plasmoid specific in the least 2011-05-24 13:24:07 +02:00
Aaron Seigo
a21b5a8844 simple style fixes 2011-05-24 13:24:07 +02:00
Aaron Seigo
fc754ec380 no point in having two KDirWatches when we can have one
also fix the signatures of the slots in the private class
2011-05-24 13:24:07 +02:00
Aaron Seigo
9f4124973f don't output so much useless garbage 2011-05-24 13:24:07 +02:00
Aaron Seigo
fb4453a55f only use the install path for ultimate key storage
this should not be writable by the user, but is readable. safer than
picking the first dir that matches ... which would usually be in the
user's own dir. *facepalm*
2011-05-24 13:24:07 +02:00