From d41050ea3f6904e5156d35f664346b816b9e4d12 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 19 Jan 2013 18:46:43 -0600 Subject: Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4 --- tdeprint/kprinter/main.cpp | 4 ++-- tdeprint/kprinter/printwrapper.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tdeprint/kprinter') diff --git a/tdeprint/kprinter/main.cpp b/tdeprint/kprinter/main.cpp index 7505127ec..8a36512c9 100644 --- a/tdeprint/kprinter/main.cpp +++ b/tdeprint/kprinter/main.cpp @@ -44,8 +44,8 @@ static KCmdLineOptions options[] = extern "C" int KDE_EXPORT kdemain(int argc, char *argv[]) { - KCmdLineArgs::init(argc,argv,"kprinter",I18N_NOOP("KPrinter"),I18N_NOOP("A printer tool for TDE" ),"0.0.1"); - KCmdLineArgs::addCmdLineOptions(options); + TDECmdLineArgs::init(argc,argv,"kprinter",I18N_NOOP("KPrinter"),I18N_NOOP("A printer tool for TDE" ),"0.0.1"); + TDECmdLineArgs::addCmdLineOptions(options); KApplication app; PrintWrapper *wrap = new PrintWrapper; app.setMainWidget(wrap); diff --git a/tdeprint/kprinter/printwrapper.cpp b/tdeprint/kprinter/printwrapper.cpp index e0862271c..97e2cad8f 100644 --- a/tdeprint/kprinter/printwrapper.cpp +++ b/tdeprint/kprinter/printwrapper.cpp @@ -135,7 +135,7 @@ PrintWrapper::PrintWrapper() void PrintWrapper::slotPrint() { - KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); #if defined(HAVE_SIGACTION) && !defined(HAVE_SIGSET) struct sigaction action; -- cgit v1.2.1