summaryrefslogtreecommitdiff
path: root/vcl/unx/kde4
AgeCommit message (Collapse)Author
2017-06-18remove unused osl/mutex.hxx includesJochen Nitschke
Change-Id: I3b50e45fdb99e9cd8bfda07356ee3ddb4dd0f8bb Reviewed-on: https://gerrit.libreoffice.org/38905 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
2017-05-19make string translation loading more uniformCaolán McNamara
change various ResId classes that use conversion operator to OUString to functions that return a OUString drop various defines drop unnecessary toString calls Change-Id: Ibeccdf2b91a46a2ed5b4b74e6024e301a023bc92 Reviewed-on: https://gerrit.libreoffice.org/37817 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-04-25tools: svstream.hxx needs only errcode.hxx & not errinf.hxxChris Sherlock
Change-Id: Ia28e35ae5af4f601e9a586a3deffbcd61702b0ca Reviewed-on: https://gerrit.libreoffice.org/36896 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2017-03-31vcl kde4: adapt to tools::RectangleMiklos Vajna
Change-Id: I047a69bd084f44c7bc7a132eddf2ee09e811d783
2017-03-25Fix typosAndrea Gelmini
Change-Id: I623135cd4c76dd6569f4ee521f97dee41de4cb1e Reviewed-on: https://gerrit.libreoffice.org/35660 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2017-03-16KDE fix various clang plugin complainsJan-Marek Glogowski
Fixes clang plugin reported problems in the KDE and KDE4 backend. Change-Id: I0280beae9dd6f33ee59bdbe89cd38222f33fdc68
2017-03-11Fix typosAndrea Gelmini
Change-Id: I2be7113bfe86476acfd6550f1eed53eed83c9747 Reviewed-on: https://gerrit.libreoffice.org/35063 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2017-03-08loplugin:loopvartoosmallStephan Bergmann
Change-Id: Ie173849c0956edf9fd111120fa4bdfb2930ab69f
2017-02-28loplugin:unoanyStephan Bergmann
Change-Id: Id0823ce54c7adb03c824e4095c835356846c69ca
2017-02-21loplugin:subtlezeroinit: vclStephan Bergmann
Change-Id: I041390c7cea1e246f07e799ee2430c16e86723d8
2017-02-06Add missing #includesStephan Bergmann
...and remove some unncessary using directives/declarations, in preparation of removing now-unnecessary #includes from cppumaker-generated files, post e57ca02849c3d87142ff5ff9099a212e72b8139c "Remove dynamic exception specifications". Change-Id: Iaf1f268871e2ee1d1c76cf90f03557527ebc9067
2017-02-03TyposJulien Nabet
Change-Id: Ic54695e86b4b462419fa7d5ded7b1ddb19ee8ed5 Reviewed-on: https://gerrit.libreoffice.org/33904 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2017-01-28loplugin:stringconstantJochen Nitschke
Change-Id: I4e2e0aba2930d7c4ee60567d1d65e0e773a470bf Reviewed-on: https://gerrit.libreoffice.org/33650 Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Tested-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
2017-01-27loplugin:unnecessaryoverrideStephan Bergmann
Change-Id: I5bed51a3c03e2d55b9b7508d854cd486a35ea90e
2017-01-26Remove dynamic exception specificationsStephan Bergmann
...(for now, from LIBO_INTERNAL_CODE only). See the mail thread starting at <https://lists.freedesktop.org/archives/libreoffice/2017-January/076665.html> "Dynamic Exception Specifications" for details. Most changes have been done automatically by the rewriting loplugin:dynexcspec (after enabling the rewriting mode, to be committed shortly). The way it only removes exception specs from declarations if it also sees a definition, it identified some dead declarations-w/o-definitions (that have been removed manually) and some cases where a definition appeared in multiple include files (which have also been cleaned up manually). There's also been cases of macro paramters (that were used to abstract over exception specs) that have become unused now (and been removed). Furthermore, some code needed to be cleaned up manually (avmedia/source/quicktime/ and connectivity/source/drivers/kab/), as I had no configurations available that would actually build that code. Missing @throws documentation has not been applied in such manual clean-up. Change-Id: I3408691256c9b0c12bc5332de976743626e13960 Reviewed-on: https://gerrit.libreoffice.org/33574 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-01-19New loplugin:dynexcspec: Add @throws documentation, vclStephan Bergmann
Change-Id: Icc398ec6cbb9152ee86b4ac0003619ae04206cd6
2017-01-17KDE4 Qt always processes all pending eventsJan-Marek Glogowski
Change-Id: I6a6e37c36a64640b641b116867da5c63c9d36bca
2016-12-21No apparent reason for an unnamed namespace in an include file hereStephan Bergmann
Change-Id: Ic25a50fd25820dabe411f1a726580d3e137b028d
2016-12-20KDE4 fix wrong fallthroughJan-Marek Glogowski
Was found and marked in 03f440c379a03500a40cc34097c68a150d7a226d, but is definitly wrong. Change-Id: I6d04814fb8f25a92dfaf96d8face855315cc0208
2016-12-20KDE4 use correct ComboBox frame pixel metricJan-Marek Glogowski
Change-Id: I03fa5489ffc5cd5bb386bb321519c61058db4fda
2016-12-20KDE4 rely on style()->pixelMetric for frame widthJan-Marek Glogowski
Change-Id: I7a1e89c0c058bab0b6665e2b96b22251dcb51f4f
2016-12-20Update duplicated / outdated NWS documentationJan-Marek Glogowski
Removes the old, copied NWS documentation blocks from all native implementations and update the parent SalGraphics documentation. Change-Id: I0eff8ea0987c5c841e1b023340b1c3787c09e2ca
2016-12-20tdf#78924 KDE4 drop special Combobox codeJan-Marek Glogowski
At least not needed with breeze KDE4 theme. Change-Id: I71a05c395d04a6f19c3bcd681450318831b0c29f
2016-12-20KDE4 add frame to Spinbox and enable buttons...Jan-Marek Glogowski
... and don't claim to support all parts per default. Change-Id: I7a8e0774b4573bf755737bc1adebe19a774736c9
2016-12-20KDE4 fix edit box bordersJan-Marek Glogowski
When recalculating the native window frame borders, calculate using already existing window borders. Otherwise the KDE edit box results in an unlimited recursion for increasing the bounding rects, if the control doesn't fit. Change-Id: I45e51e4796b06097ca537c656f004133dfacd033
2016-12-20KDE4 set shadow colorsJan-Marek Glogowski
These are used to paint Writers ruler text and marks. Makes both readable with disabled and inactive text colors. Change-Id: I39766d623164230a7379623c16e0463cbaaf0af8
2016-12-20KDE4 implement native drag handlersJan-Marek Glogowski
Change-Id: I3d6a1696b8278066b005c1983d226cc67381ba95
2016-12-06OSL_TRACE -> SAL_ in vclNoel Grandin
Change-Id: Icd317671a6b1b5356f0ccc7c59d50952fe20269b Reviewed-on: https://gerrit.libreoffice.org/31667 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-11-21loplugin:datamembershadow: KDEXLib::blockIdleTimeout shadows SalXLib memberStephan Bergmann
This smells like there's some sort of needless duplicationg among KDEXLib and its base calss SalXLib, but this duplication of blockIdleTimeout members had been like that ever since those members' introduction in 06d731428ef6cf93c7333e8228bfb6088853b52f "make idle timers actually activate only when idle". Change-Id: Ic3eec821b2433745e83fc23d65d3c5f8e1fcf663
2016-11-18includes should be at the top of the fileNoel Grandin
not randomly scattered through the code found with something like: git ls-files *.cpp | xargs grep -Pzl "(?s){.*#include" Change-Id: I9c242fa4ef99e8677f2800d7ec9f16d16e488351 Reviewed-on: https://gerrit.libreoffice.org/30952 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-11-17Resolves: tdf#87960 add and use a ToolFontColor for toolbar item entriesCaolán McNamara
instead of using the MenuBar text color, cause for Ambiance theme the menubar is dark and its font is light, while the toolbars can be light, so light font on light bg appears greyed out Change-Id: I0fa4ab8eabdd3cd69eb682e5ddba8314b8c9ff0f
2016-10-05InfoFont/Color is not used by vcl nowCaolán McNamara
anywhere anyone wanted to Get[Font|Color] give it the Label ones instead. why this is exposed through uno is bewildering, stubbed those out for the moment Change-Id: I7a31d027287436be1c075c76a370047efd010bf3
2016-09-23tdf#101822 X11 SalDisplay init => AfterAppInitJan-Marek Glogowski
This fixes all X11 based VCL plugins to move display initialization into AfterAppInit (gen, TDE, KDE4), This is done by moving input method and display into SalXLib, so they are available in AfterAppInit. Otherwise the configmgr service won't be available in SalDisplay::BestVisual. Change-Id: I9380075b9770bceb8f453bbcb7fe31291634ff89
2016-09-23Clarify KDE4 and TDE config variablesJan-Marek Glogowski
The configure flag is already --enable-kde4, so rename most build and configure variables, including the config headers, and the build module to include the major number. Also rename the TDE MOC stored as $MOC to $TDE_MOC to prevent conflicts. Change-Id: Ib947ae4b80349cc52eac7812cb93e8a42606b526
2016-09-23tdf#97721 KDE4 correct menu checkbox offsetJan-Marek Glogowski
Qt paints checkboxes next to images, so they always start left oriented in menus. Change-Id: I33ab0cf443f6716f9f9adc3ec2c394337db5f923
2016-09-22KDE4 enable and handle rollover menubarJan-Marek Glogowski
Change-Id: Ice2657c8e8ecccb67d1b14292514a42ff37caa39
2016-09-22tdf#97721 KDE4 no PRESSED state for checkboxesJan-Marek Glogowski
Selecting radio and check boxes is handled via QStyleOptionMenuItem::checked. Actually forwarding the QStyle::State_Sunken creates strange artifacts in all menus. Change-Id: Ia0b0864b9bec5961023b4f25315a8acf1fae4683
2016-09-22tdf#94112 KDE4 use disabled WindowText colorJan-Marek Glogowski
Libre office just has a general disabled color. Instead of the general QPalette::Mid, use the color QPalette::WindowText of the palette QPalette::Disabled. Change-Id: Ie6943b455d3e6545289b241ee4ab85128f4fd7ab
2016-09-22KDE4 Switch default image color to transparent...Jan-Marek Glogowski
... and just fill the painted image once at the beginning. Also adapt background based on the control information from Qt4. Change-Id: I39c03b2ca779381920e2597b4bea7973fea6ae2a
2016-09-21oops /me stupidMichael Stahl
Change-Id: Ic6a3d52f0f5d288858f9164e31997a315993a34a
2016-09-21vcl: loplugin:overrideMichael Stahl
Change-Id: I884e1e53eb26d092e8d75319d331e42dbc320209
2016-09-18loplugin:unusedenumvaluesNoel Grandin
Change-Id: Icf17f936ce6d07d0e152252833c8645cf9b1163b Reviewed-on: https://gerrit.libreoffice.org/28942 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-09-13loplugin:override: No more need for the "MSVC dtor override" workaroundStephan Bergmann
The issue of 362d4f0cd4e50111edfae9d30c90602c37ed65a2 "Explicitly mark overriding destructors as 'virtual'" appears to no longer be a problem with MSVC 2013. (The little change in the rewriting code of compilerplugins/clang/override.cxx was necessary to prevent an endless loop when adding "override" to OOO_DLLPUBLIC_CHARTTOOLS virtual ~CloseableLifeTimeManager(); in chart2/source/inc/LifeTime.hxx, getting stuck in the leading OOO_DLLPUBLIC_CHARTTOOLS macro. Can't remember what that isAtEndOfImmediateMacroExpansion thing was originally necessary for, anyway.) Change-Id: I534c634504d7216b9bb632c2775c04eaf27e927e
2016-09-06don't need to include all these headers, reduce to required minCaolán McNamara
Change-Id: I1f05ed32cabc059309f46ec0a195705f0e774bd6
2016-08-30silence coverity#1371204 Missing move assignment operatorCaolán McNamara
and silence coverity#1371210 Missing move assignment operator Change-Id: I6d7a59fd789c16ee11a27d50ba8fd14f17ae77e0
2016-07-26loplugin:overrideparamCaolán McNamara
Change-Id: I5d6c249875e4dcebc63e8d0fcdddfcb48e8df18a
2016-07-19clang-tidy performance-unnecessary-value-param in vclStephan Bergmann
Change-Id: I0b53c4bf5b4619cde357cf4eb432b153b1f7e6b5
2016-07-08renamed local var 'clipRegion' to silence werrorArmin Le Grand
Had to rename 'clipRegion' to 'localClipRegion' to silence a warning created by [-Werror=shadow]. The shadowed entry is a function definition, so in this case the warning is questionable and maybe unwanted by the compiler Change-Id: I05aa93ad1d9b34dc8e82a4a2a099cf8070c01463
2016-07-01Add new open dialog type: Play and linkSamuel Mehrbrodt
This is needed e.g. for the "Slide transition sound" files where we want to play files and also give the choice whether to link or not Change-Id: I5aaef7152be8e5c0a0f88c4d7234926f233c5d92 Reviewed-on: https://gerrit.libreoffice.org/26846 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-06-30Add new open dialog type: Preview only (without link)Samuel Mehrbrodt
This is needed e.g. for the "Insert Photo Album" dialog where we don't want the "Insert Link" option in the file open dialog (tdf#65356) Change-Id: I01aecaaf8194a8123931b0482b4a37155654dfc2 Reviewed-on: https://gerrit.libreoffice.org/26796 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>