KF5 port KTabWidget -> QTabWidget
Replace deprecated KTabWidget with QTabWidget Signed-off-by: Laurent Navet <laurent.navet@gmail.com> REVIEW: 114465
This commit is contained in:
parent
fcd15efb31
commit
17d28f2639
2 changed files with 5 additions and 5 deletions
|
@ -73,7 +73,7 @@ KWinOptions::KWinOptions(QWidget *parent, const QVariantList &)
|
|||
|
||||
QVBoxLayout *layout = new QVBoxLayout(this);
|
||||
layout->setMargin(0);
|
||||
tab = new KTabWidget(this);
|
||||
tab = new QTabWidget(this);
|
||||
layout->addWidget(tab);
|
||||
|
||||
mFocus = new KFocusConfig(false, mConfig, this);
|
||||
|
@ -186,7 +186,7 @@ KActionsOptions::KActionsOptions(QWidget *parent, const QVariantList &)
|
|||
|
||||
QVBoxLayout *layout = new QVBoxLayout(this);
|
||||
layout->setMargin(0);
|
||||
tab = new KTabWidget(this);
|
||||
tab = new QTabWidget(this);
|
||||
layout->addWidget(tab);
|
||||
|
||||
mTitleBarActions = new KTitleBarActionsConfig(false, mConfig, this);
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#ifndef __MAIN_H__
|
||||
#define __MAIN_H__
|
||||
|
||||
#include <KTabWidget>
|
||||
#include <QTabWidget>
|
||||
#include <kcmodule.h>
|
||||
|
||||
class KConfig;
|
||||
|
@ -57,7 +57,7 @@ protected Q_SLOTS:
|
|||
|
||||
private:
|
||||
|
||||
KTabWidget *tab;
|
||||
QTabWidget *tab;
|
||||
|
||||
KFocusConfig *mFocus;
|
||||
KTitleBarActionsConfig *mTitleBarActions;
|
||||
|
@ -88,7 +88,7 @@ protected Q_SLOTS:
|
|||
|
||||
private:
|
||||
|
||||
KTabWidget *tab;
|
||||
QTabWidget *tab;
|
||||
|
||||
KTitleBarActionsConfig *mTitleBarActions;
|
||||
KWindowActionsConfig *mWindowActions;
|
||||
|
|
Loading…
Reference in a new issue