allow for immediate syncs to be required
svn path=/trunk/KDE/kdelibs/; revision=898745
This commit is contained in:
parent
b8c4897535
commit
c8621101c1
@ -248,6 +248,11 @@ void Corona::requestConfigSync()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void Corona::requireConfigSync()
|
||||||
|
{
|
||||||
|
d->syncConfig();
|
||||||
|
}
|
||||||
|
|
||||||
void Corona::initializeLayout(const QString &configName)
|
void Corona::initializeLayout(const QString &configName)
|
||||||
{
|
{
|
||||||
clearContainments();
|
clearContainments();
|
||||||
|
9
corona.h
9
corona.h
@ -190,6 +190,15 @@ public Q_SLOTS:
|
|||||||
*/
|
*/
|
||||||
void requestConfigSync();
|
void requestConfigSync();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Schedules a time sensitive flush-to-disk synchronization of the
|
||||||
|
* configuration state. Since this method does not provide any sort of
|
||||||
|
* event compression, it should only be used when an *immediate* disk
|
||||||
|
* sync is *absolutely* required. Otherwise, use @see requestConfigSync()
|
||||||
|
* which does do event compression.
|
||||||
|
*/
|
||||||
|
void requireConfigSync();
|
||||||
|
|
||||||
Q_SIGNALS:
|
Q_SIGNALS:
|
||||||
/**
|
/**
|
||||||
* This signal indicates a new containment has been added to
|
* This signal indicates a new containment has been added to
|
||||||
|
Loading…
Reference in New Issue
Block a user