/usr/include/KF5/KConfigWidgets/kconfigviewstatesaver.h is in libkf5configwidgets-dev 5.18.0-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | #ifndef KCONFIGVIEWSTATESAVER_H
#define KCONFIGVIEWSTATESAVER_H
#include "kviewstateserializer.h"
#include "kconfigwidgets_export.h"
class KConfigGroup;
class KCONFIGWIDGETS_EXPORT KConfigViewStateSaver : public KViewStateSerializer
{
Q_OBJECT
public:
explicit KConfigViewStateSaver(QObject *parent = 0);
/**
Saves the state to the @p configGroup
*/
void saveState(KConfigGroup &configGroup);
/**
Restores the state from the @p configGroup
*/
void restoreState(const KConfigGroup &configGroup);
};
#endif
|