Rename KStandard for enhanced compatibility with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent 6ae2b4312c
commit c28a6f5198

@ -104,7 +104,7 @@ BatchProcessImagesDialog::BatchProcessImagesDialog( KURL::List urlList, KIPI::In
{
// Init. Tmp folder
KStandardDirs dir;
TDEStandardDirs dir;
m_tmpFolder = dir.saveLocation("tmp", "kipi-batchprocessimagesplugin-" +
TQString::number(getpid()) );

@ -201,7 +201,7 @@ void CDArchiving::readSettings(void)
bool CDArchiving::showDialog()
{
KStandardDirs dir;
TDEStandardDirs dir;
m_tmpFolder = dir.saveLocation("tmp", "kipi-cdarchivingplugin-" + TQString::number(getpid()) + "/");
m_HTMLInterfaceFolder = "";

@ -637,7 +637,7 @@ void CDArchivingDialog::slotOk()
TQFile fileK3b(getK3bBinPathName());
if ( !KStandardDirs::findExe( getK3bBinPathName() ))
if ( !TDEStandardDirs::findExe( getK3bBinPathName() ))
{
KMessageBox::sorry(this, i18n("K3b binary path is not valid. Please check it."));
return;

@ -262,7 +262,7 @@ KIPIFindDupplicateImagesPlugin::ImageSimilarityData* KIPIFindDupplicateImagesPlu
// Saving the data.
TQFile f(m_cacheDir+TQFileInfo(filename).absFilePath()+".dat");
KStandardDirs::makeDir(TQFileInfo(f).dirPath(true));
TDEStandardDirs::makeDir(TQFileInfo(f).dirPath(true));
if ( f.open(IO_WriteOnly) )
{

@ -96,7 +96,7 @@ void Plugin_FlickrExport::slotActivate()
return;
}
KStandardDirs dir;
TDEStandardDirs dir;
TQString Tmp = dir.saveLocation("tmp", "kipi-flickrexportplugin-" + TQString::number(getpid()) + "/");
// We clean it up in the close button

@ -497,7 +497,7 @@ int kmlExport::getConfig()
m_GPXOpacity = config.readNumEntry("Track Opacity", 64 );
m_GPXAltitudeMode = config.readNumEntry("GPX Altitude Mode", 0);
KStandardDirs dir;
TDEStandardDirs dir;
m_tempDestDir = dir.saveLocation("tmp", "kipi-kmlrexportplugin-" + TQString::number(getpid()) + '/');
m_imageDir = "images/";
m_googlemapSize = 32;

@ -540,7 +540,7 @@ void KImg2mpgData::slotEncode( void )
}
// Init. Tmp folder
KStandardDirs dir;
TDEStandardDirs dir;
m_TmpFolderConfig = dir.saveLocation("tmp", "kipi-mpegencoderplugin-" +
TQString::number(getpid()) );

@ -97,7 +97,7 @@ void Plugin_PicasawebExport::slotActivate()
return;
}
KStandardDirs dir;
TDEStandardDirs dir;
TQString Tmp = dir.saveLocation("tmp", "kipi-picasawebexportplugin-" + TQString::number(getpid()) + "/");
m_dlg = new KIPIPicasawebExportPlugin::PicasawebWindow(interface,Tmp,TQT_TQWIDGET(kapp->activeWindow()));

@ -111,7 +111,7 @@ void Plugin_PrintWizard::slotActivate()
}
KIPIPrintWizardPlugin::FrmPrintWizard frm(TQT_TQWIDGET(kapp->activeWindow()));
KStandardDirs dir;
TDEStandardDirs dir;
TQString tempPath = dir.saveLocation("tmp", "kipi-printwizardplugin-" + TQString::number(getpid()) + "/");
frm.print(fileList, tempPath);
frm.exec();

@ -118,7 +118,7 @@ void Plugin_SendImages::slotActivate()
if ( !images.isValid() || images.images().isEmpty() )
return;
KStandardDirs dir;
TDEStandardDirs dir;
TQString Tmp = dir.saveLocation("tmp", "kipi-sendimagesplugin-" + TQString::number(getpid()) + "/");
m_sendImagesOperation = new KIPISendimagesPlugin::SendImages( interface, Tmp, images, this );

Loading…
Cancel
Save