From 3b29c4546c2f5821853ed9553244075b0d820966 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 31 Jan 2013 13:17:32 -0600 Subject: Rename KStandard for enhanced compatibility with KDE4 --- src/kile/kile.cpp | 8 ++++---- src/kile/postscriptdialog.cpp | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/kile/kile.cpp b/src/kile/kile.cpp index c4f3c69..e83350a 100644 --- a/src/kile/kile.cpp +++ b/src/kile/kile.cpp @@ -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); diff --git a/src/kile/postscriptdialog.cpp b/src/kile/postscriptdialog.cpp index 97b46da..d5d3772 100644 --- a/src/kile/postscriptdialog.cpp +++ b/src/kile/postscriptdialog.cpp @@ -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'."); -- cgit v1.2.1