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);
|
QVBoxLayout *layout = new QVBoxLayout(this);
|
||||||
layout->setMargin(0);
|
layout->setMargin(0);
|
||||||
tab = new KTabWidget(this);
|
tab = new QTabWidget(this);
|
||||||
layout->addWidget(tab);
|
layout->addWidget(tab);
|
||||||
|
|
||||||
mFocus = new KFocusConfig(false, mConfig, this);
|
mFocus = new KFocusConfig(false, mConfig, this);
|
||||||
|
@ -186,7 +186,7 @@ KActionsOptions::KActionsOptions(QWidget *parent, const QVariantList &)
|
||||||
|
|
||||||
QVBoxLayout *layout = new QVBoxLayout(this);
|
QVBoxLayout *layout = new QVBoxLayout(this);
|
||||||
layout->setMargin(0);
|
layout->setMargin(0);
|
||||||
tab = new KTabWidget(this);
|
tab = new QTabWidget(this);
|
||||||
layout->addWidget(tab);
|
layout->addWidget(tab);
|
||||||
|
|
||||||
mTitleBarActions = new KTitleBarActionsConfig(false, mConfig, this);
|
mTitleBarActions = new KTitleBarActionsConfig(false, mConfig, this);
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
#ifndef __MAIN_H__
|
#ifndef __MAIN_H__
|
||||||
#define __MAIN_H__
|
#define __MAIN_H__
|
||||||
|
|
||||||
#include <KTabWidget>
|
#include <QTabWidget>
|
||||||
#include <kcmodule.h>
|
#include <kcmodule.h>
|
||||||
|
|
||||||
class KConfig;
|
class KConfig;
|
||||||
|
@ -57,7 +57,7 @@ protected Q_SLOTS:
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
KTabWidget *tab;
|
QTabWidget *tab;
|
||||||
|
|
||||||
KFocusConfig *mFocus;
|
KFocusConfig *mFocus;
|
||||||
KTitleBarActionsConfig *mTitleBarActions;
|
KTitleBarActionsConfig *mTitleBarActions;
|
||||||
|
@ -88,7 +88,7 @@ protected Q_SLOTS:
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
KTabWidget *tab;
|
QTabWidget *tab;
|
||||||
|
|
||||||
KTitleBarActionsConfig *mTitleBarActions;
|
KTitleBarActionsConfig *mTitleBarActions;
|
||||||
KWindowActionsConfig *mWindowActions;
|
KWindowActionsConfig *mWindowActions;
|
||||||
|
|
Loading…
Reference in a new issue