diff options
Diffstat (limited to 'lib/compatibility/knewstuff/engine.cpp')
-rw-r--r-- | lib/compatibility/knewstuff/engine.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/compatibility/knewstuff/engine.cpp b/lib/compatibility/knewstuff/engine.cpp index ace0b75e..eaa810c3 100644 --- a/lib/compatibility/knewstuff/engine.cpp +++ b/lib/compatibility/knewstuff/engine.cpp @@ -40,8 +40,8 @@ using namespace KNS; Engine::Engine( KNewStuff *newStuff, const TQString &type, - TQWidget *parentWidget ) : - mParentWidget( parentWidget ), mDownloadDialog( 0 ), + TQWidget *tqparentWidget ) : + mParentWidget( tqparentWidget ), mDownloadDialog( 0 ), mUploadDialog( 0 ), mProviderDialog( 0 ), mUploadProvider( 0 ), mNewStuff( newStuff ), mType( type ) { @@ -51,8 +51,8 @@ Engine::Engine( KNewStuff *newStuff, const TQString &type, } Engine::Engine( KNewStuff *newStuff, const TQString &type, - const TQString &providerList, TQWidget *parentWidget ) : - mParentWidget( parentWidget ), + const TQString &providerList, TQWidget *tqparentWidget ) : + mParentWidget( tqparentWidget ), mDownloadDialog( 0 ), mUploadDialog( 0 ), mProviderDialog( 0 ), mUploadProvider( 0 ), mProviderList( providerList ), mNewStuff( newStuff ), @@ -283,11 +283,11 @@ void Engine::upload( Entry *entry ) } TQString text = i18n("The files to be uploaded have been created at:\n"); - text.append( i18n("Data file: %1\n").arg( mUploadFile) ); + text.append( i18n("Data file: %1\n").tqarg( mUploadFile) ); if (!mPreviewFile.isEmpty()) { - text.append( i18n("Preview image: %1\n").arg( mPreviewFile) ); + text.append( i18n("Preview image: %1\n").tqarg( mPreviewFile) ); } - text.append( i18n("Content information: %1\n").arg( mUploadMetaFile) ); + text.append( i18n("Content information: %1\n").tqarg( mUploadMetaFile) ); text.append( i18n("Those files can now be uploaded.\n") ); text.append( i18n("Beware that any people might have access to them at any time.") ); @@ -343,7 +343,7 @@ bool Engine::createMetaFile( Entry *entry ) TQFile f( mUploadMetaFile ); if ( !f.open( IO_WriteOnly ) ) { - mUploadMetaFile = TQString::null; + mUploadMetaFile = TQString(); return false; } @@ -401,7 +401,7 @@ void Engine::slotUploadPreviewJobResult( KIO::Job *job ) void Engine::slotUploadMetaJobResult( KIO::Job *job ) { - mUploadMetaFile = TQString::null; + mUploadMetaFile = TQString(); if ( job->error() ) { kdDebug(5850) << "Error uploading new stuff metadata." << endl; job->showErrorDialog( mParentWidget ); |