diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 04:10:07 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 04:10:07 +0000 |
commit | fd3a982e26813f5bcc82c7e89ce6fa2ad44432bf (patch) | |
tree | 9eda848e56fcb862fdfdf479adeccd95b6fe387a /kappfinder/toplevel.cpp | |
parent | 02f67d0e1355b79b1806746efb0f2f640e57f13d (diff) | |
download | tdebase-fd3a982e26813f5bcc82c7e89ce6fa2ad44432bf.tar.gz tdebase-fd3a982e26813f5bcc82c7e89ce6fa2ad44432bf.zip |
Revert automated changes
Sorry guys, they are just not ready for prime time
Work will continue as always
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1212480 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 121b05c4a..660c5b498 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 *tqlayout = new TQVBoxLayout( this, marginHint() ); + TQVBoxLayout *layout = 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->tqsetAlignment( AlignAuto | WordBreak ); - tqlayout->addWidget( label ); + label->setAlignment( AlignAuto | WordBreak ); + layout->addWidget( label ); - tqlayout->addSpacing( 5 ); + layout->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); - tqlayout->addWidget( mListView ); + layout->addWidget( mListView ); mProgress = new KProgress( this ); mProgress->setPercentageVisible( false ); - tqlayout->addWidget( mProgress ); + layout->addWidget( mProgress ); mSummary = new TQLabel( i18n( "Summary:" ), this ); - tqlayout->addWidget( mSummary ); + layout->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->tqlayout(); + bbox->layout(); - tqlayout->addWidget( bbox ); + layout->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.tqreplace( TQRegExp( "^~/" ), TQDir::homeDirPath() + "/" ); + mDestDir = mDestDir.replace( TQRegExp( "^~/" ), TQDir::homeDirPath() + "/" ); KStartupInfo::appStarted(); |