[kcmtabbox] Adjust to new API

* no componentData()
* no insertCatalog()
This commit is contained in:
Martin Gräßlin 2013-09-30 15:11:07 +02:00
parent a560147d70
commit 5c23434b6d

View file

@ -57,11 +57,10 @@ KWinTabBoxConfigForm::KWinTabBoxConfigForm(QWidget* parent)
} }
KWinTabBoxConfig::KWinTabBoxConfig(QWidget* parent, const QVariantList& args) KWinTabBoxConfig::KWinTabBoxConfig(QWidget* parent, const QVariantList& args)
: KCModule(KWinTabBoxConfigFactory::componentData(), parent, args) : KCModule(parent, args)
, m_config(KSharedConfig::openConfig("kwinrc")) , m_config(KSharedConfig::openConfig("kwinrc"))
, m_layoutPreview(NULL) , m_layoutPreview(NULL)
{ {
KGlobal::locale()->insertCatalog("kwin_effects");
KTabWidget* tabWidget = new KTabWidget(this); KTabWidget* tabWidget = new KTabWidget(this);
m_primaryTabBoxUi = new KWinTabBoxConfigForm(tabWidget); m_primaryTabBoxUi = new KWinTabBoxConfigForm(tabWidget);
m_alternativeTabBoxUi = new KWinTabBoxConfigForm(tabWidget); m_alternativeTabBoxUi = new KWinTabBoxConfigForm(tabWidget);