From 3073e12f4e88c79af3c0c1fa6e199004ca2e2444 Mon Sep 17 00:00:00 2001 From: Maks Orlovich Date: Thu, 31 Dec 2009 18:21:15 +0000 Subject: [PATCH] Fix symbol clash on ConfigDialog between this and systemsettings which makes it crash on trying to open this kcm with plastik deco active and non-hidden-visibility build svn path=/trunk/KDE/kdebase/workspace/; revision=1068280 --- clients/plastik/config/config.cpp | 2 +- clients/plastik/config/config.h | 6 +-- clients/plastik/config/configdialog.ui | 64 +++++++++++++------------- 3 files changed, 35 insertions(+), 37 deletions(-) diff --git a/clients/plastik/config/config.cpp b/clients/plastik/config/config.cpp index aa0286dc06..a4ddfe08ed 100644 --- a/clients/plastik/config/config.cpp +++ b/clients/plastik/config/config.cpp @@ -43,7 +43,7 @@ PlastikConfig::PlastikConfig(KConfig* config, QWidget* parent) KGlobal::locale()->insertCatalog("kwin_clients"); // create and show the configuration dialog - m_dialog = new ConfigDialog(parent); + m_dialog = new PlastikConfigDialog(parent); m_dialog->show(); // load the configuration diff --git a/clients/plastik/config/config.h b/clients/plastik/config/config.h index 03ab3a65d0..b037efefd2 100644 --- a/clients/plastik/config/config.h +++ b/clients/plastik/config/config.h @@ -27,10 +27,10 @@ #include "ui_configdialog.h" class KConfig; -class ConfigDialog : public QWidget, public Ui::ConfigDialog +class PlastikConfigDialog : public QWidget, public Ui::PlastikConfigDialog { public: - ConfigDialog( QWidget *parent ) : QWidget( parent ) { + PlastikConfigDialog( QWidget *parent ) : QWidget( parent ) { setupUi( this ); } }; @@ -53,7 +53,7 @@ public slots: private: KConfig *m_config; - ConfigDialog *m_dialog; + PlastikConfigDialog *m_dialog; }; #endif // KNIFTYCONFIG_H diff --git a/clients/plastik/config/configdialog.ui b/clients/plastik/config/configdialog.ui index fcdb52728d..fe9f53a5ab 100644 --- a/clients/plastik/config/configdialog.ui +++ b/clients/plastik/config/configdialog.ui @@ -1,7 +1,8 @@ - - ConfigDialog - - + + + PlastikConfigDialog + + 0 0 @@ -9,92 +10,89 @@ 176 - + Config Dialog - - + + 0 - - + + Title &Alignment - + - - + + Left - - + + Center - - + + Right - AlignLeft - AlignHCenter - AlignRight - - + + Check this option if the window border should be painted in the titlebar color. Otherwise it will be painted in the background color. - + Colored window border - + - - + + Check this option if you want the titlebar text to have a 3D look with a shadow behind it. - + Use shadowed &text - - + + Check this option if you want the buttons to fade in when the mouse pointer hovers over them and fade out again when it moves away. - + Animate buttons - - + + Check this option if you want windows to be closed when you double click the menu button, similar to Microsoft Windows. - + Close windows by double clicking the menu button - + KButtonGroup QGroupBox