summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-19 18:46:33 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-19 18:46:33 -0600
commit07d7372dd2cc7c31003af2c3033664407d6f9ab0 (patch)
tree2b1c795c409713b85468deb93711c948fb67cabc
parent23a2de4cc7b5c608b0033b058a9338e7e34fe00c (diff)
downloadtdesudo-07d7372d.tar.gz
tdesudo-07d7372d.zip
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
-rw-r--r--tdesudo/main.cpp6
-rw-r--r--tdesudo/tdesudo.cpp2
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("<b>%1</b> needs administrative privileges. Please enter your password for verification.");
p=NULL;