diff options
author | Timothy Pearson <[email protected]> | 2013-01-24 13:24:30 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-24 13:24:30 -0600 |
commit | 19ef6524e14e2c318f0b88b2d348e1bf31c50cbe (patch) | |
tree | 1a26728ea543b832ff47e6e2b1de9ee1b3da926f /src/otrlconfinterface.cpp | |
parent | 5d330b77293aadfba9db08cb1eef0946c1d73b50 (diff) | |
download | kopete-otr-19ef6524e14e2c318f0b88b2d348e1bf31c50cbe.tar.gz kopete-otr-19ef6524e14e2c318f0b88b2d348e1bf31c50cbe.zip |
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'src/otrlconfinterface.cpp')
-rw-r--r-- | src/otrlconfinterface.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/otrlconfinterface.cpp b/src/otrlconfinterface.cpp index ff60bf2..cb025a4 100644 --- a/src/otrlconfinterface.cpp +++ b/src/otrlconfinterface.cpp @@ -63,7 +63,7 @@ OtrlConfInterface::~ OtrlConfInterface(){ /*********************** Functions for kcm module ************************/ TQString OtrlConfInterface::getPrivFingerprint( TQString accountId, TQString protocol){ -// if (otrl_privkey_read(userstate, TQString(KGlobal::dirs()->saveLocation("data", "kopete_otr/", true )) + "privkey" ) == 0){ +// if (otrl_privkey_read(userstate, TQString(TDEGlobal::dirs()->saveLocation("data", "kopete_otr/", true )) + "privkey" ) == 0){ char fingerprint[45]; if( otrl_privkey_fingerprint( userstate, fingerprint, accountId.latin1(), protocol.latin1()) != 0 ){ return fingerprint; @@ -149,7 +149,7 @@ void OtrlConfInterface::verifyFingerprint( TQString strFingerprint, bool trust ) otrl_context_set_trust( fingerprint, NULL ); } kdDebug() << "Writing fingerprints" << endl; - otrl_privkey_write_fingerprints( userstate, TQString(KGlobal::dirs()->saveLocation("data", "kopete_otr/", true )) + "fingerprints" ); + otrl_privkey_write_fingerprints( userstate, TQString(TDEGlobal::dirs()->saveLocation("data", "kopete_otr/", true )) + "fingerprints" ); } else { kdDebug() << "could not find fingerprint" << endl; } @@ -175,7 +175,7 @@ void OtrlConfInterface::forgetFingerprint( TQString strFingerprint ){ fingerprint = findFingerprint( strFingerprint ); otrl_context_forget_fingerprint( fingerprint, 1 ); - otrl_privkey_write_fingerprints( userstate, TQString(KGlobal::dirs()->saveLocation("data", "kopete_otr/", true )) + "fingerprints" ); + otrl_privkey_write_fingerprints( userstate, TQString(TDEGlobal::dirs()->saveLocation("data", "kopete_otr/", true )) + "fingerprints" ); } Fingerprint *OtrlConfInterface::findFingerprint( TQString strFingerprint ){ |