Commit Graph

1341 Commits

Author SHA1 Message Date
Jon Severinsson
fbd4466d93 Remove setting removed variable "moved" in plasma/widgets/scrollwidget.cpp
This unused-but-set variable declaration was removed in ba583b5d4da9e3.
2012-10-26 08:39:44 +02:00
Aaron Seigo
d1140aca7d remove a number of unused variables 2012-10-25 21:17:01 +02:00
David Faure
e7e77f118a Merge remote-tracking branch 'origin/KDE/4.10' into frameworks
Conflicts:
	cmake/modules/FindKDE4Internal.cmake [ON vs TRUE]
	experimental/libkdeclarative/kdeclarative.cpp [include changes]
	kdecore/CMakeLists.txt [kshareddatacache.cpp exception support, but file moved]
	kdecore/kernel/kcmdlineargs.cpp [+1 option, but qi18n]
	kdeui/widgets/ktextedit.cpp [moc]
	kdewebkit/kwebpage.cpp [QUrl]
	kfile/kfilewidget.cpp [QUrl]
	kfile/kurlnavigatortogglebutton.cpp [QT_NO_ACCESSIBILITY]
	kinit/kinit.cpp [document path]
	kio/kfile/kurlrequester.cpp [KDE::icon]
	kio/kio/kprotocolmanager.cpp [kded5]
	kio/kio/krun.cpp [document path]
	kioslave/ftp/ftp.cpp [QUrl]
	kioslave/http/kcookiejar/CMakeLists.txt [upd file resurrected]
	kioslave/http/kcookiejar/kcookiescfg.upd [resurrected]
	kioslave/http/kcookiejar/kcookiewin.cpp [KVBox porting]
	mimetypes/kde.xml [kexi gone]
	nepomuk/core/resourcedata.cpp [deleted]
	nepomuk/test/CMakeLists.txt [deleted]
	plasma/private/packages.cpp [Plasma::Applet::NoBackground]
	tier1/kjs/src/kjs/jsonstringify.cpp [unsigned int]
	tier1/solid/src/solid/CMakeLists.txt [hello udisks2]
2012-10-19 15:10:38 +02:00
Montel Laurent
fead6ece87 Merge remote-tracking branch 'origin/KDE/4.9' into KDE/4.10 2012-10-18 20:49:50 +02:00
Marco Martin
acdbe4556c for small sizes, paint icons in a standard size
fixes blurry icons in the panel
2012-10-18 19:41:56 +02:00
Jaime Torres
fe259f19bb include missing initializations
an uninitialized variable can be the origin of several bugs.
unfortunately, not the one I suffer.

REVIEW: 106781
2012-10-10 19:07:06 +02:00
Marco Martin
8db63c42a9 support maximum and preferred sizes as well 2012-09-20 11:49:17 +02:00
David Faure
6620a16b73 Merge remote-tracking branch 'origin/KDE/4.10' into frameworks
Conflicts:
	kdeui/fonts/kfontchooser.cpp [same mess as in master]
	kdeui/jobs/kdialogjobuidelegate.cpp [moc]
	kjs/tests/ecmatest_broken_ch15 [rename/rename]
	kjs/tests/ecmatest_broken_ch15.2 [rename/rename]
	nepomuk/core/resourcedata.cpp [gone]
	nepomuk/core/resourcewatcher.cpp [gone]
	nepomuk/core/resourcewatcher.h [gone]
	tier1/kjs/autotests/ecmatest_broken_ch15 [rename/rename]
