Rename KWallet to TDEWallet.

pull/16/head
Darrell Anderson 11 years ago
parent 90187e74c9
commit 97c19ee120

@ -58,7 +58,7 @@ install( FILES
x-msaccess.desktop x-gettext.desktop x-ruby.desktop x-kcsrc.desktop x-msaccess.desktop x-gettext.desktop x-ruby.desktop x-kcsrc.desktop
x-php.desktop x-font-ttc.desktop x-font-otf.desktop x-php.desktop x-font-ttc.desktop x-font-otf.desktop
vnd.mozilla.xul+xml.desktop vnd.sun.xml.draw.desktop vnd.mozilla.xul+xml.desktop vnd.sun.xml.draw.desktop
x-kde-wallet.desktop x-cue.desktop x-ica.desktop x-iso.desktop x-ace.desktop x-tde-wallet.desktop x-cue.desktop x-ica.desktop x-iso.desktop x-ace.desktop
x-afm.desktop x-arc.desktop vnd.rn-realmedia.desktop x-dbase.desktop x-afm.desktop x-arc.desktop vnd.rn-realmedia.desktop x-dbase.desktop
vnd.sun.xml.calc.template.desktop vnd.sun.xml.writer.template.desktop vnd.sun.xml.calc.template.desktop vnd.sun.xml.writer.template.desktop
vnd.sun.xml.impress.template.desktop vnd.sun.xml.draw.template.desktop vnd.sun.xml.impress.template.desktop vnd.sun.xml.draw.template.desktop

@ -45,7 +45,7 @@ mimetypeapplicationdata_DATA = x-dvi.desktop x-gzdvi.desktop x-bz2dvi.desktop \
x-msaccess.desktop x-gettext.desktop x-ruby.desktop x-kcsrc.desktop \ x-msaccess.desktop x-gettext.desktop x-ruby.desktop x-kcsrc.desktop \
x-php.desktop x-font-ttc.desktop x-font-otf.desktop \ x-php.desktop x-font-ttc.desktop x-font-otf.desktop \
vnd.mozilla.xul+xml.desktop vnd.sun.xml.draw.desktop \ vnd.mozilla.xul+xml.desktop vnd.sun.xml.draw.desktop \
x-kde-wallet.desktop x-cue.desktop x-ica.desktop x-iso.desktop x-ace.desktop \ x-tde-wallet.desktop x-cue.desktop x-ica.desktop x-iso.desktop x-ace.desktop \
x-afm.desktop x-arc.desktop vnd.rn-realmedia.desktop x-dbase.desktop \ x-afm.desktop x-arc.desktop vnd.rn-realmedia.desktop x-dbase.desktop \
vnd.sun.xml.calc.template.desktop vnd.sun.xml.writer.template.desktop \ vnd.sun.xml.calc.template.desktop vnd.sun.xml.writer.template.desktop \
vnd.sun.xml.impress.template.desktop vnd.sun.xml.draw.template.desktop \ vnd.sun.xml.impress.template.desktop vnd.sun.xml.draw.template.desktop \

@ -1,6 +1,6 @@
[Desktop Entry] [Desktop Entry]
Type=MimeType Type=MimeType
MimeType=application/x-kde-wallet MimeType=application/x-tde-wallet
Comment=TDE Wallet File Comment=TDE Wallet File
Comment[af]=TDE Beursie Lêer Comment[af]=TDE Beursie Lêer
Comment[ar]=ملف محفظة TDE Comment[ar]=ملف محفظة TDE

@ -1036,7 +1036,7 @@
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# TDEWallet file # TDEWallet file
0 string KWALLET\012\015\000\015\012 application/x-kde-wallet 0 string TDEWALLET\012\015\000\015\012 application/x-tde-wallet
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# ICA Client configuration files # ICA Client configuration files

@ -65,7 +65,7 @@ Name[sl]=Modul demona TDEListnica
Name[sq]=Demoni për Modulin TDEWallet Name[sq]=Demoni për Modulin TDEWallet
Name[sr]=TDEWallet демон модул Name[sr]=TDEWallet демон модул
Name[sr@Latn]=TDEWallet demon modul Name[sr@Latn]=TDEWallet demon modul
Name[sv]=Kwallet-demonmodul Name[sv]=TDEwallet-demonmodul
Name[ta]=TDEWallet டெமான் பகுதி Name[ta]=TDEWallet டெமான் பகுதி
Name[te]=కెవాలెట్ సూత్రధారి మాడ్యూల్ Name[te]=కెవాలెట్ సూత్రధారి మాడ్యూల్
Name[tg]=Модули Демон TDEWallet Name[tg]=Модули Демон TDEWallet
@ -77,8 +77,8 @@ Name[uz]=TDEWallet xizmatining moduli
Name[uz@cyrillic]=TDEWallet хизматининг модули Name[uz@cyrillic]=TDEWallet хизматининг модули
Name[vi]=Mô-đun trình nền TDEWallet Name[vi]=Mô-đun trình nền TDEWallet
Name[zh_CN]=TDEWallet 守护进程模块 Name[zh_CN]=TDEWallet 守护进程模块
Name[zh_HK]=KWAllet 伺服程式模組 Name[zh_HK]=TDEWallet 伺服程式模組
Name[zh_TW]=KWAllet 服務程式模組 Name[zh_TW]=TDEWallet 服務程式模組
Comment=TDEWallet daemon module for KDED Comment=TDEWallet daemon module for KDED
Comment[af]=KBeursie bediener module vir KDED Comment[af]=KBeursie bediener module vir KDED
Comment[be]=Модуль сервіса TDEWallet для KDED Comment[be]=Модуль сервіса TDEWallet для KDED
@ -135,7 +135,7 @@ Comment[sk]=Modul démona TDEWallet pre KDED
Comment[sl]=Modul demona TDEListnica za KDED Comment[sl]=Modul demona TDEListnica za KDED
Comment[sr]=TDEWallet демон модул за KDED Comment[sr]=TDEWallet демон модул за KDED
Comment[sr@Latn]=TDEWallet demon modul za KDED Comment[sr@Latn]=TDEWallet demon modul za KDED
Comment[sv]=Kwallet-demonmodul för KDED Comment[sv]=TDEwallet-demonmodul för KDED
Comment[ta]=KDEDக்கான TDEWallet Daemon தொகுதி Comment[ta]=KDEDக்கான TDEWallet Daemon தொகுதி
Comment[te]=కెడిఈడి కొరకు కెవాలెట్ సూత్రధారి మాడ్యూల్ Comment[te]=కెడిఈడి కొరకు కెవాలెట్ సూత్రధారి మాడ్యూల్
Comment[tg]=Модули Демон TDEWallet барои KDED Comment[tg]=Модули Демон TDEWallet барои KDED

@ -19,8 +19,8 @@
Boston, MA 02110-1301, USA. Boston, MA 02110-1301, USA.
*/ */
#ifndef _KWALLETD_H_ #ifndef _TDEWALLETD_H_
#define _KWALLETD_H_ #define _TDEWALLETD_H_
#include <kded/kdedmodule.h> #include <kded/kdedmodule.h>
#include <tqintdict.h> #include <tqintdict.h>

@ -39,19 +39,19 @@
#include <assert.h> #include <assert.h>
#define KWALLET_VERSION_MAJOR 0 #define TDEWALLET_VERSION_MAJOR 0
#define KWALLET_VERSION_MINOR 0 #define TDEWALLET_VERSION_MINOR 0
#define KWALLET_CIPHER_BLOWFISH_CBC 0 #define TDEWALLET_CIPHER_BLOWFISH_CBC 0
#define KWALLET_CIPHER_3DES_CBC 1 // unsupported #define TDEWALLET_CIPHER_3DES_CBC 1 // unsupported
#define KWALLET_HASH_SHA1 0 #define TDEWALLET_HASH_SHA1 0
#define KWALLET_HASH_MD5 1 // unsupported #define TDEWALLET_HASH_MD5 1 // unsupported
using namespace TDEWallet; using namespace TDEWallet;
#define KWMAGIC "KWALLET\n\r\0\r\n" #define KWMAGIC "TDEWALLET\n\r\0\r\n"
#define KWMAGIC_LEN 12 #define KWMAGIC_LEN 12
static void initTDEWalletDir() static void initTDEWalletDir()
@ -317,19 +317,19 @@ int Backend::open(const TQByteArray& password) {
db.readBlock(magicBuf, 4); db.readBlock(magicBuf, 4);
// First byte is major version, second byte is minor version // First byte is major version, second byte is minor version
if (magicBuf[0] != KWALLET_VERSION_MAJOR) { if (magicBuf[0] != TDEWALLET_VERSION_MAJOR) {
return -4; // unknown version return -4; // unknown version
} }
if (magicBuf[1] != KWALLET_VERSION_MINOR) { if (magicBuf[1] != TDEWALLET_VERSION_MINOR) {
return -4; // unknown version return -4; // unknown version
} }
if (magicBuf[2] != KWALLET_CIPHER_BLOWFISH_CBC) { if (magicBuf[2] != TDEWALLET_CIPHER_BLOWFISH_CBC) {
return -42; // unknown cipher return -42; // unknown cipher
} }
if (magicBuf[3] != KWALLET_HASH_SHA1) { if (magicBuf[3] != TDEWALLET_HASH_SHA1) {
return -42; // unknown hash return -42; // unknown hash
} }
@ -501,10 +501,10 @@ int Backend::sync(const TQByteArray& password) {
// Write the version number // Write the version number
TQByteArray version(4); TQByteArray version(4);
version[0] = KWALLET_VERSION_MAJOR; version[0] = TDEWALLET_VERSION_MAJOR;
version[1] = KWALLET_VERSION_MINOR; version[1] = TDEWALLET_VERSION_MINOR;
version[2] = KWALLET_CIPHER_BLOWFISH_CBC; version[2] = TDEWALLET_CIPHER_BLOWFISH_CBC;
version[3] = KWALLET_HASH_SHA1; version[3] = TDEWALLET_HASH_SHA1;
qf->writeBlock(version, 4); qf->writeBlock(version, 4);
// Holds the hashes we write out // Holds the hashes we write out

@ -19,8 +19,8 @@
*/ */
#ifndef _KWALLETBACKEND_H #ifndef _TDEWALLETBACKEND_H
#define _KWALLETBACKEND_H #define _TDEWALLETBACKEND_H
#include <kmdcodec.h> #include <kmdcodec.h>

@ -19,8 +19,8 @@
*/ */
#ifndef _KWALLETENTRY_H #ifndef _TDEWALLETENTRY_H
#define _KWALLETENTRY_H #define _TDEWALLETENTRY_H
#include <tqstring.h> #include <tqstring.h>
#include <tqdatastream.h> #include <tqdatastream.h>

@ -19,8 +19,8 @@
*/ */
#ifndef _KWALLET_H #ifndef _TDEWALLET_H
#define _KWALLET_H #define _TDEWALLET_H
#include <tqglobal.h> #include <tqglobal.h>
@ -521,5 +521,5 @@ class TDEIO_EXPORT Wallet : public TQObject, public DCOPObject {
#endif //Q_OS_UNIX #endif //Q_OS_UNIX
#endif //_KWALLET_H #endif //_TDEWALLET_H

@ -18,8 +18,8 @@
* Boston, MA 02110-1301, USA. * Boston, MA 02110-1301, USA.
*/ */
#ifndef KWALLET_TYPES_H #ifndef TDEWALLET_TYPES_H
#define KWALLET_TYPES_H #define TDEWALLET_TYPES_H
#include <tqmap.h> #include <tqmap.h>

@ -1,5 +1,5 @@
#ifndef KWALLETASYNC_H #ifndef TDEWALLETASYNC_H
#define KWALLETASYNC_H #define TDEWALLETASYNC_H
#include <tqobject.h> #include <tqobject.h>

Loading…
Cancel
Save