diff options
Diffstat (limited to 'arts/builder/propertypanel.cpp')
-rw-r--r-- | arts/builder/propertypanel.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arts/builder/propertypanel.cpp b/arts/builder/propertypanel.cpp index df76588a..65dcd49b 100644 --- a/arts/builder/propertypanel.cpp +++ b/arts/builder/propertypanel.cpp @@ -26,7 +26,7 @@ #include <kdebug.h> #include <tqlabel.h> -#include <tqlayout.h> +#include <layout.h> #include <tqpushbutton.h> #include <tqbuttongroup.h> #include <tqradiobutton.h> @@ -115,7 +115,7 @@ void PropertyPanel::setSelectedComponent( StructureComponent *component ) if(component->pixmap()) { moduleIconLabel->setPixmap( *component->pixmap() ); - moduleIconLabel->setMinimumSize( moduleIconLabel->tqsizeHint() ); + moduleIconLabel->setMinimumSize( moduleIconLabel->sizeHint() ); moduleIconLabel->show(); } else @@ -128,11 +128,11 @@ void PropertyPanel::setSelectedComponent( StructureComponent *component ) it != modulePorts.end(); it++) { TQString portTitle = (*it)->description - + TQString(" (%1)").tqarg( (*it)->PortDesc.type().direction == Arts::output ? + + TQString(" (%1)").arg( (*it)->PortDesc.type().direction == Arts::output ? i18n("OUTPUT") : i18n("INPUT") ); portCombo->insertItem( portTitle ); } - //portCombo->setMinimumSize( portCombo->tqsizeHint() ); + //portCombo->setMinimumSize( portCombo->sizeHint() ); setEnabled(true); } } @@ -344,7 +344,7 @@ bool PropertyPanel::eventFilter( TQObject *o, TQEvent *e ) TQString entered = TQT_TQKEYEVENT(e)->text(); bool goodString = entered.length() > 0; -// kdDebug() << TQString("pressed '%1'").tqarg(entered) << endl; +// kdDebug() << TQString("pressed '%1'").arg(entered) << endl; for( unsigned int i = 0; i < entered.length(); i++) goodString = goodString && entered[i].isLetterOrNumber(); |