summaryrefslogtreecommitdiffstats
path: root/src/part/toolbar.cpp
diff options
context:
space:
mode:
authorgregory guy <[email protected]>2020-06-13 16:09:24 +0200
committergregory guy <[email protected]>2020-06-13 16:09:24 +0200
commit2c9bc9b806f533df7b8f5349467d0f4be95314a4 (patch)
tree15f82ae94dd430374f3d939958912c4fb2855326 /src/part/toolbar.cpp
parent38eaf7209a322a622e1b898eaa5477568ca9c6b6 (diff)
downloadcodeine-2c9bc9b806f533df7b8f5349467d0f4be95314a4.tar.gz
codeine-2c9bc9b806f533df7b8f5349467d0f4be95314a4.zip
Conversion qt3 -> tqt3
Signed-off-by: gregory guy <[email protected]>
Diffstat (limited to 'src/part/toolbar.cpp')
-rw-r--r--src/part/toolbar.cpp18
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;