summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-31 13:17:32 -0600
committerTimothy Pearson <[email protected]>2013-01-31 13:17:32 -0600
commit3b29c4546c2f5821853ed9553244075b0d820966 (patch)
treefae8ffe95bdf05af092f0ea55772ece99b9103a0 /src
parent104e9d723ff8f78c7e17a2285aa0768c4aa5576d (diff)
downloadkile-3b29c4546c2f5821853ed9553244075b0d820966.tar.gz
kile-3b29c4546c2f5821853ed9553244075b0d820966.zip
Rename KStandard for enhanced compatibility with KDE4
Diffstat (limited to 'src')
-rw-r--r--src/kile/kile.cpp8
-rw-r--r--src/kile/postscriptdialog.cpp4
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'.");