summaryrefslogtreecommitdiffstats
path: root/tdeprint/tdeprintfax
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-20 16:25:21 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-20 16:25:21 -0600
commit5942d965c8fb73b53495797b81286c182f7e6328 (patch)
tree6a5bc9df85c53a173ee3f51a5ef7fbf02a933529 /tdeprint/tdeprintfax
parent7ca042263042aaa2f10aa0f436bf1df91e476c12 (diff)
downloadtdebase-5942d965c8fb73b53495797b81286c182f7e6328.tar.gz
tdebase-5942d965c8fb73b53495797b81286c182f7e6328.zip
Rename KABC namespace
Diffstat (limited to 'tdeprint/tdeprintfax')
-rw-r--r--tdeprint/tdeprintfax/faxab.cpp26
-rw-r--r--tdeprint/tdeprintfax/faxab.h2
2 files changed, 14 insertions, 14 deletions
diff --git a/tdeprint/tdeprintfax/faxab.cpp b/tdeprint/tdeprintfax/faxab.cpp
index 14b87a447..1b3eb6131 100644
--- a/tdeprint/tdeprintfax/faxab.cpp
+++ b/tdeprint/tdeprintfax/faxab.cpp
@@ -66,7 +66,7 @@ FaxAB::FaxAB(TQWidget *parent, const char *name)
resize( conf->readSizeEntry( "ABSize", &defsize ) );
initialize();
- connect(KABC::StdAddressBook::self(), TQT_SIGNAL(addressBookChanged(AddressBook*)), TQT_SLOT(slotAbChanged(AddressBook*)));
+ connect(TDEABC::StdAddressBook::self(), TQT_SIGNAL(addressBookChanged(AddressBook*)), TQT_SLOT(slotAbChanged(AddressBook*)));
}
FaxAB::~FaxAB()
@@ -81,19 +81,19 @@ void FaxAB::initialize()
m_entries.clear();
m_list->clear();
- KABC::AddressBook *bk = KABC::StdAddressBook::self();
- for (KABC::AddressBook::Iterator it=bk->begin(); it!=bk->end(); ++it)
+ TDEABC::AddressBook *bk = TDEABC::StdAddressBook::self();
+ for (TDEABC::AddressBook::Iterator it=bk->begin(); it!=bk->end(); ++it)
{
- KABC::PhoneNumber::List numbers = (*it).phoneNumbers();
- KABC::PhoneNumber::List faxNumbers;
- for (TQValueList<KABC::PhoneNumber>::Iterator nit=numbers.begin(); nit!=numbers.end(); ++nit)
+ TDEABC::PhoneNumber::List numbers = (*it).phoneNumbers();
+ TDEABC::PhoneNumber::List faxNumbers;
+ for (TQValueList<TDEABC::PhoneNumber>::Iterator nit=numbers.begin(); nit!=numbers.end(); ++nit)
{
- if (((*nit).type() & KABC::PhoneNumber::Fax) && !(*nit).number().isEmpty())
+ if (((*nit).type() & TDEABC::PhoneNumber::Fax) && !(*nit).number().isEmpty())
faxNumbers << ( *nit );
}
if (faxNumbers.count() > 0)
{
- for ( KABC::PhoneNumber::List::ConstIterator nit = faxNumbers.begin(); nit != faxNumbers.end(); ++nit )
+ for ( TDEABC::PhoneNumber::List::ConstIterator nit = faxNumbers.begin(); nit != faxNumbers.end(); ++nit )
{
FaxABEntry entry;
entry.m_number = ( *nit );
@@ -176,14 +176,14 @@ bool FaxAB::getEntry(TQStringList& number, TQStringList& name, TQStringList& ent
bool FaxAB::getEntryByNumber(const TQString& number, TQString& name, TQString& enterprise)
{
- KABC::AddressBook *bk = KABC::StdAddressBook::self();
- for (KABC::AddressBook::Iterator it=bk->begin(); it!=bk->end(); ++it)
+ TDEABC::AddressBook *bk = TDEABC::StdAddressBook::self();
+ for (TDEABC::AddressBook::Iterator it=bk->begin(); it!=bk->end(); ++it)
{
- KABC::PhoneNumber::List numbers = (*it).phoneNumbers();
+ TDEABC::PhoneNumber::List numbers = (*it).phoneNumbers();
TQStringList filteredNumbers;
- for (TQValueList<KABC::PhoneNumber>::Iterator nit=numbers.begin(); nit!=numbers.end(); ++nit)
+ for (TQValueList<TDEABC::PhoneNumber>::Iterator nit=numbers.begin(); nit!=numbers.end(); ++nit)
{
- if (((*nit).type() & KABC::PhoneNumber::Fax) )
+ if (((*nit).type() & TDEABC::PhoneNumber::Fax) )
{
TQString strippedNumber;
for (uint i = 0; i < (*nit).number().length(); ++i)
diff --git a/tdeprint/tdeprintfax/faxab.h b/tdeprint/tdeprintfax/faxab.h
index 8491fb96a..da38fb9d8 100644
--- a/tdeprint/tdeprintfax/faxab.h
+++ b/tdeprint/tdeprintfax/faxab.h
@@ -52,7 +52,7 @@ private:
struct FaxABEntry
{
TQString m_name;
- KABC::PhoneNumber m_number;
+ TDEABC::PhoneNumber m_number;
TQString m_enterprise;
};