summaryrefslogtreecommitdiffstats
path: root/kappfinder/toplevel.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 20:16:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 20:16:47 +0000
commit495d08bc2db58ee7fc4ea55a7158f2f61b82fc56 (patch)
treedaabcb652c07b9a17cad88ca50b63a2d91ead4a3 /kappfinder/toplevel.cpp
parent50001f1757f97510e80cb1990e2f2d5b00144c2a (diff)
downloadtdebase-495d08bc2db58ee7fc4ea55a7158f2f61b82fc56.tar.gz
tdebase-495d08bc2db58ee7fc4ea55a7158f2f61b82fc56.zip
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
Diffstat (limited to 'kappfinder/toplevel.cpp')
-rw-r--r--kappfinder/toplevel.cpp20
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();