diff options
author | Timothy Pearson <[email protected]> | 2013-01-24 13:43:14 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-24 13:43:14 -0600 |
commit | 79b21d47bce1ee428affc97534cd8b257232a871 (patch) | |
tree | 0df1fa0109d9f2bcef932eda8b5c25b2e06669ed /kdepasswd/kcm/main.cpp | |
parent | 9a898d493f493adbc404f7223043c85f3817472b (diff) | |
download | tdebase-79b21d47bce1ee428affc97534cd8b257232a871.tar.gz tdebase-79b21d47bce1ee428affc97534cd8b257232a871.zip |
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'kdepasswd/kcm/main.cpp')
-rw-r--r-- | kdepasswd/kcm/main.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kdepasswd/kcm/main.cpp b/kdepasswd/kcm/main.cpp index 11ac07242..fc58dcea7 100644 --- a/kdepasswd/kcm/main.cpp +++ b/kdepasswd/kcm/main.cpp @@ -107,8 +107,8 @@ KCMUserAccount::KCMUserAccount( TQWidget *parent, const char *name, void KCMUserAccount::slotChangePassword() { - KProcess *proc = new KProcess; - TQString bin = KGlobal::dirs()->findExe("kdepasswd"); + TDEProcess *proc = new TDEProcess; + TQString bin = TDEGlobal::dirs()->findExe("kdepasswd"); if ( !bin ) { kdDebug() << "kcm_useraccount: kdepasswd was not found." << endl; @@ -122,7 +122,7 @@ void KCMUserAccount::slotChangePassword() } *proc << bin << _ku->loginName() ; - proc->start(KProcess::DontCare); + proc->start(TDEProcess::DontCare); delete proc; @@ -147,7 +147,7 @@ void KCMUserAccount::load() _mw->leSMTP->setText( _kes->getSetting( KEMailSettings::OutServer )); TQString _userPicsDir = KCFGUserAccount::faceDir() + - KGlobal::dirs()->resourceDirs("data").last() + "tdm/faces/"; + TDEGlobal::dirs()->resourceDirs("data").last() + "tdm/faces/"; TQString fs = KCFGUserAccount::faceSource(); if (fs == TQString::fromLatin1("UserOnly")) @@ -270,7 +270,7 @@ void KCMUserAccount::slotFaceButtonClicked() return; } - ChFaceDlg* pDlg = new ChFaceDlg( KGlobal::dirs()->resourceDirs("data").last() + + ChFaceDlg* pDlg = new ChFaceDlg( TDEGlobal::dirs()->resourceDirs("data").last() + "/tdm/pics/users/" ); if ( pDlg->exec() == TQDialog::Accepted && !pDlg->getFaceImage().isNull() ) |