From 4c097708c4cc24f3b8e4c21f14644f5715767d47 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 24 Jan 2013 13:40:51 -0600 Subject: Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4 --- ksig/ksig.cpp | 6 +++--- ksig/siggenerator.cpp | 4 ++-- ksig/siglistview.cpp | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'ksig') diff --git a/ksig/ksig.cpp b/ksig/ksig.cpp index 1cc7ca1..4f8a0c3 100644 --- a/ksig/ksig.cpp +++ b/ksig/ksig.cpp @@ -87,7 +87,7 @@ void KSig::setupLayout() sigEdit = new KTextEdit(splitter, "sigEdit"); sigEdit->setTextFormat(TQt::PlainText); - sigEdit->setFont(KGlobalSettings::fixedFont()); + sigEdit->setFont(TDEGlobalSettings::fixedFont()); sigEdit->setEnabled(false); sigEdit->setCheckSpellingEnabled(true); @@ -128,7 +128,7 @@ void KSig::loadData() void KSig::readConfig() { setAutoSaveSettings(); - KConfig *config = KGlobal::config(); + KConfig *config = TDEGlobal::config(); { KConfigGroupSaver saver(config, "Settings"); if(splitter) { @@ -148,7 +148,7 @@ void KSig::readConfig() void KSig::writeConfig() { - KConfig *config = KGlobal::config(); + KConfig *config = TDEGlobal::config(); { KConfigGroupSaver saver(config, "Settings"); if(splitter) { diff --git a/ksig/siggenerator.cpp b/ksig/siggenerator.cpp index 0bfc4c1..aa2a7f3 100644 --- a/ksig/siggenerator.cpp +++ b/ksig/siggenerator.cpp @@ -28,7 +28,7 @@ SigGenerator::SigGenerator() { - TQString dir = KGlobal::dirs()->saveLocation("appdata"); + TQString dir = TDEGlobal::dirs()->saveLocation("appdata"); TQFile file(dir + "sigs.sigml"); if(file.open(IO_ReadOnly) && doc.setContent(&file)) { @@ -36,7 +36,7 @@ SigGenerator::SigGenerator() file.close(); } - KConfig *config = KGlobal::config(); + KConfig *config = TDEGlobal::config(); { KConfigGroupSaver saver(config, "Settings"); header = config->readEntry("Header"); diff --git a/ksig/siglistview.cpp b/ksig/siglistview.cpp index 4bbc693..76a440f 100644 --- a/ksig/siglistview.cpp +++ b/ksig/siglistview.cpp @@ -112,7 +112,7 @@ SigListView::SigListView(TQWidget *parent, const char *name) : KListView(parent, { addColumn(i18n("Signatures")); - TQString dir = KGlobal::dirs()->saveLocation("appdata"); + TQString dir = TDEGlobal::dirs()->saveLocation("appdata"); if(!dir.isNull()) file.setName(dir + "sigs.sigml"); load(); -- cgit v1.2.1