summaryrefslogtreecommitdiffstats
path: root/kexi/widget/utils/kexiflowlayout.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/widget/utils/kexiflowlayout.cpp')
-rw-r--r--kexi/widget/utils/kexiflowlayout.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kexi/widget/utils/kexiflowlayout.cpp b/kexi/widget/utils/kexiflowlayout.cpp
index 14e5e959..cedb7b74 100644
--- a/kexi/widget/utils/kexiflowlayout.cpp
+++ b/kexi/widget/utils/kexiflowlayout.cpp
@@ -69,7 +69,7 @@ KexiFlowLayoutIterator::takeCurrent()
KexiFlowLayout::KexiFlowLayout(TQWidget *parent, int border, int space, const char *name)
: TQLayout(parent, border, space, name)
{
- m_orientation =Qt::Horizontal;
+ m_orientation =TQt::Horizontal;
m_justify = false;
m_cached_width = 0;
}
@@ -77,7 +77,7 @@ KexiFlowLayout::KexiFlowLayout(TQWidget *parent, int border, int space, const ch
KexiFlowLayout::KexiFlowLayout(TQLayout* parent, int space, const char *name)
: TQLayout( parent, space, name )
{
- m_orientation =Qt::Horizontal;
+ m_orientation =TQt::Horizontal;
m_justify = false;
m_cached_width = 0;
}
@@ -85,7 +85,7 @@ KexiFlowLayout::KexiFlowLayout(TQLayout* parent, int space, const char *name)
KexiFlowLayout::KexiFlowLayout(int space, const char *name)
: TQLayout(space, name)
{
- m_orientation =Qt::Horizontal;
+ m_orientation =TQt::Horizontal;
m_justify = false;
m_cached_width = 0;
}
@@ -104,7 +104,7 @@ KexiFlowLayout::addItem(TQLayoutItem *item)
void
KexiFlowLayout::addSpacing(int size)
{
- if (m_orientation ==Qt::Horizontal)
+ if (m_orientation ==TQt::Horizontal)
addItem( TQT_TQLAYOUTITEM(new TQSpacerItem( size, 0, TQSizePolicy::Fixed, TQSizePolicy::Minimum )) );
else
addItem( TQT_TQLAYOUTITEM(new TQSpacerItem( 0, size, TQSizePolicy::Minimum, TQSizePolicy::Fixed )) );
@@ -145,7 +145,7 @@ KexiFlowLayout::isEmpty()
bool
KexiFlowLayout::hasHeightForWidth() const
{
- return (m_orientation ==Qt::Horizontal);
+ return (m_orientation ==TQt::Horizontal);
}
int
@@ -192,7 +192,7 @@ KexiFlowLayout::minimumSize() const
TQSizePolicy::ExpandData
KexiFlowLayout::expanding() const
{
- if(m_orientation == Qt::Vertical)
+ if(m_orientation == TQt::Vertical)
return TQSizePolicy::Vertically;
else
return TQSizePolicy::Horizontally;
@@ -202,7 +202,7 @@ void
KexiFlowLayout::setGeometry(const TQRect &r)
{
TQLayout::setGeometry(r);
- if(m_orientation ==Qt::Horizontal)
+ if(m_orientation ==TQt::Horizontal)
doHorizontalLayout(r);
else
doVerticalLayout(r);
@@ -211,7 +211,7 @@ KexiFlowLayout::setGeometry(const TQRect &r)
int
KexiFlowLayout::simulateLayout(const TQRect &r)
{
- if(m_orientation ==Qt::Horizontal)
+ if(m_orientation ==TQt::Horizontal)
return doHorizontalLayout(r, true);
else
return doVerticalLayout(r, true);