diff options
author | Timothy Pearson <[email protected]> | 2011-11-06 02:31:27 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-11-06 02:31:27 -0600 |
commit | 28ccd51885bd98e62c1756453c3fc638b429e5ee (patch) | |
tree | 309d7dfbc38b1253fc2aceca34036f8f4eedd27b /kopete/protocols/winpopup | |
parent | 8a9ab45627c50ab0d33e9edf86fe8988e02709cb (diff) | |
download | tdenetwork-28ccd51885bd98e62c1756453c3fc638b429e5ee.tar.gz tdenetwork-28ccd51885bd98e62c1756453c3fc638b429e5ee.zip |
Additional kde to tde renaming
Diffstat (limited to 'kopete/protocols/winpopup')
-rw-r--r-- | kopete/protocols/winpopup/libwinpopup/libwinpopup.cpp | 12 | ||||
-rw-r--r-- | kopete/protocols/winpopup/wpprotocol.cpp | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/kopete/protocols/winpopup/libwinpopup/libwinpopup.cpp b/kopete/protocols/winpopup/libwinpopup/libwinpopup.cpp index a3ee592e..15440eda 100644 --- a/kopete/protocols/winpopup/libwinpopup/libwinpopup.cpp +++ b/kopete/protocols/winpopup/libwinpopup/libwinpopup.cpp @@ -110,8 +110,8 @@ bool WinPopupLib::checkMessageDir() "Should the directory be created? (May need root password)").tqarg(WP_POPUP_DIR), TQString::tqfromLatin1("Winpopup"), i18n("Create Directory"), i18n("Do Not Create")); if (tmpYesNo == KMessageBox::Yes) { - TQStringList kdesuArgs = TQStringList(TQString("-c mkdir -p -m 0777 " + WP_POPUP_DIR)); - if (KApplication::kdeinitExecWait("kdesu", kdesuArgs) == 0) return true; + TQStringList tdesuArgs = TQStringList(TQString("-c mkdir -p -m 0777 " + WP_POPUP_DIR)); + if (KApplication::tdeinitExecWait("tdesu", tdesuArgs) == 0) return true; } } else { KFileItem tmpFileItem = KFileItem(KFileItem::Unknown, KFileItem::Unknown, KURL::fromPathOrURL(WP_POPUP_DIR)); @@ -129,8 +129,8 @@ bool WinPopupLib::checkMessageDir() "Fix? (May need root password)").tqarg(WP_POPUP_DIR), TQString::tqfromLatin1("Winpopup"), i18n("Fix"), i18n("Do Not Fix")); if (tmpYesNo == KMessageBox::Yes) { - TQStringList kdesuArgs = TQStringList(TQString("-c chmod 0777 " + WP_POPUP_DIR)); - if (KApplication::kdeinitExecWait("kdesu", kdesuArgs) == 0) return true; + TQStringList tdesuArgs = TQStringList(TQString("-c chmod 0777 " + WP_POPUP_DIR)); + if (KApplication::tdeinitExecWait("tdesu", tdesuArgs) == 0) return true; } } else { return true; @@ -305,8 +305,8 @@ void WinPopupLib::readMessages(const KFileItemList &items) "Fix? (May need root password)"), TQString::tqfromLatin1("Winpopup"), i18n("Fix"), i18n("Do Not Fix")); if (tmpYesNo == KMessageBox::Yes) { - TQStringList kdesuArgs = TQStringList(TQString("-c chmod 0666 " + tmpItem->url().path())); - if (KApplication::kdeinitExecWait("kdesu", kdesuArgs) == 0) { + TQStringList tdesuArgs = TQStringList(TQString("-c chmod 0666 " + tmpItem->url().path())); + if (KApplication::tdeinitExecWait("tdesu", tdesuArgs) == 0) { if (!messageFile.remove()) KMessageBox::error(Kopete::UI::Global::mainWidget(), i18n("Still cannot remove it; please fix manually.")); } diff --git a/kopete/protocols/winpopup/wpprotocol.cpp b/kopete/protocols/winpopup/wpprotocol.cpp index a6805a7e..d16c8e6a 100644 --- a/kopete/protocols/winpopup/wpprotocol.cpp +++ b/kopete/protocols/winpopup/wpprotocol.cpp @@ -140,7 +140,7 @@ void WPProtocol::installSamba() TQStringList args; args += KStandardDirs::findExe("winpopup-install.sh"); args += KStandardDirs::findExe("winpopup-send.sh"); - if (KApplication::kdeinitExecWait("kdesu", args) == 0) + if (KApplication::tdeinitExecWait("tdesu", args) == 0) KMessageBox::information(Kopete::UI::Global::mainWidget(), i18n("The Samba configuration file is modified."), i18n("Configuration Succeeded")); else KMessageBox::error(Kopete::UI::Global::mainWidget(), i18n("Updating the Samba configuration file failed."), i18n("Configuration Failed")); |