git-svn-id: svn://db.shs.com.ru/libs@439 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -15,6 +15,12 @@
|
||||
#include "spinslider.h"
|
||||
#include "qpiconfig.h"
|
||||
|
||||
/// for all children widgets of "QMainWindow"s and MainWidgets
|
||||
/// check for slots
|
||||
/// * void sessionSave(QByteArray * data);
|
||||
/// * void sessionLoad(QByteArray * data);
|
||||
|
||||
|
||||
class SessionManager: public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
@@ -59,9 +65,11 @@ public:
|
||||
|
||||
void save();
|
||||
void load(bool onlyMainwindow = false);
|
||||
void clear();
|
||||
void clear(bool with_filename = true);
|
||||
|
||||
private:
|
||||
QMap<const QMetaObject*, QByteArray> metaFunctions(const QSet<QObject*> & objects, QByteArray fname);
|
||||
|
||||
QVector<QPair<QString, QMainWindow * > > mwindows;
|
||||
QVector<QPair<QString, QWidget * > > widgets;
|
||||
QVector<QPair<QString, QCheckBox * > > checks;
|
||||
|
||||
Reference in New Issue
Block a user