-rw-r--r-- | libopie/big-screen/osplitter.cpp | 7 | ||||
-rw-r--r-- | libopie/big-screen/osplitter.h | 5 |
2 files changed, 7 insertions, 5 deletions
diff --git a/libopie/big-screen/osplitter.cpp b/libopie/big-screen/osplitter.cpp index b09bc94..0c9ed6c 100644 --- a/libopie/big-screen/osplitter.cpp +++ b/libopie/big-screen/osplitter.cpp @@ -305,10 +305,10 @@ QWidget* OSplitter::currentWidget() const{ return m_parentTab->currentWidget(); return 0l; } - - +/* wrong */ +#if 0 /** * @reimplented for internal reasons * returns the sizeHint of one of its sub widgets */ @@ -329,9 +329,9 @@ QSize OSplitter::minimumSizeHint()const { return m_hbox->sizeHint(); else return m_tabWidget->sizeHint(); } - +#endif /** * @reimplemented for internal reasons */ @@ -514,8 +514,9 @@ void OSplitter::commonChangeBox() { m_hbox->setGeometry( frameRect() ); m_hbox->show(); delete m_tabWidget; m_tabWidget = 0; + show(); // also show this widget } } /* diff --git a/libopie/big-screen/osplitter.h b/libopie/big-screen/osplitter.h index 33a085f..61a247b 100644 --- a/libopie/big-screen/osplitter.h +++ b/libopie/big-screen/osplitter.h @@ -90,8 +90,9 @@ public: void setCurrentWidget( const QString& label ); void setCurrentWidget( int ); QWidget* currentWidget()const; + signals: /** * Emitted if in tab and comes directly from the tab widget * @@ -107,10 +108,10 @@ signals: * @param ori The orientation */ void sizeChanged( bool b, Orientation ori); public: - QSize sizeHint()const; - QSize minimumSizeHint()const; +// QSize sizeHint()const; +// QSize minimumSizeHint()const; protected: void resizeEvent( QResizeEvent* ); |