diff options
Diffstat (limited to 'kappfinder/toplevel.cpp')
-rw-r--r-- | kappfinder/toplevel.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kappfinder/toplevel.cpp b/kappfinder/toplevel.cpp index 660c5b498..121b05c4a 100644 --- a/kappfinder/toplevel.cpp +++ b/kappfinder/toplevel.cpp @@ -48,16 +48,16 @@ TopLevel::TopLevel( const TQString &destDir, TQWidget *parent, const char *name : KDialog( parent, name, true ) { setCaption( i18n( "KAppfinder" ) ); - TQVBoxLayout *layout = new TQVBoxLayout( this, marginHint() ); + TQVBoxLayout *tqlayout = new TQVBoxLayout( this, marginHint() ); TQLabel *label = new TQLabel( i18n( "The application finder looks for non-KDE " "applications on your system and adds " "them to the KDE menu system. " "Click 'Scan' to begin, select the desired applications and then click 'Apply'."), this); - label->setAlignment( AlignAuto | WordBreak ); - layout->addWidget( label ); + label->tqsetAlignment( AlignAuto | WordBreak ); + tqlayout->addWidget( label ); - layout->addSpacing( 5 ); + tqlayout->addSpacing( 5 ); mListView = new TQListView( this ); mListView->addColumn( i18n( "Application" ) ); @@ -67,14 +67,14 @@ TopLevel::TopLevel( const TQString &destDir, TQWidget *parent, const char *name mListView->setRootIsDecorated( true ); mListView->setAllColumnsShowFocus( true ); mListView->setSelectionMode(TQListView::NoSelection); - layout->addWidget( mListView ); + tqlayout->addWidget( mListView ); mProgress = new KProgress( this ); mProgress->setPercentageVisible( false ); - layout->addWidget( mProgress ); + tqlayout->addWidget( mProgress ); mSummary = new TQLabel( i18n( "Summary:" ), this ); - layout->addWidget( mSummary ); + tqlayout->addWidget( mSummary ); KButtonBox* bbox = new KButtonBox( this ); mScanButton = bbox->addButton( KGuiItem( i18n( "Scan" ), "find"), this, TQT_SLOT( slotScan() ) ); @@ -89,9 +89,9 @@ TopLevel::TopLevel( const TQString &destDir, TQWidget *parent, const char *name mApplyButton = bbox->addButton( KStdGuiItem::apply(), this, TQT_SLOT( slotCreate() ) ); mApplyButton->setEnabled( false ); bbox->addButton( KStdGuiItem::close(), kapp, TQT_SLOT( quit() ) ); - bbox->layout(); + bbox->tqlayout(); - layout->addWidget( bbox ); + tqlayout->addWidget( bbox ); connect( kapp, TQT_SIGNAL( lastWindowClosed() ), kapp, TQT_SLOT( quit() ) ); @@ -100,7 +100,7 @@ TopLevel::TopLevel( const TQString &destDir, TQWidget *parent, const char *name adjustSize(); mDestDir = destDir; - mDestDir = mDestDir.replace( TQRegExp( "^~/" ), TQDir::homeDirPath() + "/" ); + mDestDir = mDestDir.tqreplace( TQRegExp( "^~/" ), TQDir::homeDirPath() + "/" ); KStartupInfo::appStarted(); |