diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-08-06 13:21:04 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-08-06 13:21:04 -0500 |
commit | 5b8fb8d16e8ccc768f14b4dba66ae9813cfd4e14 (patch) | |
tree | 9445c98da00e5ef800fc78f52e91a83de50caf4b /main/dependencies | |
parent | abad789602d2d90f0e379ab84f7cf399d6737fd3 (diff) | |
download | tde-5b8fb8d16e8ccc768f14b4dba66ae9813cfd4e14.tar.gz tde-5b8fb8d16e8ccc768f14b4dba66ae9813cfd4e14.zip |
Fix another Qt3/TQt4 FTBFS related to the QSplitter commit
Diffstat (limited to 'main/dependencies')
-rw-r--r-- | main/dependencies/qt3/src/widgets/qsplitter.cpp | 10 | ||||
-rw-r--r-- | main/dependencies/qt3/src/widgets/qsplitter.h | 11 |
2 files changed, 10 insertions, 11 deletions
diff --git a/main/dependencies/qt3/src/widgets/qsplitter.cpp b/main/dependencies/qt3/src/widgets/qsplitter.cpp index add3ade04..407441f5c 100644 --- a/main/dependencies/qt3/src/widgets/qsplitter.cpp +++ b/main/dependencies/qt3/src/widgets/qsplitter.cpp @@ -148,6 +148,16 @@ void QSplitterHandle::paintEvent( QPaintEvent * ) QStyle::Style_Horizontal : 0) ); } +QCOORD QSplitterLayoutStruct::getSizer( Orientation orient ) +{ + if ( sizer == -1 ) { + QSize s = wid->sizeHint(); + if ( !s.isValid() || wid->testWState(WState_Resized) ) + s = wid->size(); + sizer = ( orient == Horizontal ) ? s.width() : s.height(); + } + return sizer; +} /*! \class QSplitter diff --git a/main/dependencies/qt3/src/widgets/qsplitter.h b/main/dependencies/qt3/src/widgets/qsplitter.h index b5012f654..fea0af3ef 100644 --- a/main/dependencies/qt3/src/widgets/qsplitter.h +++ b/main/dependencies/qt3/src/widgets/qsplitter.h @@ -83,17 +83,6 @@ public: QCOORD getSizer( Orientation orient ); }; -QCOORD QSplitterLayoutStruct::getSizer( Orientation orient ) -{ - if ( sizer == -1 ) { - QSize s = wid->sizeHint(); - if ( !s.isValid() || wid->testWState(WState_Resized) ) - s = wid->size(); - sizer = ( orient == Horizontal ) ? s.width() : s.height(); - } - return sizer; -} - class Q_EXPORT QSplitter : public QFrame { Q_OBJECT |