Rename KWallet to TDEWallet.

pull/1/head
Darrell Anderson 11 years ago
parent 979cc55d34
commit e9d00a46c2

@ -42,7 +42,8 @@ passwords.</para>
<keywordset>
<keyword>KDE</keyword>
<keyword>Kwallet</keyword>
<keyword>TDE</keyword>
<keyword>TDEWallet</keyword>
<keyword>passwords</keyword>
<keyword>forms</keyword>
</keywordset>

@ -185,7 +185,7 @@ bool TDEWalletItem::acceptDrop(const TQMimeSource *mime) const {
static bool decodeEntry(TDEWallet::Wallet *_wallet, TQDataStream& ds) {
TQ_UINT32 magic;
ds >> magic;
if (magic != KWALLETENTRYMAGIC) {
if (magic != TDEWALLETENTRYMAGIC) {
kdDebug() << "bad magic" << endl;
return false;
}
@ -210,7 +210,7 @@ static bool decodeEntry(TDEWallet::Wallet *_wallet, TQDataStream& ds) {
static bool decodeFolder(TDEWallet::Wallet *_wallet, TQDataStream& ds) {
TQ_UINT32 magic;
ds >> magic;
if (magic != KWALLETFOLDERMAGIC) {
if (magic != TDEWALLETFOLDERMAGIC) {
kdDebug() << "bad magic" << endl;
return false;
}
@ -446,9 +446,9 @@ void TDEWalletEntryList::itemDropped(TQDropEvent *e, TQListViewItem *item) {
//check magic to discover mime type
TQ_UINT32 magic;
(*ds) >> magic;
if (magic == KWALLETENTRYMAGIC) {
if (magic == TDEWALLETENTRYMAGIC) {
isEntry = true;
} else if (magic == KWALLETFOLDERMAGIC) {
} else if (magic == TDEWALLETFOLDERMAGIC) {
isEntry = false;
} else {
kdDebug() << "bad magic" << endl;
@ -711,7 +711,7 @@ TQDragObject *TDEWalletEntryList::dragObject() {
sd = new TDEWalletEntryDrag(viewport(), "TDEWallet Entry Drag");
TQByteArray a;
TQDataStream ds(a, IO_WriteOnly);
ds << KWALLETENTRYMAGIC;
ds << TDEWALLETENTRYMAGIC;
ds << *ei;
sd->setEncodedData(a);
} else if (i->rtti() == TDEWalletFolderItemClass) {
@ -723,7 +723,7 @@ TQDragObject *TDEWalletEntryList::dragObject() {
TQByteArray a;
TQDataStream ds(a, IO_WriteOnly);
ds << KWALLETFOLDERMAGIC;
ds << TDEWALLETFOLDERMAGIC;
ds << *fi;
sd->setEncodedData(a);
}

@ -27,8 +27,8 @@
#include <kiconloader.h>
#include <kicontheme.h>
#define KWALLETENTRYMAGIC ((TQ_UINT32) 0x6B776C65)
#define KWALLETFOLDERMAGIC ((TQ_UINT32) 0x6B776C66)
#define TDEWALLETENTRYMAGIC ((TQ_UINT32) 0x6B776C65)
#define TDEWALLETFOLDERMAGIC ((TQ_UINT32) 0x6B776C66)
enum TDEWalletListItemClasses {
TDEWalletFolderItemClass = 1000,

@ -17,8 +17,8 @@
Boston, MA 02110-1301, USA.
*/
#ifndef _KWALLETKONFIGURATOR_H
#define _KWALLETKONFIGURATOR_H
#ifndef _TDEWALLETKONFIGURATOR_H
#define _TDEWALLETKONFIGURATOR_H
#include <tdecmodule.h>

@ -53,7 +53,7 @@ Name[uz@cyrillic]=Қопчиқ бошқариш воситаси
Name[zh_CN]=钱包管理工具
Name[zh_TW]=錢包管理工具
Exec=tdewalletmanager --show %u
MimeType=application/x-kde-wallet
MimeType=application/x-tde-wallet
InitialPreference=6
Icon=tdewalletmanager
Type=Service

@ -88,7 +88,7 @@ int main(int argc, char **argv) {
KMimeType::Ptr ptr;
if (TQFile::exists(fn) &&
(ptr = KMimeType::findByFileContent(fn)) &&
ptr->is("application/x-kde-wallet")) {
ptr->is("application/x-tde-wallet")) {
wm.openWalletFile(fn);
} else {
wm.openWallet(args->arg(i));

@ -18,8 +18,8 @@
Boston, MA 02110-1301, USA.
*/
#ifndef KWALLETEDITOR_H
#define KWALLETEDITOR_H
#ifndef TDEWALLETEDITOR_H
#define TDEWALLETEDITOR_H
#include "walletwidget.h"
#include <tdewallet.h>

@ -53,7 +53,7 @@ Name[uz@cyrillic]=Қопчиқ бошқариш воситаси
Name[zh_CN]=钱包管理工具
Name[zh_TW]=錢包管理工具
Exec=tdewalletmanager %u
MimeType=application/x-kde-wallet;
MimeType=application/x-tde-wallet;
InitialPreference=6
Icon=tdewalletmanager
Type=Application

@ -17,8 +17,8 @@
Boston, MA 02110-1301, USA.
*/
#ifndef KWALLETMANAGER_H
#define KWALLETMANAGER_H
#ifndef TDEWALLETMANAGER_H
#define TDEWALLETMANAGER_H
#include <tdemainwindow.h>
#include <dcopobject.h>

@ -17,8 +17,8 @@
Boston, MA 02110-1301, USA.
*/
#ifndef KWALLETPOPUP_H
#define KWALLETPOPUP_H
#ifndef TDEWALLETPOPUP_H
#define TDEWALLETPOPUP_H
#include <tdepopupmenu.h>
#include <tqmap.h>

Loading…
Cancel
Save