From 8f06b9a8882be84f3d0e5b0f5e3b8e51515e723f Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 20 Jan 2013 00:14:45 -0600 Subject: Rename KApplication to TDEApplication to avoid conflicts with KDE4 --- ksig/main.cpp | 4 ++-- ksig/siggenerator.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'ksig') 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); -- cgit v1.2.1