[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/workspace/kwin/clients/plastik/config
From: Maks Orlovich <maksim () kde ! org>
Date: 2009-12-31 18:21:16
Message-ID: 1262283676.594147.11576.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1068280 by orlovich:
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
M +1 -1 config.cpp
M +3 -3 config.h
M +31 -33 configdialog.ui
--- trunk/KDE/kdebase/workspace/kwin/clients/plastik/config/config.cpp \
#1068279:1068280 @@ -43,7 +43,7 @@
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
--- trunk/KDE/kdebase/workspace/kwin/clients/plastik/config/config.h #1068279:1068280
@@ -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 @@
private:
KConfig *m_config;
- ConfigDialog *m_dialog;
+ PlastikConfigDialog *m_dialog;
};
#endif // KNIFTYCONFIG_H
--- trunk/KDE/kdebase/workspace/kwin/clients/plastik/config/configdialog.ui \
#1068279:1068280 @@ -1,7 +1,8 @@
-<ui version="4.0" >
- <class>ConfigDialog</class>
- <widget class="QWidget" name="ConfigDialog" >
- <property name="geometry" >
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>PlastikConfigDialog</class>
+ <widget class="QWidget" name="PlastikConfigDialog">
+ <property name="geometry">
<rect>
<x>0</x>
<y>0</y>
@@ -9,92 +10,89 @@
<height>176</height>
</rect>
</property>
- <property name="windowTitle" >
+ <property name="windowTitle">
<string>Config Dialog</string>
</property>
- <layout class="QVBoxLayout" >
- <property name="margin" >
+ <layout class="QVBoxLayout">
+ <property name="margin">
<number>0</number>
</property>
<item>
- <widget class="KButtonGroup" name="titleAlign" >
- <property name="title" >
+ <widget class="KButtonGroup" name="titleAlign">
+ <property name="title">
<string>Title &Alignment</string>
</property>
- <layout class="QHBoxLayout" name="horizontalLayout" >
+ <layout class="QHBoxLayout" name="horizontalLayout">
<item>
- <widget class="QRadioButton" name="AlignLeft" >
- <property name="text" >
+ <widget class="QRadioButton" name="AlignLeft">
+ <property name="text">
<string>Left</string>
</property>
</widget>
</item>
<item>
- <widget class="QRadioButton" name="AlignHCenter" >
- <property name="text" >
+ <widget class="QRadioButton" name="AlignHCenter">
+ <property name="text">
<string>Center</string>
</property>
</widget>
</item>
<item>
- <widget class="QRadioButton" name="AlignRight" >
- <property name="text" >
+ <widget class="QRadioButton" name="AlignRight">
+ <property name="text">
<string>Right</string>
</property>
</widget>
</item>
</layout>
- <zorder>AlignLeft</zorder>
- <zorder>AlignHCenter</zorder>
- <zorder>AlignRight</zorder>
</widget>
</item>
<item>
- <widget class="QCheckBox" name="coloredBorder" >
- <property name="whatsThis" >
+ <widget class="QCheckBox" name="coloredBorder">
+ <property name="whatsThis">
<string>Check this option if the window border should be painted in the \
titlebar color. Otherwise it will be painted in the background color.</string> \
</property>
- <property name="text" >
+ <property name="text">
<string>Colored window border</string>
</property>
- <property name="shortcut" >
+ <property name="shortcut">
<string/>
</property>
</widget>
</item>
<item>
- <widget class="QCheckBox" name="titleShadow" >
- <property name="whatsThis" >
+ <widget class="QCheckBox" name="titleShadow">
+ <property name="whatsThis">
<string>Check this option if you want the titlebar text to have a 3D look with \
a shadow behind it.</string> </property>
- <property name="text" >
+ <property name="text">
<string>Use shadowed &text</string>
</property>
</widget>
</item>
<item>
- <widget class="QCheckBox" name="animateButtons" >
- <property name="whatsThis" >
+ <widget class="QCheckBox" name="animateButtons">
+ <property name="whatsThis">
<string>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.</string> </property>
- <property name="text" >
+ <property name="text">
<string>Animate buttons</string>
</property>
</widget>
</item>
<item>
- <widget class="QCheckBox" name="menuClose" >
- <property name="whatsThis" >
+ <widget class="QCheckBox" name="menuClose">
+ <property name="whatsThis">
<string>Check this option if you want windows to be closed when you double \
click the menu button, similar to Microsoft Windows.</string> </property>
- <property name="text" >
+ <property name="text">
<string>Close windows by double clicking the menu button</string>
</property>
</widget>
</item>
</layout>
</widget>
- <customwidgets>
+ <customwidgets>
<customwidget>
<class>KButtonGroup</class>
<extends>QGroupBox</extends>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic