Rename KStandard for enhanced compatibility with KDE4

pull/1/head
Timothy Pearson 11 years ago
parent 104e9d723f
commit 3b29c4546c

@ -120,7 +120,7 @@ Kile::Kile( bool allowRestore, TQWidget *parent, const char *name ) :
readGUISettings();
TDEGlobal::dirs()->addResourceType( "app_symbols",KStandardDirs::kde_default("data") + "kile/mathsymbols/"); // needed for Symbolview
TDEGlobal::dirs()->addResourceType( "app_symbols",TDEStandardDirs::kde_default("data") + "kile/mathsymbols/"); // needed for Symbolview
setXMLFile( "kileui.rc" );
@ -465,14 +465,14 @@ void Kile::setupBottomBar()
void Kile::setupGraphicTools()
{
KileConfig::setImagemagick(!(KStandardDirs::findExe("identify").isNull()));
KileConfig::setImagemagick(!(TDEStandardDirs::findExe("identify").isNull()));
}
void Kile::setupPreviewTools()
{
// search for tools
bool dvipng = !(KStandardDirs::findExe("dvipng").isNull());
bool convert = !(KStandardDirs::findExe("convert").isNull());
bool dvipng = !(TDEStandardDirs::findExe("dvipng").isNull());
bool convert = !(TDEStandardDirs::findExe("convert").isNull());
KileConfig::setDvipng(dvipng);
KileConfig::setConvert(convert);

@ -84,8 +84,8 @@ PostscriptDialog::PostscriptDialog(TQWidget *parent,
grid->setColStretch(1,1);
// line 0: TQLabel
bool pstops = ! KStandardDirs::findExe("pstops").isNull();
bool psselect = ! KStandardDirs::findExe("psselect").isNull();
bool pstops = ! TDEStandardDirs::findExe("pstops").isNull();
bool psselect = ! TDEStandardDirs::findExe("psselect").isNull();
TQString title = i18n("Conversion of ps files is made by 'pstops' and 'psselect'.\nBe sure to call 'dvips' with option '-t a4' and\nhyperref package (if needed) with option 'a4paper'.");

Loading…
Cancel
Save