lxde/liblxqt.git
14 months agoMake lxqt globals a public header master
Luís Pereira [Wed, 24 Jan 2018 14:15:40 +0000 (14:15 +0000)] 
Make lxqt globals a public header

14 months agoAdds Qt Strings abbreviations
Luís Pereira [Wed, 24 Jan 2018 13:23:36 +0000 (13:23 +0000)] 
Adds Qt Strings abbreviations

It reduces the clutter. Ex: instead of writing:
```if (node.hasAttribute(QStringLiteral("http-contents-length")))```
just write:
```if (node.hasAttribute(QSL("http-contents-length")))```

14 months agolxqtpower: Add support for turning monitor(s) off
Palo Kisa [Wed, 24 Jan 2018 12:40:50 +0000 (13:40 +0100)] 
lxqtpower: Add support for turning monitor(s) off

Added the new action PowerMonitorOff, which we currently support only
by the using the external command: xset dpms force off (that means only
CustomProvider does currently provide this action).

The used command is defaultly set in the global config file
/usr/share/lxqt/power.conf.

Note: this is X specific, but downstream can easily change the default
command by providing /etc/lxqt/power.conf...

15 months agoUse qAsConst()
Luís Pereira [Wed, 3 Jan 2018 12:16:21 +0000 (12:16 +0000)] 
Use qAsConst()

Bump required Qt version to 5.7.1 and lxqt-build-tools to 0.4.1.

15 months agoDrop foreach use
Luís Pereira [Fri, 22 Dec 2017 23:03:33 +0000 (23:03 +0000)] 
Drop foreach use

It will be deprecated soon. Replacing it with the ranged for.

16 months agocmake: Handle CMP0071
Luís Pereira [Tue, 5 Dec 2017 22:20:34 +0000 (22:20 +0000)] 
cmake: Handle CMP0071

Mark the DBUS_SOURCES files with SKIP_AUTOGEN.

17 months agoRelease 0.12.0: Update changelog 0.12.0
Alf Gaida [Sat, 21 Oct 2017 18:53:19 +0000 (20:53 +0200)] 
Release 0.12.0: Update changelog

18 months agoBump minimum qtxdg version to 3.1.0
Alf Gaida [Sun, 15 Oct 2017 20:37:45 +0000 (22:37 +0200)] 
Bump minimum qtxdg version to 3.1.0

18 months agoDon't export github templates
Alf Gaida [Sun, 24 Sep 2017 16:59:39 +0000 (18:59 +0200)] 
Don't export github templates

20 months agoBump version and needed versions to the final values
Alf Gaida [Sat, 29 Jul 2017 18:53:40 +0000 (20:53 +0200)] 
Bump version and needed versions to the final values

21 months agolxqtpower: Allow disabling of lxqt-session provider
Palo Kisa [Wed, 28 Jun 2017 07:25:43 +0000 (09:25 +0200)] 
lxqtpower: Allow disabling of lxqt-session provider

To allow usage of LXQt::Power object inside of lxqt-session (handling
the called method of LXQtSessionProvider) we need to avoid recurently
calling lxqt-session itself.

21 months agoDrops Qt5Core_VERSION_STRING
Luís Pereira [Mon, 3 Jul 2017 17:22:33 +0000 (18:22 +0100)] 
Drops Qt5Core_VERSION_STRING

Use Qt5Core_VERSION. Qt5Core_VERSION_STRING is a compatibility variable and
it was removed in Qt 5.9 release.

22 months agoHtmlDelegate: Fix sizeHint() computation
Palo Kisa [Tue, 6 Jun 2017 13:37:17 +0000 (15:37 +0200)] 
HtmlDelegate: Fix sizeHint() computation

- w/o calling the QTextDocument::adjustSize() the size computation is
not correct
- the option.rect is not set if only the sizeHint() is needed by Qt

22 months agoAdd some comments about the meaning of versions
Alf Gaida [Wed, 7 Jun 2017 16:44:52 +0000 (18:44 +0200)] 
Add some comments about the meaning of versions

refs lxde/lxqt/issues/1236

22 months agoMove LXQt version back to liblxqt
Alf Gaida [Wed, 7 Jun 2017 16:27:42 +0000 (18:27 +0200)] 
Move LXQt version back to liblxqt

