mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 10:22:48 +00:00
kdeui: remove unused KConfigDialogManager::Private member
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
c23e68ad4d
commit
f6ebdfe0a7
1 changed files with 7 additions and 10 deletions
|
@ -46,15 +46,12 @@ static const int s_kconfigdialogmanagerarea = 300;
|
||||||
class KConfigDialogManager::Private
|
class KConfigDialogManager::Private
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
Private(KConfigDialogManager *q)
|
Private()
|
||||||
: q(q),
|
: insideGroupBox(false)
|
||||||
insideGroupBox(false)
|
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
KConfigDialogManager *q;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* KConfigSkeleton object used to store settings
|
* KConfigSkeleton object used to store settings
|
||||||
*/
|
*/
|
||||||
|
@ -73,7 +70,7 @@ public:
|
||||||
|
|
||||||
KConfigDialogManager::KConfigDialogManager(QWidget *parent, KCoreConfigSkeleton *conf)
|
KConfigDialogManager::KConfigDialogManager(QWidget *parent, KCoreConfigSkeleton *conf)
|
||||||
: QObject(parent),
|
: QObject(parent),
|
||||||
d(new Private(this))
|
d(new Private())
|
||||||
{
|
{
|
||||||
d->m_conf = conf;
|
d->m_conf = conf;
|
||||||
d->m_dialog = parent;
|
d->m_dialog = parent;
|
||||||
|
@ -82,7 +79,7 @@ KConfigDialogManager::KConfigDialogManager(QWidget *parent, KCoreConfigSkeleton
|
||||||
|
|
||||||
KConfigDialogManager::KConfigDialogManager(QWidget *parent, KConfigSkeleton *conf)
|
KConfigDialogManager::KConfigDialogManager(QWidget *parent, KConfigSkeleton *conf)
|
||||||
: QObject(parent),
|
: QObject(parent),
|
||||||
d(new Private(this))
|
d(new Private())
|
||||||
{
|
{
|
||||||
d->m_conf = conf;
|
d->m_conf = conf;
|
||||||
d->m_dialog = parent;
|
d->m_dialog = parent;
|
||||||
|
@ -327,12 +324,12 @@ bool KConfigDialogManager::parseChildren(const QWidget *widget, bool trackChange
|
||||||
QHash<QString, QByteArray>::const_iterator changedIt = s_changedMap->constFind(childWidget->metaObject()->className());
|
QHash<QString, QByteArray>::const_iterator changedIt = s_changedMap->constFind(childWidget->metaObject()->className());
|
||||||
if (changedIt != s_changedMap->constEnd()) {
|
if (changedIt != s_changedMap->constEnd()) {
|
||||||
if ((!d->insideGroupBox || !qobject_cast<QRadioButton*>(childWidget)) &&
|
if ((!d->insideGroupBox || !qobject_cast<QRadioButton*>(childWidget)) &&
|
||||||
!qobject_cast<QGroupBox*>(childWidget) &&!qobject_cast<QTabWidget*>(childWidget)) {
|
!qobject_cast<QGroupBox*>(childWidget) &&!qobject_cast<QTabWidget*>(childWidget))
|
||||||
|
{
|
||||||
kDebug(s_kconfigdialogmanagerarea) << "Widget '" << widgetName << "' (" << childWidget->metaObject()->className() << ") remains unmanaged.";
|
kDebug(s_kconfigdialogmanagerarea) << "Widget '" << widgetName << "' (" << childWidget->metaObject()->className() << ") remains unmanaged.";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (bParseChildren) {
|
if (bParseChildren) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue