diff options
Diffstat (limited to 'src/part/toolbar.cpp')
-rw-r--r-- | src/part/toolbar.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/part/toolbar.cpp b/src/part/toolbar.cpp index 8939074..e998244 100644 --- a/src/part/toolbar.cpp +++ b/src/part/toolbar.cpp @@ -2,37 +2,37 @@ // See COPYING file for licensing information #include <kpushbutton.h> -#include <qapplication.h> -#include <qevent.h> +#include <ntqapplication.h> +#include <ntqevent.h> #include "toolbar.h" -MouseOverToolBar::MouseOverToolBar( QWidget *parent ) +MouseOverToolBar::MouseOverToolBar( TQWidget *parent ) : KToolBar( parent ) { parent->installEventFilter( this ); move( 0, 0 ); //TODO necessary? hide(); - setPalette( QApplication::palette() ); //videoWindow palette has a black background + setPalette( TQApplication::palette() ); //videoWindow palette has a black background } bool -MouseOverToolBar::eventFilter( QObject *o, QEvent *e ) +MouseOverToolBar::eventFilter( TQObject *o, TQEvent *e ) { Q_ASSERT( o == parent() ); switch( e->type() ) { - case QEvent::Resize: - resize( static_cast<QResizeEvent*>(e)->size().width(), sizeHint().height() ); + case TQEvent::Resize: + resize( static_cast<TQResizeEvent*>(e)->size().width(), sizeHint().height() ); break; - case QEvent::Enter: + case TQEvent::Enter: show(); break; - case QEvent::Leave: + case TQEvent::Leave: hide(); break; |