summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tqtinterface/qt4/src/widgets/tqsplitter.cpp10
-rw-r--r--tqtinterface/qt4/src/widgets/tqsplitter.h11
2 files changed, 10 insertions, 11 deletions
diff --git a/tqtinterface/qt4/src/widgets/tqsplitter.cpp b/tqtinterface/qt4/src/widgets/tqsplitter.cpp
index 5abfc71..50a4a13 100644
--- a/tqtinterface/qt4/src/widgets/tqsplitter.cpp
+++ b/tqtinterface/qt4/src/widgets/tqsplitter.cpp
@@ -148,6 +148,16 @@ void TQSplitterHandle::paintEvent( TQPaintEvent * )
TQStyle::Style_Horizontal : 0) );
}
+TQCOORD TQSplitterLayoutStruct::getSizer( Qt::Orientation orient )
+{
+ if ( sizer == -1 ) {
+ TQSize s = wid->tqsizeHint();
+ if ( !s.isValid() || wid->testWState(WState_Resized) )
+ s = wid->size();
+ sizer = ( orient == Qt::Horizontal ) ? s.width() : s.height();
+ }
+ return sizer;
+}
/*!
\class TQSplitter
diff --git a/tqtinterface/qt4/src/widgets/tqsplitter.h b/tqtinterface/qt4/src/widgets/tqsplitter.h
index 1ad7693..306e144 100644
--- a/tqtinterface/qt4/src/widgets/tqsplitter.h
+++ b/tqtinterface/qt4/src/widgets/tqsplitter.h
@@ -83,17 +83,6 @@ public:
TQCOORD getSizer( Qt::Orientation orient );
};
-TQCOORD TQSplitterLayoutStruct::getSizer( Qt::Orientation orient )
-{
- if ( sizer == -1 ) {
- TQSize s = wid->tqsizeHint();
- if ( !s.isValid() || wid->testWState(WState_Resized) )
- s = wid->size();
- sizer = ( orient == Qt::Horizontal ) ? s.width() : s.height();
- }
- return sizer;
-}
-
class TQ_EXPORT TQSplitter : public TQFrame
{
Q_OBJECT