From 07d7372dd2cc7c31003af2c3033664407d6f9ab0 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 19 Jan 2013 18:46:33 -0600 Subject: [PATCH] Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4 --- tdesudo/main.cpp | 6 +++--- tdesudo/tdesudo.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tdesudo/main.cpp b/tdesudo/main.cpp index 6986500..c97dca3 100644 --- a/tdesudo/main.cpp +++ b/tdesudo/main.cpp @@ -68,10 +68,10 @@ int main(int argc, char **argv) "(c) 2007-2008, Anthony Mercatante", 0, 0, "tonio@ubuntu.com"); aboutData.addAuthor("Robert Gruber",0, "rgruber@users.sourceforge.net"); aboutData.addAuthor("Anthony Mercatante",0, "tonio@ubuntu.com"); - KCmdLineArgs::init(argc, argv, &aboutData); - KCmdLineArgs::addCmdLineOptions(options); // Add our own options. + TDECmdLineArgs::init(argc, argv, &aboutData); + TDECmdLineArgs::addCmdLineOptions(options); // Add our own options. - KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); KApplication a; diff --git a/tdesudo/tdesudo.cpp b/tdesudo/tdesudo.cpp index cc270b2..f996f66 100644 --- a/tdesudo/tdesudo.cpp +++ b/tdesudo/tdesudo.cpp @@ -47,7 +47,7 @@ KdeSudo::KdeSudo(TQWidget *parent, const char *name,const TQString& icon, const TQString& generic, bool withIgnoreButton) : KPasswordDialog(KPasswordDialog::Password, false, (withIgnoreButton ? User1: false), icon, parent, name) { - KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); TQString defaultComment = i18n("%1 needs administrative privileges. Please enter your password for verification."); p=NULL;