summaryrefslogtreecommitdiffstats
path: root/kmix/viewdockareapopup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmix/viewdockareapopup.cpp')
-rw-r--r--kmix/viewdockareapopup.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kmix/viewdockareapopup.cpp b/kmix/viewdockareapopup.cpp
index 859993bb..d8fda5a8 100644
--- a/kmix/viewdockareapopup.cpp
+++ b/kmix/viewdockareapopup.cpp
@@ -24,7 +24,7 @@
// TQt
#include <tqwidget.h>
#include <tqevent.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqframe.h>
#include <tqpushbutton.h>
#include <tqdatetime.h>
@@ -46,9 +46,9 @@
ViewDockAreaPopup::ViewDockAreaPopup(TQWidget* parent, const char* name, Mixer* mixer, ViewBase::ViewFlags vflags, KMixDockWidget *dockW )
: ViewBase(parent, name, TQString(), mixer, WStyle_Customize | WType_Popup | TQt::WStyle_DialogBorder, vflags), _mdw(0), _dock(dockW)
{
- TQBoxLayout *tqlayout = new TQHBoxLayout( this );
+ TQBoxLayout *layout = new TQHBoxLayout( this );
_frame = new TQFrame( this );
- tqlayout->addWidget( _frame );
+ layout->addWidget( _frame );
_frame->setFrameStyle( TQFrame::PopupPanel | TQFrame::Raised );
_frame->setLineWidth( 1 );
@@ -163,9 +163,9 @@ int ViewDockAreaPopup::advice() {
}
}
-TQSize ViewDockAreaPopup::tqsizeHint() const {
- // kdDebug(67100) << "ViewDockAreaPopup::tqsizeHint(): NewSize is " << _mdw->tqsizeHint() << "\n";
- return( _mdw->tqsizeHint() );
+TQSize ViewDockAreaPopup::sizeHint() const {
+ // kdDebug(67100) << "ViewDockAreaPopup::sizeHint(): NewSize is " << _mdw->sizeHint() << "\n";
+ return( _mdw->sizeHint() );
}
void ViewDockAreaPopup::constructionFinished() {
@@ -173,8 +173,8 @@ void ViewDockAreaPopup::constructionFinished() {
_mdw->move(0,0);
_mdw->show();
- _mdw->resize(_mdw->tqsizeHint() );
- resize(tqsizeHint());
+ _mdw->resize(_mdw->sizeHint() );
+ resize(sizeHint());
}