[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: KDE/kdelibs/kdeui/kernel
From:       "=?ISO-8859-1?Q?Alexis_M=E9nard?=" <menard () kde ! org>
Date:       2008-12-22 22:23:10
Message-ID: 81941aea0812221423t7c682680k2abcbfd0d8855dee () mail ! gmail ! com
[Download RAW message or body]

Great that is a nice feature... It save Qt Creator of an ugly interface...

Did Jens review this commit?

On Mon, Dec 22, 2008 at 2:45 PM, Olivier Goffart <ogoffart@kde.org> wrote:

> SVN commit 900237 by ogoffart:
>
> Notify non-kde Qt application of style changes
>
>
>
>  M  +5 -0      kglobalsettings.cpp
>
>
> --- trunk/KDE/kdelibs/kdeui/kernel/kglobalsettings.cpp #900236:900237
> @@ -783,6 +783,11 @@
>     args.append(arg);
>     message.setArguments(args);
>     QDBusConnection::sessionBus().send(message);
> +#ifdef Q_WS_X11
> +    //notify non-kde qt applications of the change
> +    extern void qt_x11_apply_settings_in_all_apps();
> +    qt_x11_apply_settings_in_all_apps();
> +#endif
>  }
>
>  void KGlobalSettings::Private::_k_slotNotifyChange(int changeType, int
> arg)
>

[Attachment #3 (text/html)]

Great that is a nice feature... It save Qt Creator of an ugly interface...<br><br>Did \
Jens review this commit?<br><br><div class="gmail_quote">On Mon, Dec 22, 2008 at 2:45 \
PM, Olivier Goffart <span dir="ltr">&lt;<a \
href="mailto:ogoffart@kde.org">ogoffart@kde.org</a>&gt;</span> wrote:<br> <blockquote \
class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt \
0pt 0.8ex; padding-left: 1ex;">SVN commit 900237 by ogoffart:<br> <br>
Notify non-kde Qt application of style changes<br>
<br>
<br>
<br>
&nbsp;M &nbsp;+5 -0 &nbsp; &nbsp; &nbsp;kglobalsettings.cpp<br>
<br>
<br>
--- trunk/KDE/kdelibs/kdeui/kernel/kglobalsettings.cpp #900236:900237<br>
@@ -783,6 +783,11 @@<br>
 &nbsp; &nbsp; args.append(arg);<br>
 &nbsp; &nbsp; message.setArguments(args);<br>
 &nbsp; &nbsp; QDBusConnection::sessionBus().send(message);<br>
+#ifdef Q_WS_X11<br>
+ &nbsp; &nbsp;//notify non-kde qt applications of the change<br>
+ &nbsp; &nbsp;extern void qt_x11_apply_settings_in_all_apps();<br>
+ &nbsp; &nbsp;qt_x11_apply_settings_in_all_apps();<br>
+#endif<br>
&nbsp;}<br>
<br>
&nbsp;void KGlobalSettings::Private::_k_slotNotifyChange(int changeType, int arg)<br>
</blockquote></div><br>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic