summaryrefslogtreecommitdiffstats
path: root/tdewallet/allyourbase.cpp
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2013-08-31 12:40:18 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2013-08-31 12:40:18 -0500
commite9d00a46c216bfbcc5499c7a1a51731a24b17d07 (patch)
treeccd0a61039bdbdb8f8e8c88e56e09405160b82c7 /tdewallet/allyourbase.cpp
parent979cc55d3416a5283953510fb5a096d1eb641479 (diff)
downloadtdeutils-e9d00a46c216bfbcc5499c7a1a51731a24b17d07.tar.gz
tdeutils-e9d00a46c216bfbcc5499c7a1a51731a24b17d07.zip
Rename KWallet to TDEWallet.
Diffstat (limited to 'tdewallet/allyourbase.cpp')
-rw-r--r--tdewallet/allyourbase.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/tdewallet/allyourbase.cpp b/tdewallet/allyourbase.cpp
index b131110..bc132b0 100644
--- a/tdewallet/allyourbase.cpp
+++ b/tdewallet/allyourbase.cpp
@@ -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);
}