2012-09-16 11:44:07 +02:00
Marco Martin
e2b94040e6 intersect the clip rect when painting 2012-09-07 22:27:58 +02:00
David Faure
3d0d287103 perl -pi -e 's/KGlobal::locale/KLocale::global/' ... 2012-09-03 23:09:27 +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
ac117b6c2d Remove unneded kglobal.h includes
Found with
diff -ub  <( wcgrep -l "kglobal\.h" | sort ) <(wcgrep -l 'KGlobal::\|K_GLOBAL\|KSharedConfigPtr' | sort ) | grep -v CMakeLists.txt | grep ^"-\."
2012-08-06 00:27:15 +02:00
Kevin Ottens
22f74fc0ca More removals of Q_WS_* in favor of Q_OS_* or HAVE_X11 2012-08-03 11:45:20 +02:00
Dominik Haumann
54433eaca3 KGlobalSettings::singleClick() -> style()->styleHint(QStyle::SH_ItemView_ActivateItemOnSingleClick)
KGlobalSettings::singleClick() is still used in kde3support.
- do we really need kde3support?
- should the singleClick be ported here as well?
2012-08-02 21:56:05 +02:00
David Faure
d930917d95 Merge remote-tracking branch 'origin/KDE/4.9' into frameworks
Conflicts:
	CMakeLists.txt
	kdecore/tests/kstandarddirstest.cpp
	kdecore/tests/kurltest.cpp
	kdeui/actions/kaction.cpp
	kdeui/tests/CMakeLists.txt
	kio/kio/krun.cpp
	nepomuk/core/nepomukmainmodel.cpp [gone]
	nepomuk/core/resourcedata.cpp [gone]
	nepomuk/core/resourcemanager.cpp [gone]
	nepomuk/core/resourcemanager_p.h [gone]
	staging/kde4support/autotests/kmimetypetest.cpp [splitted out]
	staging/kwidgets/src/utils/kglobalsettings.cpp
	tier1/itemmodels/src/kviewstateserializer.cpp
2012-07-20 15:10:26 +02:00
Marco Martin
095a196120 move qgv privates in graphicsview/private 2012-07-16 21:35:17 +02:00
Ignat Semenov
3c46a565df slots -> Q_SLOTS 2012-07-15 23:26:14 +04:00
Benjamin Port
e3e6489165 Change some call to KLineEdit::setClickMessage to QLineEdit::setPlaceholderText 2012-07-07 03:11:37 +02:00
David Faure
ca9720b3d8 Merge remote-tracking branch 'origin/KDE/4.8' into origin-frameworks
Conflicts:
	CMakeLists.txt
	kdeui/actions/kaction.cpp
	tier1/solid/src/solid/powermanagement.cpp
2012-06-26 19:27:14 +02:00
Marco Martin
988737b128 fix behavior when hint-bar-stretch is present 2012-06-21 15:32:52 +02:00
David Faure
a2b502dbf4 Port the last uses of KMimeType. Only plasma/package.cpp is left... 2012-06-20 00:38:04 +02:00
David Faure
5534b9cfa0 plasma ported to generate_export_header -- this was the last one. 2012-06-16 22:08:06 +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
Stephen Kelly
330efc1fa3 Create a QFontMetrics object explicitly with a QFont.
Since 6c1bdc1854a7700c2b3a345b95f6a2fdca84037d in Qt 5 there is
no longer an implicit conversion.
2012-06-08 17:33:16 +02:00
Stephen Kelly
cefe436657 Simplify module-includes
For Qt 5 porting.
2012-06-08 17:33:16 +02:00
David Faure
8d7ebc7e89 Finish fixing compilation with Qt4.
Ported KUrlRequester away from KHBox, which was polluting its API.
2012-05-19 12:01:39 +02:00
David Faure
4ce1afaa9f Enable -DQT_NO_URL_CAST_FROM_STRING globally, and fix the code. 2012-05-02 15:08:52 +02:00
Benjamin Port
1fb3fd585c Deprecate LineEdit::clickMessage in order to have a consistant API with KLineEdit
Reviewed by: David Faure
2012-04-30 03:17:58 +02:00
Julien Desgats
a69cb53cc5 Fixed some QIcon and kiconloader compile errors for Plasma
Reviewed by: Kevin Ottens
2012-04-28 16:57:00 +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
Stephen Kelly
4a1df77400 Port from KGlobalSettings::dndEventDelay() to QApplication::startDragDistance() 2012-04-04 11:43:46 +02:00
Sune Vuorela
101a0b38f1 add some klocale includes to plasma to make it build 2012-03-24 11:51:32 +01:00
Stephen Kelly
b8f345c3e2 Merge remote-tracking branch 'origin/KDE/4.8' into frameworks
Conflicts:
	kdeui/widgets/kdatecombobox.cpp
	kfile/knewfilemenu.cpp
	nepomuk/core/resourcedata.cpp
	nepomuk/core/resourcewatcher.cpp
	nepomuk/core/resourcewatcher.h
	tier1/kcoreaddons/src/caching/kshareddatacache.cpp
