summaryrefslogtreecommitdiffstats
path: root/ksig
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:40:51 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:40:51 -0600
commit4c097708c4cc24f3b8e4c21f14644f5715767d47 (patch)
treee8ca4b1d3a3b3de0d18e5f144dcef9b36f830b84 /ksig
parent0642ee50634d90e255c6f45194f6a47dc1157cde (diff)
downloadtdeaddons-4c097708c4cc24f3b8e4c21f14644f5715767d47.tar.gz
tdeaddons-4c097708c4cc24f3b8e4c21f14644f5715767d47.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'ksig')
-rw-r--r--ksig/ksig.cpp6
-rw-r--r--ksig/siggenerator.cpp4
-rw-r--r--ksig/siglistview.cpp2
3 files changed, 6 insertions, 6 deletions
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();