Author: sh-sh-sh Date: Wed Dec 5 19:39:58 2007 New Revision: 42735 URL: http://svn.opensuse.org/viewcvs/yast?rev=42735&view=rev Log: cruft Modified: trunk/qt/src/YQDialog.cc trunk/qt/src/YQDialog.h Modified: trunk/qt/src/YQDialog.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt/src/YQDialog.cc?rev=42735&... ============================================================================== --- trunk/qt/src/YQDialog.cc (original) +++ trunk/qt/src/YQDialog.cc Wed Dec 5 19:39:58 2007 @@ -620,34 +620,6 @@ } -#if 0 -void -YQDialog::showEvent( QShowEvent * event ) -{ - y2debug( "Showing dialog %p", this ); - // y2debug( "Size: %d x %d", size().width(), size().height() ); - - QWidget::showEvent( event ); -} -#endif - - -#if 0 -void -YQDialog::paintEvent( QPaintEvent * event ) -{ - if ( event ) - { - QRect rect = event->rect(); - y2debug( "Repainting dialog %p: rect (%d, %d) w: %d h: %d", - this, rect.x(), rect.y(), rect.width(), rect.height() ); - } - - QWidget::paintEvent( event ); -} -#endif - - void YQDialog::closeEvent( QCloseEvent * event ) { @@ -666,7 +638,7 @@ { // The dialog itself doesn't need or want the keyboard focus, but obviously - // ( since Qt 2.3? ) it needs QFocusPolicy::StrongFocus for the default + // (since Qt 2.3?) it needs QFocusPolicy::StrongFocus for the default // button mechanism to work. So let's accept the focus and give it to some // child widget. Modified: trunk/qt/src/YQDialog.h URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt/src/YQDialog.h?rev=42735&r... ============================================================================== --- trunk/qt/src/YQDialog.h (original) +++ trunk/qt/src/YQDialog.h Wed Dec 5 19:39:58 2007 @@ -212,11 +212,6 @@ virtual void focusInEvent ( QFocusEvent * event ); virtual void resizeEvent ( QResizeEvent * event ); -#if 0 - virtual void showEvent ( QShowEvent * event ); - virtual void paintEvent ( QPaintEvent * event ); -#endif - // // Data members -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org