diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:05:41 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:05:41 -0600 |
commit | 2d6954f69caf63ed5057bd8e1405a65d7d970292 (patch) | |
tree | 88e6436b2e81d4e68313f02a9021054252e14cc4 /kexi/formeditor/container.h | |
parent | f0de9e167e289ab7dc33e57f077c1f04ec7c68c8 (diff) | |
download | koffice-2d6954f69caf63ed5057bd8e1405a65d7d970292.tar.gz koffice-2d6954f69caf63ed5057bd8e1405a65d7d970292.zip |
Rename obsolete tq methods to standard names
Diffstat (limited to 'kexi/formeditor/container.h')
-rw-r--r-- | kexi/formeditor/container.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kexi/formeditor/container.h b/kexi/formeditor/container.h index 36f35e82..bd46c7a1 100644 --- a/kexi/formeditor/container.h +++ b/kexi/formeditor/container.h @@ -104,9 +104,9 @@ class KFORMEDITOR_EXPORT Container : public TQObject void setObjectTree(ObjectTreeItem *t) { m_tree = t; } //! \return a pointer to the TQLayout of this Container, or 0 if there is not. - TQLayout* tqlayout() const { return m_layout; } + TQLayout* layout() const { return m_layout; } - //! \return the type of the tqlayout associated to this Container's widget (see LayoutType enum). + //! \return the type of the layout associated to this Container's widget (see LayoutType enum). LayoutType layoutType() const { return m_layType; } //! \return the margin of this Container. @@ -115,8 +115,8 @@ class KFORMEDITOR_EXPORT Container : public TQObject //! \return the spacing of this Container. int layoutSpacing() { return m_spacing; } - /*! Sets this Container to use \a type of tqlayout. The widget are inserted - automatically in the tqlayout following their positions. + /*! Sets this Container to use \a type of layout. The widget are inserted + automatically in the layout following their positions. \sa createBoxLayout(), createGridLayout() */ void setLayout(LayoutType type); @@ -129,7 +129,7 @@ class KFORMEDITOR_EXPORT Container : public TQObject //! \return the string representing the layoutType \a type. static TQString layoutTypeToString(int type); - //! \return the LayoutType (an int) for a given tqlayout name. + //! \return the LayoutType (an int) for a given layout name. static LayoutType stringToLayoutType(const TQString &name); /*! Stops the inline editing of the current widget (as when you click @@ -161,8 +161,8 @@ class KFORMEDITOR_EXPORT Container : public TQObject to Container's widget. */ void deleteWidget(TQWidget *w); - /*! Recreates the Container tqlayout. Calls this when a widget has been moved - or added to update the tqlayout. */ + /*! Recreates the Container layout. Calls this when a widget has been moved + or added to update the layout. */ void reloadLayout(); protected slots: @@ -178,7 +178,7 @@ class KFORMEDITOR_EXPORT Container : public TQObject /*! Internal function to create a KexiFlowLayout. */ void createFlowLayout(); - /*! Internal function to create a GridLayout. if \a testOnly is true, the tqlayout + /*! Internal function to create a GridLayout. if \a testOnly is true, the layout is simulated, and only the widget's grid info aris filled. */ void createGridLayout(bool testOnly=false); |