2012-03-15 23:33:05 +01:00
Nick Shaforostoff
816efa3b16 disable visual feedback for hovering of lineedit as a workaround for 290111
CCBUG: 290111
2012-03-12 11:46:23 +02:00
David Faure
083d157684 Merge remote-tracking branch 'origin/KDE/4.8' into origin-frameworks
Conflicts:
	kdecore/network/k3datagramsocket.cpp
	kdeui/actions/kstandardaction.cpp
	kdeui/dialogs/kconfigdialogmanager.cpp
	kdeui/icons/kicondialog.cpp
	kdeui/itemviews/kviewstatesaver.h
	kfile/knewfilemenu.cpp
	kio/misc/kpac/downloader.cpp
	kio/tests/kdirlistertest.cpp
	kparts/browserextension.cpp
	nepomuk/core/nepomukmainmodel.cpp
	nepomuk/query/queryserviceclient.cpp
	nepomuk/test/ratingpaintertestwidget.cpp
	nepomuk/ui/kedittagsdialog.cpp
	nepomuk/ui/ktagcloudwidget.cpp
	nepomuk/ui/ktagdisplaywidget.cpp
	nepomuk/ui/nepomukmassupdatejob.cpp
	nepomuk/ui/tagwidget.cpp
	nepomuk/utils/daterangeselectionwidget.cpp
	nepomuk/utils/facetwidget.cpp
	nepomuk/utils/searchwidget.cpp
	plasma/containment.cpp
	plasma/datacontainer.cpp
	plasma/deprecated/animator.cpp
	plasma/extenders/extender.cpp
	plasma/plasma.h
	plasma/scripting/wallpaperscript.cpp
	tier1/solid/tests/networkingclient.cpp
(signal/slot normalization changes conflicted with KUrl->QUrl changes
and with other changes in frameworks)
2012-02-14 12:32:25 +01:00
Dawit Alemayehu
fb0b49af8c Normalize all signal/slot connections.
REVIEW: 103728
2012-02-13 14:27:21 -05:00
Torgny Nyblom
8f6075ac7c include kicon.h 2012-02-10 19:59:05 +01:00
Stephen Kelly
585976ebbc Port to QIcon in APIs.
KIcon is only a 'factory type'.

git grep -l "const KIcon" | xargs sed -i 's/const KIcon\b/const QIcon/g'
git grep -l "QList<KIcon>" | xargs sed -i 's/QList<KIcon>/QList<QIcon>/g'
git grep -l "class KIcon;" | xargs sed -i 's/class KIcon;//'
git grep -l "KIcon\b[^()]*;" | xargs sed -i 's/KIcon\b\([^()]*\);/QIcon\1;/'
2012-02-10 14:56:20 +01:00
David Faure
9057ce0c70 Fix compilation with the new cmake automoc stuff. 2012-02-08 23:34:07 +01:00
Stephen Kelly
d660ec244e Merge remote-tracking branch 'origin/KDE/4.8' into frameworks 2012-02-07 12:38:06 +01:00
Stephen Kelly
b1b68adb7d Don't use the QtGui module name in includes.
In Qt5, many of them are moved to QtWidgets, so this is the only
way to be source compatible with both Qt 4 and Qt 5.
2012-02-02 10:35:53 +01:00
Ignat Semenov
148002cee4 Shrink the icon correctly on mouse clicks with respect to the global single/double-click mouse settings.
REVIEW:103831
2012-02-01 17:03:30 +04: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
Aaron Seigo
71d807c353 Merge remote branch 'origin/KDE/4.7' into frameworks
Conflicts:
	CMakeLists.txt
	kio/kfile/kfilemetadatareaderprocess.cpp
	plasma/CMakeLists.txt
	plasma/packagestructure.cpp
	plasma/private/packages.cpp
	threadweaver/Mainpage.dox
2011-12-04 14:25:38 +01:00
Aaron Seigo
3948cfb8cf use d->setWidget which notes that it's not a palette customization 2011-12-04 14:00:32 +01:00
Aaron Seigo
e34c70415e git rid of the native member, it's redundant; use d->setWidget which notes that it's not a palette customization 2011-12-04 14:00:32 +01:00
Jaime Torres
4aa690ccc8 return a double usind qMin
qMin is a template, use the right datatype for it.
part of review 103323
2011-12-04 12:28:04 +01:00
Aaron Seigo
109453976a while properties are cool and all, let's not take the slow path just because we can. 2011-12-02 21:53:07 +01:00
Aaron Seigo
34376c31b1 animate transitions when an svg is used as well. 2011-12-02 21:53:07 +01:00