Refactoring. Move "inline" specifier to the definition of the function.
--HG-- branch : develop
This commit is contained in:
parent
660406ab35
commit
1d82d96562
|
@ -71,7 +71,7 @@ public:
|
||||||
QMarginsF &operator*=(qreal factor) Q_DECL_NOTHROW;
|
QMarginsF &operator*=(qreal factor) Q_DECL_NOTHROW;
|
||||||
QMarginsF &operator/=(qreal divisor);
|
QMarginsF &operator/=(qreal divisor);
|
||||||
|
|
||||||
Q_DECL_CONSTEXPR inline QMargins toMargins() const Q_DECL_NOTHROW;
|
Q_DECL_CONSTEXPR QMargins toMargins() const Q_DECL_NOTHROW;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
qreal m_left;
|
qreal m_left;
|
||||||
|
|
|
@ -63,10 +63,10 @@ public:
|
||||||
void SetWidget(QWidget *widget, bool own = true);
|
void SetWidget(QWidget *widget, bool own = true);
|
||||||
|
|
||||||
/** Returns widget to be popped up. */
|
/** Returns widget to be popped up. */
|
||||||
inline QWidget* Widget() const;
|
QWidget* Widget() const;
|
||||||
|
|
||||||
/** Returns true if widget is owned by this popup widget, false otherwise. */
|
/** Returns true if widget is owned by this popup widget, false otherwise. */
|
||||||
inline bool isOwned() const;
|
bool isOwned() const;
|
||||||
|
|
||||||
int GetLifeTime() const;
|
int GetLifeTime() const;
|
||||||
void SetLifeTime(int value);
|
void SetLifeTime(int value);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user