summaryrefslogtreecommitdiffstats
path: root/tdeabc/tests
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-20 16:26:45 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-20 16:26:45 -0600
commit45f3927b0ffec2599bc0e1ce361c5386474a85f4 (patch)
tree29e1842fe4d93f4e99481385a771e8bef061158b /tdeabc/tests
parent04105ef07304a9358e87eff0cb1a6d6f2a725192 (diff)
downloadtdelibs-45f3927b0ffec2599bc0e1ce361c5386474a85f4.tar.gz
tdelibs-45f3927b0ffec2599bc0e1ce361c5386474a85f4.zip
Rename KABC namespace
Diffstat (limited to 'tdeabc/tests')
-rw-r--r--tdeabc/tests/bigread.cpp2
-rw-r--r--tdeabc/tests/bigwrite.cpp2
-rw-r--r--tdeabc/tests/kabcargl.cpp2
-rw-r--r--tdeabc/tests/testaddressee.cpp2
-rw-r--r--tdeabc/tests/testaddresseelist.cpp2
-rw-r--r--tdeabc/tests/testaddressfmt.cpp2
-rw-r--r--tdeabc/tests/testaddresslineedit.cpp2
-rw-r--r--tdeabc/tests/testdb.cpp2
-rw-r--r--tdeabc/tests/testdistlist.cpp2
-rw-r--r--tdeabc/tests/testkabc.cpp2
-rw-r--r--tdeabc/tests/testkabcdlg.cpp2
-rw-r--r--tdeabc/tests/testldapclient.cpp10
-rw-r--r--tdeabc/tests/testldapclient.h4
-rw-r--r--tdeabc/tests/testlock.cpp2
-rw-r--r--tdeabc/tests/testlock.h2
15 files changed, 20 insertions, 20 deletions
diff --git a/tdeabc/tests/bigread.cpp b/tdeabc/tests/bigread.cpp
index a5022367c..a2c9da070 100644
--- a/tdeabc/tests/bigread.cpp
+++ b/tdeabc/tests/bigread.cpp
@@ -13,7 +13,7 @@
#include "resourcesql.h"
#endif
-using namespace KABC;
+using namespace TDEABC;
int main(int argc,char **argv)
{
diff --git a/tdeabc/tests/bigwrite.cpp b/tdeabc/tests/bigwrite.cpp
index 4b9fa7bc3..ab7fec7cf 100644
--- a/tdeabc/tests/bigwrite.cpp
+++ b/tdeabc/tests/bigwrite.cpp
@@ -10,7 +10,7 @@
#include "vcardformat.h"
#include "plugins/file/resourcefile.h"
-using namespace KABC;
+using namespace TDEABC;
int main(int argc,char **argv)
{
diff --git a/tdeabc/tests/kabcargl.cpp b/tdeabc/tests/kabcargl.cpp
index e38a8a22e..d3a71890e 100644
--- a/tdeabc/tests/kabcargl.cpp
+++ b/tdeabc/tests/kabcargl.cpp
@@ -31,7 +31,7 @@
#include "stdaddressbook.h"
-using namespace KABC;
+using namespace TDEABC;
int main(int argc,char **argv)
{
diff --git a/tdeabc/tests/testaddressee.cpp b/tdeabc/tests/testaddressee.cpp
index ef55ae403..96989a06d 100644
--- a/tdeabc/tests/testaddressee.cpp
+++ b/tdeabc/tests/testaddressee.cpp
@@ -11,7 +11,7 @@
#include "vcardformat.h"
#include "phonenumber.h"
-using namespace KABC;
+using namespace TDEABC;
static const TDECmdLineOptions options[] =
{
diff --git a/tdeabc/tests/testaddresseelist.cpp b/tdeabc/tests/testaddresseelist.cpp
index f247f1744..12964a687 100644
--- a/tdeabc/tests/testaddresseelist.cpp
+++ b/tdeabc/tests/testaddresseelist.cpp
@@ -8,7 +8,7 @@
#include "addressbook.h"
#include "addresseelist.h"
-using namespace KABC;
+using namespace TDEABC;
static const TDECmdLineOptions options[] =
{
diff --git a/tdeabc/tests/testaddressfmt.cpp b/tdeabc/tests/testaddressfmt.cpp
index 2eb438335..79545f6f9 100644
--- a/tdeabc/tests/testaddressfmt.cpp
+++ b/tdeabc/tests/testaddressfmt.cpp
@@ -8,7 +8,7 @@
#include "addressbook.h"
#include "address.h"
-using namespace KABC;
+using namespace TDEABC;
static const TDECmdLineOptions options[] =
{
diff --git a/tdeabc/tests/testaddresslineedit.cpp b/tdeabc/tests/testaddresslineedit.cpp
index 74446f482..80bd311da 100644
--- a/tdeabc/tests/testaddresslineedit.cpp
+++ b/tdeabc/tests/testaddresslineedit.cpp
@@ -6,7 +6,7 @@
#include "addresslineedit.h"
-using namespace KABC;
+using namespace TDEABC;
int main( int argc,char **argv )
{
diff --git a/tdeabc/tests/testdb.cpp b/tdeabc/tests/testdb.cpp
index f7ec1d17c..c6b02c14a 100644
--- a/tdeabc/tests/testdb.cpp
+++ b/tdeabc/tests/testdb.cpp
@@ -8,7 +8,7 @@
#include "vcardformat.h"
#include "resourcesql.h"
-using namespace KABC;
+using namespace TDEABC;
int main(int argc,char **argv)
{
diff --git a/tdeabc/tests/testdistlist.cpp b/tdeabc/tests/testdistlist.cpp
index 69a309ff9..833dca84e 100644
--- a/tdeabc/tests/testdistlist.cpp
+++ b/tdeabc/tests/testdistlist.cpp
@@ -11,7 +11,7 @@
#include "distributionlisteditor.h"
#include "distributionlist.h"
-using namespace KABC;
+using namespace TDEABC;
static const TDECmdLineOptions options[] =
{
diff --git a/tdeabc/tests/testkabc.cpp b/tdeabc/tests/testkabc.cpp
index 427262cab..2cc7effb4 100644
--- a/tdeabc/tests/testkabc.cpp
+++ b/tdeabc/tests/testkabc.cpp
@@ -16,7 +16,7 @@
#include "agent.h"
#include "vcardconverter.h"
-using namespace KABC;
+using namespace TDEABC;
int main(int argc,char **argv)
{
diff --git a/tdeabc/tests/testkabcdlg.cpp b/tdeabc/tests/testkabcdlg.cpp
index aef203d28..7b4b18e3e 100644
--- a/tdeabc/tests/testkabcdlg.cpp
+++ b/tdeabc/tests/testkabcdlg.cpp
@@ -8,7 +8,7 @@
#include "addresseedialog.h"
-using namespace KABC;
+using namespace TDEABC;
static const TDECmdLineOptions options[] =
{
diff --git a/tdeabc/tests/testldapclient.cpp b/tdeabc/tests/testldapclient.cpp
index df9fd6226..71a34ee5e 100644
--- a/tdeabc/tests/testldapclient.cpp
+++ b/tdeabc/tests/testldapclient.cpp
@@ -97,8 +97,8 @@ void TestLDAPClient::testIntevation()
// But this certainly looks fishy, it might break on non-utf8 systems.
TQString filter = "&(|(objectclass=person)(objectclass=groupofnames)(mail=*))(|(cn=*Ägypten MDK*)(sn=*Ägypten MDK*))";
- connect( mClient, TQT_SIGNAL( result( const KABC::LdapObject& ) ),
- this, TQT_SLOT( slotLDAPResult( const KABC::LdapObject& ) ) );
+ connect( mClient, TQT_SIGNAL( result( const TDEABC::LdapObject& ) ),
+ this, TQT_SLOT( slotLDAPResult( const TDEABC::LdapObject& ) ) );
connect( mClient, TQT_SIGNAL( done() ),
this, TQT_SLOT( slotLDAPDone() ) );
connect( mClient, TQT_SIGNAL( error( const TQString& ) ),
@@ -123,11 +123,11 @@ static TQString asUtf8( const TQByteArray &val )
return TQString::fromUtf8( data, val.size() );
}
-static TQString join( const KABC::LdapAttrValue& lst, const TQString& sep )
+static TQString join( const TDEABC::LdapAttrValue& lst, const TQString& sep )
{
TQString res;
bool already = false;
- for ( KABC::LdapAttrValue::ConstIterator it = lst.begin(); it != lst.end(); ++it ) {
+ for ( TDEABC::LdapAttrValue::ConstIterator it = lst.begin(); it != lst.end(); ++it ) {
if ( already )
res += sep;
already = TRUE;
@@ -136,7 +136,7 @@ static TQString join( const KABC::LdapAttrValue& lst, const TQString& sep )
return res;
}
-void TestLDAPClient::slotLDAPResult( const KABC::LdapObject& obj )
+void TestLDAPClient::slotLDAPResult( const TDEABC::LdapObject& obj )
{
TQString cn = join( obj.attrs[ "cn" ], ", " );
kdDebug() << " cn:" << cn << endl;
diff --git a/tdeabc/tests/testldapclient.h b/tdeabc/tests/testldapclient.h
index 1995914c3..502115b07 100644
--- a/tdeabc/tests/testldapclient.h
+++ b/tdeabc/tests/testldapclient.h
@@ -22,7 +22,7 @@
#include <tqobject.h>
#include "../ldapclient.h"
-typedef KABC::LdapClient LdapClient;
+typedef TDEABC::LdapClient LdapClient;
class TestLDAPClient : public TQObject
{
@@ -38,7 +38,7 @@ public:
void testIntevation();
private slots:
- void slotLDAPResult( const KABC::LdapObject& );
+ void slotLDAPResult( const TDEABC::LdapObject& );
void slotLDAPError( const TQString& );
void slotLDAPDone();
diff --git a/tdeabc/tests/testlock.cpp b/tdeabc/tests/testlock.cpp
index 3ebd724bb..7f3cf634b 100644
--- a/tdeabc/tests/testlock.cpp
+++ b/tdeabc/tests/testlock.cpp
@@ -45,7 +45,7 @@
#include <sys/types.h>
#include <unistd.h>
-using namespace KABC;
+using namespace TDEABC;
LockWidget::LockWidget( const TQString &identifier )
{
diff --git a/tdeabc/tests/testlock.h b/tdeabc/tests/testlock.h
index a94d4e8c6..01d07fc47 100644
--- a/tdeabc/tests/testlock.h
+++ b/tdeabc/tests/testlock.h
@@ -42,7 +42,7 @@ class KABC_EXPORT LockWidget : public TQWidget
void updateLockView();
private:
- KABC::Lock *mLock;
+ TDEABC::Lock *mLock;
TQLabel *mStatus;
TQListView *mLockView;