summaryrefslogtreecommitdiffstats
path: root/ksig
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-20 00:14:45 -0600
committerTimothy Pearson <[email protected]>2013-01-20 00:14:45 -0600
commit8f06b9a8882be84f3d0e5b0f5e3b8e51515e723f (patch)
tree153d468e6403953c97f22688905f76cedbe05f27 /ksig
parent4b5c71fdded4cfec525273c795bfb0b79bb8a5dd (diff)
downloadtdeaddons-8f06b9a8882be84f3d0e5b0f5e3b8e51515e723f.tar.gz
tdeaddons-8f06b9a8882be84f3d0e5b0f5e3b8e51515e723f.zip
Rename KApplication to TDEApplication to avoid conflicts with KDE4
Diffstat (limited to 'ksig')
-rw-r--r--ksig/main.cpp4
-rw-r--r--ksig/siggenerator.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/ksig/main.cpp b/ksig/main.cpp
index 96fa9fb..c7c6bf2 100644
--- a/ksig/main.cpp
+++ b/ksig/main.cpp
@@ -47,7 +47,7 @@ int main(int argc, char *argv[])
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
if(args->isSet("random") || args->isSet("daily")) {
- KApplication a(false, false);
+ TDEApplication a(false, false);
SigGenerator generator;
TQTextStream output(stdout, IO_WriteOnly);
@@ -59,7 +59,7 @@ int main(int argc, char *argv[])
return(0);
}
else {
- KApplication a;
+ TDEApplication a;
KSig *ksig = new KSig();
a.setMainWidget(ksig);
diff --git a/ksig/siggenerator.cpp b/ksig/siggenerator.cpp
index 42f6141..0bfc4c1 100644
--- a/ksig/siggenerator.cpp
+++ b/ksig/siggenerator.cpp
@@ -55,7 +55,7 @@ TQString SigGenerator::random() const
if(signatures.count() <= 0)
return(TQString());
- int i = KApplication::random() % signatures.count();
+ int i = TDEApplication::random() % signatures.count();
TQString text;
SigListViewItem::nodeToText(signatures.item(i), text);