summaryrefslogtreecommitdiffstats
path: root/kexi/widget/utils/kexiflowlayout.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:31 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:31 -0600
commitc9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 (patch)
tree1ee1912ac4bb966475f0db0f2a78678661b4b4a5 /kexi/widget/utils/kexiflowlayout.h
parent94844816550ad672ccfcdc25659c625546239998 (diff)
downloadkoffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.tar.gz
koffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 94844816550ad672ccfcdc25659c625546239998.
Diffstat (limited to 'kexi/widget/utils/kexiflowlayout.h')
-rw-r--r--kexi/widget/utils/kexiflowlayout.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/kexi/widget/utils/kexiflowlayout.h b/kexi/widget/utils/kexiflowlayout.h
index f48ed140..0f6d8384 100644
--- a/kexi/widget/utils/kexiflowlayout.h
+++ b/kexi/widget/utils/kexiflowlayout.h
@@ -20,10 +20,10 @@
#ifndef KEXIFLOWLAYOUT_H
#define KEXIFLOWLAYOUT_H
-#include <layout.h>
+#include <tqlayout.h>
#include <tqptrlist.h>
-//! @short a special "flow" layout
+//! @short a special "flow" tqlayout
class KEXIGUIUTILS_EXPORT KexiFlowLayout : public TQLayout
{
public:
@@ -33,14 +33,14 @@ class KEXIGUIUTILS_EXPORT KexiFlowLayout : public TQLayout
~KexiFlowLayout();
- /*! \return the widgets in the order of the layout,
+ /*! \return the widgets in the order of the tqlayout,
ie as it is stored in m_list. You must delete the list after using it. */
TQPtrList<TQWidget>* widgetList() const;
- /*! Sets layout's orientation to \a orientation. Default orientation isQt::Vertical. */
+ /*! Sets tqlayout's orientation to \a orientation. Default orientation isQt::Vertical. */
void setOrientation(Qt::Orientation orientation) { m_orientation = orientation; }
- /*! \return layout's orientation. */
+ /*! \return tqlayout's orientation. */
Qt::Orientation orientation() const { return m_orientation; }
void setJustified(bool justify) { m_justify = justify; }
@@ -49,12 +49,12 @@ class KEXIGUIUTILS_EXPORT KexiFlowLayout : public TQLayout
virtual void addItem(TQLayoutItem *item);
virtual void addSpacing(int size);
virtual TQLayoutIterator iterator();
- virtual void invalidate();
+ virtual void tqinvalidate();
virtual bool hasHeightForWidth() const;
virtual int heightForWidth(int width) const;
- virtual TQSize sizeHint() const;
- virtual TQSize minimumSize() const;
+ virtual TQSize tqsizeHint() const;
+ virtual TQSize tqminimumSize() const;
virtual TQSizePolicy::ExpandData expanding() const;
virtual bool isEmpty();
@@ -75,7 +75,7 @@ class KEXIGUIUTILS_EXPORT KexiFlowLayout : public TQLayout
int m_cached_hfw;
bool m_justify;
Qt::Orientation m_orientation;
- TQSize m_cached_sizeHint;
+ TQSize m_cached_tqsizeHint;
TQSize m_cached_minSize;
};