lxqt-build-tools is clearly the wrong place for these informations. The version
informations only belong to liblxqt.

23 months agoFixes (#118)
Luís Pereira [Sat, 22 Apr 2017 09:51:22 +0000 (10:51 +0100)] 
Fixes (#118)

* Drop the use of QList::first()

Use constFirst() instead. No temporaries created.

* Use Q_ENUM, drop deprecated Q_ENUMS

Explanation here: https://woboq.com/blog/q_enum.html

* Prevent a possible C++11 range for detach

* Use qEnvironmentVariableIsSet()

It's potentially much faster and can't throw exceptions.

* Updates Qt minimum required version to 5.5.0

Q_ENUM needs it.

2 years agolxqtapplication: Avoid wrong signal handling
Palo Kisa [Fri, 31 Mar 2017 07:13:00 +0000 (09:13 +0200)] 
lxqtapplication: Avoid wrong signal handling

Add the application object as receiver to QObject::connect() -> to
remove the connection automaticaly when the application object is
destructed.
W/o the automatic connection removal we could end in SEGFAULT if UNIX
signal is delivered after the QApplication destruction.

(this was a corner case with almost zero probablity, but now the UNIX
signal handling should be 100% correct)

2 years agoRemoves unneeded semicolon in namespace definition
Luís Pereira [Thu, 26 Jan 2017 16:35:00 +0000 (16:35 +0000)] 
Removes unneeded semicolon in namespace definition

2 years agoFix format conversions [-Wformat-pedantic] warnings
Luís Pereira [Thu, 26 Jan 2017 15:51:22 +0000 (15:51 +0000)] 
Fix format conversions [-Wformat-pedantic] warnings

Just cast it to the (void *).

2 years agoSuppress compiler warnings about unused function parameters
Luís Pereira [Tue, 24 Jan 2017 15:09:42 +0000 (15:09 +0000)] 
Suppress compiler warnings about unused function parameters

2 years agoRemoves extra semicolons in Qt's Q macros
Luís Pereira [Mon, 23 Jan 2017 13:22:33 +0000 (13:22 +0000)] 
Removes extra semicolons in Qt's Q macros

They are not needed and produce a warning.

2 years agoTranslator: Prefer XDG_DATA_DIRS over compiled in path
Palo Kisa [Mon, 13 Feb 2017 23:12:24 +0000 (00:12 +0100)] 
Translator: Prefer XDG_DATA_DIRS over compiled in path

Use the compiled in LXQT_SHARE_TRANSLATIONS_DIR as the last fallback,
t. m. prefer the XDG_DATA_DIRS%LXQT_RELATIVE_SHARE_TRANSLATIONS_DIR in
run-time.

2 years agoMerge pull request #114 from lxde/use-const-variables
Luís Pereira [Mon, 9 Jan 2017 12:46:16 +0000 (12:46 +0000)] 
Merge pull request #114 from lxde/use-const-variables

Use const variables

2 years agoHelp the compiler optimizing loops
Luís Pereira [Thu, 5 Jan 2017 20:11:08 +0000 (20:11 +0000)] 
Help the compiler optimizing loops

Make the compiler aware that the loop condition is const and only needs to
be evaluated one time.

2 years agoUse const variables where possible
Luís Pereira [Thu, 5 Jan 2017 20:03:27 +0000 (20:03 +0000)] 
Use const variables where possible

It helps the compiler in the optimization process.
It helps the programmer understanding the code.

2 years agoUpdate AUTHORS
Alf Gaida [Mon, 2 Jan 2017 19:52:01 +0000 (20:52 +0100)] 
Update AUTHORS

2 years agoRelease 0.11.1: Update changelog 0.11.1
Alf Gaida [Sun, 1 Jan 2017 21:49:10 +0000 (22:49 +0100)] 
Release 0.11.1: Update changelog

2 years agoBump needed build tools version (#113)
Alf Gaida [Sun, 1 Jan 2017 17:28:57 +0000 (18:28 +0100)] 
Bump needed build tools version (#113)

As liblxqt picks its version from build tools the minimum build tools version is the to be released version

2 years agobuild: Enable/disable WITH_XDG_DIRS_FALLBACK based on Qt version (#111)
palinek [Sun, 25 Dec 2016 10:46:04 +0000 (11:46 +0100)] 
build: Enable/disable WITH_XDG_DIRS_FALLBACK based on Qt version (#111)

Use homemade Xdg dirs settings fallback by default if Qt < 5.9.0 and
force disabling the workadound for Qt >= 5.9.0 (as from 5.9.0 the
proper XDG_CONFIG_DIRS support is directly in QSettings).

2 years agoUpdates lxqt-build-tools required version
Luís Pereira [Thu, 8 Dec 2016 15:42:33 +0000 (15:42 +0000)] 
Updates lxqt-build-tools required version

We need version 0.3.0.

2 years agoMerge branch 'refactor-superbuild'
Luís Pereira [Fri, 2 Dec 2016 20:06:19 +0000 (20:06 +0000)] 
Merge branch 'refactor-superbuild'

* refactor-superbuild:
  Adds a CMake minimum version requirement to the -config.cmake
  Refactors superbuild support
  Adds PROJECT_NAME to the build with Qt version message
  Pack target_compile_definitions() and target_include_directories()

2 years agoAdds a CMake minimum version requirement to the -config.cmake
Luís Pereira [Wed, 16 Nov 2016 19:13:54 +0000 (19:13 +0000)] 
Adds a CMake minimum version requirement to the -config.cmake

3.0.2 is our minimum.

2 years agoRefactors superbuild support
Luís Pereira [Wed, 9 Nov 2016 18:50:07 +0000 (18:50 +0000)] 
Refactors superbuild support

Use CMake policy NEW CMP0024 behavior.
Reference: https://cmake.org/cmake/help/v3.0/policy/CMP0024.html

2 years agoAdds PROJECT_NAME to the build with Qt version message
Luís Pereira [Thu, 27 Oct 2016 19:18:39 +0000 (20:18 +0100)] 
Adds PROJECT_NAME to the build with Qt version message

2 years agoPack target_compile_definitions() and target_include_directories()
Luís Pereira [Thu, 27 Oct 2016 17:57:42 +0000 (18:57 +0100)] 
Pack target_compile_definitions() and target_include_directories()

Terse and easier to read.

2 years agoMerge branch 'cmake-maint'
Luís Pereira [Thu, 3 Nov 2016 10:54:52 +0000 (10:54 +0000)] 
Merge branch 'cmake-maint'

* cmake-maint:
  Adds PROJECT_NAME to the build with Qt version message
  Pack target_compile_definitions() and target_include_directories()

2 years agoAdds PROJECT_NAME to the build with Qt version message
Luís Pereira [Thu, 27 Oct 2016 19:18:39 +0000 (20:18 +0100)] 
Adds PROJECT_NAME to the build with Qt version message

2 years agoPack target_compile_definitions() and target_include_directories()
Luís Pereira [Thu, 27 Oct 2016 17:57:42 +0000 (18:57 +0100)] 
Pack target_compile_definitions() and target_include_directories()

Terse and easier to read.

2 years agoUse the LXQtConfigVars module
Luís Pereira [Tue, 18 Oct 2016 21:04:06 +0000 (22:04 +0100)] 
Use the LXQtConfigVars module

Attention: All system wide build time configuration moved to the
lxqt-build-tools repo.
LXQT@LXQT_QT_VERSION@_FOUND and LXQT_USEQT@LXQT_QT_VERSION@ dropped. They
aren't used anymore.

2 years agoMerge branch 'use-lxqt-build-tools'
Luís Pereira [Fri, 14 Oct 2016 16:15:57 +0000 (17:15 +0100)] 
Merge branch 'use-lxqt-build-tools'

* use-lxqt-build-tools:
  Make liblxqt depend on lxqt-build-tools
  Use the lxqt-build-tools LXQtCreatePortableHeaders
  Use the new LXQt Build Tools package

2 years agoMake liblxqt depend on lxqt-build-tools
Luís Pereira [Fri, 14 Oct 2016 15:33:57 +0000 (16:33 +0100)] 
Make liblxqt depend on lxqt-build-tools

This way when using the liblxqt package we are implicitly using
lxqt-build-tools.
Proposed by palinek at
https://github.com/lxde/liblxqt/pull/109#issuecomment-252158163

2 years agoUse the lxqt-build-tools LXQtCreatePortableHeaders
Luís Pereira [Tue, 11 Oct 2016 21:43:29 +0000 (22:43 +0100)] 
Use the lxqt-build-tools LXQtCreatePortableHeaders

Drop the local version.

2 years agoUse the new LXQt Build Tools package
Luís Pereira [Thu, 6 Oct 2016 14:19:21 +0000 (15:19 +0100)] 
Use the new LXQt Build Tools package

Remove all the stuff moved to the lxqt-build-tools repository.

2 years agoMerge branch 'required-versions'
Luís Pereira [Tue, 4 Oct 2016 10:11:56 +0000 (11:11 +0100)] 
Merge branch 'required-versions'

* required-versions:
  Sets a minimum Qt5Xdg required version
  Adds minimum Qt version requirement (5.4.2)

2 years agoSets a minimum Qt5Xdg required version
Luís Pereira [Mon, 3 Oct 2016 18:42:01 +0000 (19:42 +0100)] 
Sets a minimum Qt5Xdg required version

Set it everywhere.

2 years agoAdds minimum Qt version requirement (5.4.2)
Luís Pereira [Mon, 3 Oct 2016 17:57:10 +0000 (18:57 +0100)] 
Adds minimum Qt version requirement (5.4.2)

It also drops the QUIET option. The REQUIRED option will make it be verbose
anyway.
Use a more terse way of expressing the Qt required packages.

2 years agoRemove cpack (#107)
Alf Gaida [Fri, 30 Sep 2016 15:07:28 +0000 (17:07 +0200)] 
Remove cpack (#107)

* remove "building with cpack" from CMakeLists.txt - not used anymore
* Added very basic .gitattributes

2 years agoRelease 0.11.0: Add changelog 0.11.0
Alf Gaida [Fri, 23 Sep 2016 22:43:41 +0000 (00:43 +0200)] 
Release 0.11.0: Add changelog

2 years agoBump version ot 0.11.0 (#105)
Alf Gaida [Fri, 23 Sep 2016 21:08:39 +0000 (23:08 +0200)] 
Bump version ot 0.11.0 (#105)

2 years agoSettings: Make use of reverse_iterator conditional
Palo Kisa [Mon, 19 Sep 2016 06:52:46 +0000 (08:52 +0200)] 
Settings: Make use of reverse_iterator conditional

...as the reverse_itrators etc. were added in Qt v5.6.

2 years agoApplication: Add <cerrno> include
Palo Kisa [Mon, 19 Sep 2016 06:42:01 +0000 (08:42 +0200)] 
Application: Add <cerrno> include

2 years agoSettings: Add "homemade" XDG_CONFIG_DIRS support
Palo Kisa [Tue, 23 Aug 2016 20:46:10 +0000 (22:46 +0200)] 
Settings: Add "homemade" XDG_CONFIG_DIRS support

The LXQt::Settings uses the Qt's QSettings which doesn't support the
xdg spec regarding th XDG_CONFIG_DIRS ->
https://bugreports.qt.io/browse/QTBUG-34919.

This commit adds a workaround by searching the directories for
system wide configuration file and if found, all keys from it are
copied into the user configuration file.

2 years agoSettings: unify duplicated code
Palo Kisa [Tue, 23 Aug 2016 11:13:18 +0000 (13:13 +0200)] 
Settings: unify duplicated code

2 years agoAdd README.md
Peter Mattern [Mon, 5 Sep 2016 14:50:03 +0000 (16:50 +0200)] 
Add README.md

2 years agotranslations: Change default translations repository
Palo Kisa [Fri, 12 Aug 2016 07:36:31 +0000 (09:36 +0200)] 
translations: Change default translations repository

https://github.com/lxde/translations.git -> https://github.com/lxde/lxqt-l10n.git

2 years agoUpdate DBus Notify method annotation name
Luís Pereira [Thu, 4 Aug 2016 14:23:33 +0000 (15:23 +0100)] 
Update DBus Notify method annotation name

Just following moc suggestion. And making a warning go away.

2 years agoFix lupdate warning missing Q_OBJECT macro
Luís Pereira [Wed, 3 Aug 2016 15:34:08 +0000 (16:34 +0100)] 
Fix lupdate warning missing Q_OBJECT macro

We don't need to add the Q_OBJECT macro. Just use the
Q_DECLARE_TR_FUNCTIONS macro.

2 years agoReplaces deprecated QStyleOptionViewItemV4
Luís Pereira [Tue, 2 Aug 2016 14:35:46 +0000 (15:35 +0100)] 
Replaces deprecated QStyleOptionViewItemV4

QStyleOptionViewItemV4 is just a synonym for QStyleOptionViewItem.
Cleaner builds.

2 years agoDon't lock the screen when it's already locked.
Luís Pereira [Fri, 1 Jul 2016 10:58:45 +0000 (11:58 +0100)] 
Don't lock the screen when it's already locked.

The status of the screensaver wasn't taken into account when locking it.
Now we only lock it if it's not already locked. This way we don't get the
annoying error message stating that there was an error starting the
screensaver.

Part of the code is taken from the Chromium project. Adapted to fit our
purposes.

2 years agolxqtscreensaver: Makes it a opaque pointer class
Luís Pereira [Thu, 30 Jun 2016 19:01:04 +0000 (20:01 +0100)] 
lxqtscreensaver: Makes it a opaque pointer class

It helps with where the implementation details of a library may be hidden
from its users and changes to the implementation can be made to a library
without breaking binary compatibility.

2 years agoGridLayout: Store current animation flag
Palo Kisa [Thu, 23 Jun 2016 07:48:35 +0000 (09:48 +0200)] 
GridLayout: Store current animation flag

2 years agolxqtgridlayout: Move private class definition
Palo Kisa [Thu, 23 Jun 2016 07:45:28 +0000 (09:45 +0200)] 
lxqtgridlayout: Move private class definition

2 years agoHtmlDelegate: Take layoutDirection into account
Palo Kisa [Mon, 27 Jun 2016 10:02:22 +0000 (12:02 +0200)] 
HtmlDelegate: Take layoutDirection into account

With this we will correctly support RightToLeft layout direction.

2 years agoGridLayout: Take layoutDirection into account
Palo Kisa [Wed, 22 Jun 2016 20:43:43 +0000 (22:43 +0200)] 
GridLayout: Take layoutDirection into account

With this we will correctly support RightToLeft layout direction.

2 years agoapplication: Correct signal handling & clean-up (#72)
palinek [Sun, 26 Jun 2016 18:46:28 +0000 (20:46 +0200)] 
application: Correct signal handling & clean-up (#72)

2 years agolxqtpower: Removes unused stuff
Luís Pereira [Wed, 1 Jun 2016 22:35:18 +0000 (23:35 +0100)] 
lxqtpower: Removes unused stuff

Left behind stuff.

2 years agoSingleApplication: Only create an DBus adaptor when needed
Luís Pereira [Tue, 31 May 2016 20:34:48 +0000 (21:34 +0100)] 
SingleApplication: Only create an DBus adaptor when needed

Save an allocation and helps static analyzers.

2 years agoNotificationPrivate: Fixes programming typo
Luís Pereira [Wed, 25 May 2016 19:23:47 +0000 (20:23 +0100)] 
NotificationPrivate: Fixes programming typo

Automatic casts tricked the compiler.

2 years agoDon't set icon theme name
Palo Kisa [Fri, 20 May 2016 11:34:15 +0000 (13:34 +0200)] 
Don't set icon theme name

We don't need/want to handle global settings change. lxqt-qtplugin is handling that.

2 years agoconfigdialog: Update icons in ThemeChanged event
Palo Kisa [Fri, 20 May 2016 08:49:04 +0000 (10:49 +0200)] 
configdialog: Update icons in ThemeChanged event

We don't need/want to handle global settings change. lxqt-qtplugin is handling that.
We just need to know that the theme was changed.

2 years agolxqtpower: Add suspend and hibernate to ConsoleKit2 provider
Thomas Masper [Thu, 19 May 2016 22:57:09 +0000 (00:57 +0200)] 
lxqtpower: Add suspend and hibernate to ConsoleKit2 provider

Fixes lxde/lxqt#939

2 years agoLXQtTranslateTs.cmake: Enable PULL_TRANSLATIONS by default
Palo Kisa [Tue, 17 May 2016 20:29:38 +0000 (22:29 +0200)] 
LXQtTranslateTs.cmake: Enable PULL_TRANSLATIONS by default

2 years agoLXQtTranslateTs.cmake: Use/update template in remote repo
Palo Kisa [Mon, 16 May 2016 12:49:24 +0000 (14:49 +0200)] 
LXQtTranslateTs.cmake: Use/update template in remote repo

...if possible

2 years ago.gitignore: Cleanup
Palo Kisa [Sun, 15 May 2016 21:54:05 +0000 (23:54 +0200)] 
.gitignore: Cleanup

2 years agobuild: Use external translations
Palo Kisa [Sun, 15 May 2016 21:52:59 +0000 (23:52 +0200)] 
build: Use external translations

2 years agots-files removal (#90)
Alf Gaida [Sat, 14 May 2016 11:18:37 +0000 (13:18 +0200)] 
ts-files removal (#90)

2 years agoGridLayout: Fix memory leak
Palo Kisa [Thu, 12 May 2016 08:13:10 +0000 (10:13 +0200)] 
GridLayout: Fix memory leak

Qt docs for QLayout::AddItem(): "Note: The ownership of item is transferred
to the layout, and it's the layout's responsibility to delete it."

2 years agoMerge branch 'icon-theme-fallback'
Luís Pereira [Fri, 6 May 2016 16:38:09 +0000 (17:38 +0100)] 
Merge branch 'icon-theme-fallback'

* icon-theme-fallback:
  Print warning messages when using the fallback Icon Theme
  Use LXQT_DATA_DIR for fallback icon theme search path
  Sets Oxygen as the only fallback icon theme

2 years agotranslations: Fix external translations logic
Luís Pereira [Wed, 27 Apr 2016 15:50:16 +0000 (16:50 +0100)] 
translations: Fix external translations logic

- Don't try to remove non existing files (If the file doesn't exists
ex_result will contain an error message and fail.)

- Make sure git init doesn't fail (If ${TR_TRANSLATION_DIR} doesn't
exist, git init will fail.)

2 years agotranslations: Add external translations support
Palo Kisa [Tue, 12 Jan 2016 08:44:22 +0000 (09:44 +0100)] 
translations: Add external translations support

Translations can now be pulled from external git repository, if enabled
by PULL_TRANSLATIONS.

2 years agoMerge branch 'improve-iterator-performance'
Luís Pereira [Thu, 28 Apr 2016 16:00:49 +0000 (17:00 +0100)] 
Merge branch 'improve-iterator-performance'

* improve-iterator-performance:
  Use const references with the foreach iterator
  SettingsCache: Improve performance

2 years agoconfigdialog: Fix icon bar sizing
Palo Kisa [Tue, 26 Apr 2016 11:19:16 +0000 (13:19 +0200)] 
configdialog: Fix icon bar sizing

2 years agoconfigdialog: fix size of PageSelectWidget (#83)
tsujan [Mon, 25 Apr 2016 23:26:52 +0000 (03:56 +0430)] 
configdialog: fix size of PageSelectWidget (#83)

2 years agoUse const references with the foreach iterator
Luís Pereira [Fri, 22 Apr 2016 12:14:42 +0000 (13:14 +0100)] 
Use const references with the foreach iterator

We should use const references whenever possible.

2 years agoSettingsCache: Improve performance
Luís Pereira [Fri, 22 Apr 2016 11:45:14 +0000 (12:45 +0100)] 
SettingsCache: Improve performance

Drop the foreach iterator. key could be make an const QString& and the
penalty would be lower. But this is a special case. It will help the panel
to load faster.

2 years agoPrint warning messages when using the fallback Icon Theme
Luís Pereira [Thu, 21 Apr 2016 23:01:44 +0000 (00:01 +0100)] 
Print warning messages when using the fallback Icon Theme

It helps when debugging.

2 years agoUse LXQT_DATA_DIR for fallback icon theme search path
Luís Pereira [Fri, 22 Apr 2016 10:15:22 +0000 (11:15 +0100)] 
Use LXQT_DATA_DIR for fallback icon theme search path

Drop hardcoded path.

2 years agoSets Oxygen as the only fallback icon theme
Luís Pereira [Fri, 22 Apr 2016 10:10:34 +0000 (11:10 +0100)] 
Sets Oxygen as the only fallback icon theme

LXQt historically used Oxygen.
Having a list of "fallbacks" defeats the purpose of a fallback: something
to use in last resort.
failback variable renamed to fallback.

2 years agoAdds CMAKE_INSTALL_PREFIX to the LXQt Theme search paths
Luís Pereira [Wed, 20 Apr 2016 21:57:06 +0000 (22:57 +0100)] 
Adds CMAKE_INSTALL_PREFIX to the LXQt Theme search paths

Just add it as a fallback.

3 years agoLXQtCompilerSettings: Add QT_USE_QSTRINGBUILDER to the compile definitions
Luís Pereira [Fri, 8 Apr 2016 17:50:45 +0000 (18:50 +0100)] 
LXQtCompilerSettings: Add QT_USE_QSTRINGBUILDER to the compile definitions

It makes the '+' will automatically be performed as the QStringBuilder '%'
everywhere.

Disclaimer: This is not entirely source compatible.

3 years agoMerge pull request #82 from lxde/translate-add-options
Luís Pereira [Fri, 18 Mar 2016 10:05:09 +0000 (10:05 +0000)] 
Merge pull request #82 from lxde/translate-add-options

Translate add options

3 years agoSingleApplication: Use QCoreApplication::exit() instead of ::exit()
Palo Kisa [Mon, 8 Feb 2016 10:57:12 +0000 (11:57 +0100)] 
SingleApplication: Use QCoreApplication::exit() instead of ::exit()

3 years agobump year
Alf Gaida [Thu, 3 Mar 2016 14:54:08 +0000 (15:54 +0100)] 
bump year

3 years agoTranslateDesktopTs: Adds UPDATE_OPTIONS options
Luís Pereira [Tue, 23 Feb 2016 11:44:01 +0000 (11:44 +0000)] 
TranslateDesktopTs: Adds UPDATE_OPTIONS options

qtX_add_translation() allows the user to pass OPTIONS to lupdate, but we
didn't provide a way, for the user of lxqt_translate_ts(), to set them.

3 years agoTranslateDesktop: Remove lupdate absolute option
Luís Pereira [Mon, 22 Feb 2016 12:13:37 +0000 (12:13 +0000)] 
TranslateDesktop: Remove lupdate absolute option

Not needed, it's the default behaviour.

3 years agoTranslateDesktop: Use -a switch in grep commands
Palo Kisa [Fri, 12 Feb 2016 07:11:41 +0000 (08:11 +0100)] 
TranslateDesktop: Use -a switch in grep commands

As of grep v2.23 some translation files are considered as binary (maybe because of some locale settings)
and then the created .desktop file is malformed. So we force the grep to handle all provided input
files as text.

closes lxde/lxqt#957

3 years agoLXQtTheme: Remove (outdated) "singleclick" qss assembly
Palo Kisa [Tue, 2 Feb 2016 20:45:01 +0000 (21:45 +0100)] 
LXQtTheme: Remove (outdated) "singleclick" qss assembly

Assembly of the "activate-on-singleclick" style hint into style sheet is outdated. The *desktop.conf* confiugration
is not used any more (it is a remnant from the razor days). *lxqt-config-input* stores this configuration in
"lxqt.conf" settings file (key "single_click_activate") and this value is used in our *lxqt-qtplugin* (QPA platform theme)

3 years agosettings: Upgrade emitting of "changed" signals
Palo Kisa [Thu, 7 Jan 2016 23:52:22 +0000 (00:52 +0100)] 
settings: Upgrade emitting of "changed" signals

- Same signal settingsChanged() was emitted upon object based change (setValue(), erase()...) and
upon change made by external entity (watching the file changes) => we added other two signals
settingsChangedFromExternal() & settingsChangedByApp() to make these changes distinguishable. The
signal settingsChanged() was left for backwards compatibility.

- Emitting of settingsChanged*() signals was delayed to be able to distinguish if change made on file was
based upon our write/sync or by external application.

3 years agoSingleApplication: Call also QWidget::show on activate
Palo Kisa [Fri, 18 Dec 2015 18:18:02 +0000 (19:18 +0100)] 
SingleApplication: Call also QWidget::show on activate

Needed if the application is hidden (not only minimized), e.g. for lxqt-runner

3 years agoUpdated Russian translation
Igor [Wed, 9 Dec 2015 10:28:03 +0000 (13:28 +0300)] 
Updated Russian translation
Removed ru_RU file