Refactoring: Renames saveGeometry to saveState.. same for restore.

This commit is contained in:
mfreiholz
2016-02-12 11:43:34 +01:00
parent 93ddfb6413
commit 893d9f4e43
7 changed files with 35 additions and 30 deletions

View File

@@ -12,7 +12,7 @@ class QSplitter;
* Developed by Manuel Freiholz
*/
#if 0
#if 1
#define ADS_NAMESPACE_BEGIN namespace ads {
#define ADS_NAMESPACE_END }
#define ADS_NS ads

View File

@@ -47,8 +47,8 @@ public:
QRect outerLeftDropRect() const;
// Geometry and state serialization
QByteArray saveGeometry() const;
bool restoreGeometry(const QByteArray& data);
QByteArray saveState() const;
bool restoreState(const QByteArray& data);
QMenu* createContextMenu() const;

View File

@@ -15,7 +15,7 @@ class FloatingWidget;
class SectionTitleWidget : public QFrame
{
Q_OBJECT
//Q_PROPERTY(bool activeTab MEMBER _activeTab NOTIFY activeTabChanged)
Q_PROPERTY(bool activeTab MEMBER _activeTab NOTIFY activeTabChanged)
friend class SectionWidget;