diff options
Diffstat (limited to 'kmix/viewdockareapopup.cpp')
-rw-r--r-- | kmix/viewdockareapopup.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kmix/viewdockareapopup.cpp b/kmix/viewdockareapopup.cpp index d8fda5a8..859993bb 100644 --- a/kmix/viewdockareapopup.cpp +++ b/kmix/viewdockareapopup.cpp @@ -24,7 +24,7 @@ // TQt #include <tqwidget.h> #include <tqevent.h> -#include <layout.h> +#include <tqlayout.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 *layout = new TQHBoxLayout( this ); + TQBoxLayout *tqlayout = new TQHBoxLayout( this ); _frame = new TQFrame( this ); - layout->addWidget( _frame ); + tqlayout->addWidget( _frame ); _frame->setFrameStyle( TQFrame::PopupPanel | TQFrame::Raised ); _frame->setLineWidth( 1 ); @@ -163,9 +163,9 @@ int ViewDockAreaPopup::advice() { } } -TQSize ViewDockAreaPopup::sizeHint() const { - // kdDebug(67100) << "ViewDockAreaPopup::sizeHint(): NewSize is " << _mdw->sizeHint() << "\n"; - return( _mdw->sizeHint() ); +TQSize ViewDockAreaPopup::tqsizeHint() const { + // kdDebug(67100) << "ViewDockAreaPopup::tqsizeHint(): NewSize is " << _mdw->tqsizeHint() << "\n"; + return( _mdw->tqsizeHint() ); } void ViewDockAreaPopup::constructionFinished() { @@ -173,8 +173,8 @@ void ViewDockAreaPopup::constructionFinished() { _mdw->move(0,0); _mdw->show(); - _mdw->resize(_mdw->sizeHint() ); - resize(sizeHint()); + _mdw->resize(_mdw->tqsizeHint() ); + resize(tqsizeHint()); } |