diff --git a/kcmkwin/kwinrules/ruleswidget.cpp b/kcmkwin/kwinrules/ruleswidget.cpp index 17dec959b9..ce318ed243 100644 --- a/kcmkwin/kwinrules/ruleswidget.cpp +++ b/kcmkwin/kwinrules/ruleswidget.cpp @@ -47,8 +47,8 @@ namespace KWinInternal enable_##var->setWhatsThis( enableDesc ); \ rule_##var->setWhatsThis( type##RuleDesc ); -RulesWidget::RulesWidget( QWidget* parent, const char* name ) -: RulesWidgetBase( parent, name ) +RulesWidget::RulesWidget( QWidget* parent ) +: RulesWidgetBase( parent ) , detect_dlg( NULL ) { QString enableDesc = @@ -728,8 +728,8 @@ void RulesDialog::accept() KDialogBase::accept(); } -EditShortcut::EditShortcut( QWidget* parent, const char* name ) -: EditShortcutBase( parent, name ) +EditShortcut::EditShortcut( QWidget* parent ) +: EditShortcutBase( parent ) { } @@ -762,8 +762,8 @@ QString EditShortcutDialog::shortcut() const return widget->shortcut->text(); } -ShortcutDialog::ShortcutDialog( const KShortcut& cut, QWidget* parent, const char* name ) - : KShortcutDialog( cut, false /*TODO???*/, parent, name ) +ShortcutDialog::ShortcutDialog( const KShortcut& cut, QWidget* parent ) + : KShortcutDialog( cut, false /*TODO???*/, parent ) { } diff --git a/kcmkwin/kwinrules/ruleswidget.h b/kcmkwin/kwinrules/ruleswidget.h index 94af87ef4d..bcf3f022f4 100644 --- a/kcmkwin/kwinrules/ruleswidget.h +++ b/kcmkwin/kwinrules/ruleswidget.h @@ -38,7 +38,7 @@ class RulesWidget { Q_OBJECT public: - RulesWidget( QWidget* parent = NULL, const char* name = NULL ); + RulesWidget( QWidget* parent = NULL ); void setRules( Rules* r ); Rules* rules() const; bool finalCheck(); @@ -115,7 +115,7 @@ class EditShortcut { Q_OBJECT public: - EditShortcut( QWidget* parent = NULL, const char* name = NULL ); + EditShortcut( QWidget* parent = NULL ); protected: void editShortcut(); void clearShortcut(); @@ -139,7 +139,7 @@ class ShortcutDialog { Q_OBJECT public: - ShortcutDialog( const KShortcut& cut, QWidget* parent = NULL, const char* name = NULL ); + ShortcutDialog( const KShortcut& cut, QWidget* parent = NULL ); virtual void accept(); };