From 495d08bc2db58ee7fc4ea55a7158f2f61b82fc56 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 3 Jan 2011 20:16:47 +0000 Subject: Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1211357 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kappfinder/toplevel.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'kappfinder/toplevel.cpp') 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(); -- cgit v1.2.1