summaryrefslogtreecommitdiffstats
path: root/arts/gui/kde/kpopupbox_impl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'arts/gui/kde/kpopupbox_impl.cpp')
-rw-r--r--arts/gui/kde/kpopupbox_impl.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/arts/gui/kde/kpopupbox_impl.cpp b/arts/gui/kde/kpopupbox_impl.cpp
index 8e90451c..e685b1ae 100644
--- a/arts/gui/kde/kpopupbox_impl.cpp
+++ b/arts/gui/kde/kpopupbox_impl.cpp
@@ -22,7 +22,7 @@
#include "kpopupbox_impl.h"
#include "kpopupbox_private.h"
-#include <layout.h>
+#include <tqlayout.h>
using namespace Arts;
@@ -60,8 +60,8 @@ KPopupBox_widget::KPopupBox_widget( TQWidget *parent, const char* name ) : TQFra
this->setMargin( 1 ); this->setLineWidth( 1 );
_titlebar = new TQFrame( this );
- _titlebarlayout = new TQBoxLayout( _titlebar, TQBoxLayout::BottomToTop );
- _titlebarlayout->setAutoAdd( true );
+ _titlebartqlayout = new TQBoxLayout( _titlebar, TQBoxLayout::BottomToTop );
+ _titlebartqlayout->setAutoAdd( true );
_showbutton = new ShowButton( _titlebar );
connect( _showbutton, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( hide( bool ) ) );
@@ -90,13 +90,13 @@ void KPopupBox_widget::direction( Arts::Direction n ) {
switch( n ) {
case LeftToRight:
case RightToLeft:
- _titlebarlayout->setDirection( TQBoxLayout::BottomToTop );
+ _titlebartqlayout->setDirection( TQBoxLayout::BottomToTop );
_drag->setMinimumHeight( 30 );
_drag->setMinimumWidth( 0 );
break;
case TopToBottom:
case BottomToTop:
- _titlebarlayout->setDirection( TQBoxLayout::RightToLeft );
+ _titlebartqlayout->setDirection( TQBoxLayout::RightToLeft );
_drag->setMinimumHeight( 0 );
_drag->setMinimumWidth( 30 );
}