summaryrefslogtreecommitdiffstats
path: root/kabc
diff options
context:
space:
mode:
Diffstat (limited to 'kabc')
-rw-r--r--kabc/address.cpp4
-rw-r--r--kabc/kab2kabc.cpp2
-rw-r--r--kabc/key.cpp2
-rw-r--r--kabc/phonenumber.cpp2
-rw-r--r--kabc/scripts/addressee.src.cpp2
-rw-r--r--kabc/tests/bigread.cpp2
-rw-r--r--kabc/tests/bigwrite.cpp2
-rw-r--r--kabc/tests/kabcargl.cpp2
-rw-r--r--kabc/tests/testaddressee.cpp2
-rw-r--r--kabc/tests/testaddresseelist.cpp2
-rw-r--r--kabc/tests/testaddressfmt.cpp2
-rw-r--r--kabc/tests/testaddresslineedit.cpp2
-rw-r--r--kabc/tests/testdb.cpp4
-rw-r--r--kabc/tests/testdistlist.cpp2
-rw-r--r--kabc/tests/testkabc.cpp2
-rw-r--r--kabc/tests/testkabcdlg.cpp2
-rw-r--r--kabc/tests/testldapclient.cpp4
-rw-r--r--kabc/tests/testlock.cpp2
-rw-r--r--kabc/vcard/testwrite.cpp2
-rw-r--r--kabc/vcardparser/testread.cpp4
-rw-r--r--kabc/vcardparser/testwrite.cpp2
21 files changed, 25 insertions, 25 deletions
diff --git a/kabc/address.cpp b/kabc/address.cpp
index 0787bcc4e..9ecf8eb2d 100644
--- a/kabc/address.cpp
+++ b/kabc/address.cpp
@@ -37,13 +37,13 @@ static KStaticDeleter< TQMap<TQString, TQString> > isoMapDeleter;
Address::Address() :
mEmpty( true ), mType( 0 )
{
- mId = KApplication::randomString( 10 );
+ mId = TDEApplication::randomString( 10 );
}
Address::Address( int type ) :
mEmpty( true ), mType( type )
{
- mId = KApplication::randomString( 10 );
+ mId = TDEApplication::randomString( 10 );
}
bool Address::operator==( const Address &a ) const
diff --git a/kabc/kab2kabc.cpp b/kabc/kab2kabc.cpp
index 20d7305b8..417d62b8e 100644
--- a/kabc/kab2kabc.cpp
+++ b/kabc/kab2kabc.cpp
@@ -438,7 +438,7 @@ int main( int argc, char **argv )
TDECmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::addCmdLineOptions( options );
- KApplication app;
+ TDEApplication app;
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
diff --git a/kabc/key.cpp b/kabc/key.cpp
index 0d917595d..fadc89dce 100644
--- a/kabc/key.cpp
+++ b/kabc/key.cpp
@@ -28,7 +28,7 @@ using namespace KABC;
Key::Key( const TQString &text, int type )
: mTextData( text ), mIsBinary( false ), mType( type )
{
- mId = KApplication::randomString(8);
+ mId = TDEApplication::randomString(8);
}
Key::~Key()
diff --git a/kabc/phonenumber.cpp b/kabc/phonenumber.cpp
index 31a99f9ea..0a58eeec2 100644
--- a/kabc/phonenumber.cpp
+++ b/kabc/phonenumber.cpp
@@ -45,7 +45,7 @@ PhoneNumber::~PhoneNumber()
void PhoneNumber::init()
{
- mId = KApplication::randomString( 8 );
+ mId = TDEApplication::randomString( 8 );
}
void PhoneNumber::validateNumber( const TQString &number )
diff --git a/kabc/scripts/addressee.src.cpp b/kabc/scripts/addressee.src.cpp
index db956bc14..64e8f382a 100644
--- a/kabc/scripts/addressee.src.cpp
+++ b/kabc/scripts/addressee.src.cpp
@@ -105,7 +105,7 @@ void Addressee::detach()
mData->empty = true;
mData->changed = false;
mData->resource = 0;
- mData->uid = KApplication::randomString( 10 );
+ mData->uid = TDEApplication::randomString( 10 );
return;
} else if ( mData.count() == 1 ) return;
diff --git a/kabc/tests/bigread.cpp b/kabc/tests/bigread.cpp
index 110972b31..c5a1a602f 100644
--- a/kabc/tests/bigread.cpp
+++ b/kabc/tests/bigread.cpp
@@ -20,7 +20,7 @@ int main(int argc,char **argv)
KAboutData aboutData("bigread","BigReadKabc","0.1");
TDECmdLineArgs::init(argc,argv,&aboutData);
- KApplication app( false, false );
+ TDEApplication app( false, false );
AddressBook ab;
diff --git a/kabc/tests/bigwrite.cpp b/kabc/tests/bigwrite.cpp
index 6a5296f91..5d3d2bd6f 100644
--- a/kabc/tests/bigwrite.cpp
+++ b/kabc/tests/bigwrite.cpp
@@ -17,7 +17,7 @@ int main(int argc,char **argv)
KAboutData aboutData("bigwrite","BigWriteKabc","0.1");
TDECmdLineArgs::init(argc,argv,&aboutData);
- KApplication app( false, false );
+ TDEApplication app( false, false );
AddressBook ab;
ResourceFile r( "my.kabc", "vcard" );
diff --git a/kabc/tests/kabcargl.cpp b/kabc/tests/kabcargl.cpp
index d0a0501b3..b1116b2ea 100644
--- a/kabc/tests/kabcargl.cpp
+++ b/kabc/tests/kabcargl.cpp
@@ -40,7 +40,7 @@ int main(int argc,char **argv)
TDECmdLineArgs::init(argc,argv,&aboutData);
- KApplication app;
+ TDEApplication app;
TQString filename = StdAddressBook::fileName();
diff --git a/kabc/tests/testaddressee.cpp b/kabc/tests/testaddressee.cpp
index cc91d29b1..39536efbf 100644
--- a/kabc/tests/testaddressee.cpp
+++ b/kabc/tests/testaddressee.cpp
@@ -26,7 +26,7 @@ int main(int argc,char **argv)
TDECmdLineArgs::init(argc, argv, &aboutData);
TDECmdLineArgs::addCmdLineOptions(options);
- KApplication app;
+ TDEApplication app;
TDECmdLineArgs* args = TDECmdLineArgs::parsedArgs();
kdDebug() << "Creating a" << endl;
diff --git a/kabc/tests/testaddresseelist.cpp b/kabc/tests/testaddresseelist.cpp
index 99cd1f3ab..08d73b8db 100644
--- a/kabc/tests/testaddresseelist.cpp
+++ b/kabc/tests/testaddresseelist.cpp
@@ -23,7 +23,7 @@ int main(int /*argc*/,char /* **argv*/)
TDECmdLineArgs::init(argc, argv, &aboutData);
TDECmdLineArgs::addCmdLineOptions(options);
- KApplication app;
+ TDEApplication app;
TDECmdLineArgs* args = TDECmdLineArgs::parsedArgs(); */
kdDebug() << "Creating addressees" << endl;
diff --git a/kabc/tests/testaddressfmt.cpp b/kabc/tests/testaddressfmt.cpp
index 9f70a0eec..c9369d756 100644
--- a/kabc/tests/testaddressfmt.cpp
+++ b/kabc/tests/testaddressfmt.cpp
@@ -23,7 +23,7 @@ int main(int argc,char **argv)
TDECmdLineArgs::init(argc, argv, &aboutData);
TDECmdLineArgs::addCmdLineOptions(options);
- KApplication app;
+ TDEApplication app;
Address a;
a.setStreet("Lummerlandstr. 1");
diff --git a/kabc/tests/testaddresslineedit.cpp b/kabc/tests/testaddresslineedit.cpp
index f74af6089..f46604dc5 100644
--- a/kabc/tests/testaddresslineedit.cpp
+++ b/kabc/tests/testaddresslineedit.cpp
@@ -14,7 +14,7 @@ int main( int argc,char **argv )
I18N_NOOP( "Test Address LineEdit" ), "0.1" );
TDECmdLineArgs::init( argc, argv, &aboutData );
- KApplication app;
+ TDEApplication app;
AddressLineEdit *lineEdit = new AddressLineEdit( 0 );
diff --git a/kabc/tests/testdb.cpp b/kabc/tests/testdb.cpp
index 1c5454630..2abedb9be 100644
--- a/kabc/tests/testdb.cpp
+++ b/kabc/tests/testdb.cpp
@@ -15,8 +15,8 @@ int main(int argc,char **argv)
KAboutData aboutData("testdb","TestKabcDB","0.1");
TDECmdLineArgs::init(argc,argv,&aboutData);
-// KApplication app( false, false );
- KApplication app;
+// TDEApplication app( false, false );
+ TDEApplication app;
AddressBook ab;
diff --git a/kabc/tests/testdistlist.cpp b/kabc/tests/testdistlist.cpp
index 4323db30d..3f4b67e0a 100644
--- a/kabc/tests/testdistlist.cpp
+++ b/kabc/tests/testdistlist.cpp
@@ -26,7 +26,7 @@ int main(int argc,char **argv)
TDECmdLineArgs::init(argc,argv,&aboutData);
TDECmdLineArgs::addCmdLineOptions( options );
- KApplication app;
+ TDEApplication app;
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
if (args->isSet("list")) {
diff --git a/kabc/tests/testkabc.cpp b/kabc/tests/testkabc.cpp
index 04a589eef..ee767e523 100644
--- a/kabc/tests/testkabc.cpp
+++ b/kabc/tests/testkabc.cpp
@@ -23,7 +23,7 @@ int main(int argc,char **argv)
KAboutData aboutData("testkabc",I18N_NOOP("TestKabc"),"0.1");
TDECmdLineArgs::init(argc, argv, &aboutData);
- KApplication app( false, false );
+ TDEApplication app( false, false );
AddressBook *ab = StdAddressBook::self();
#define READ
diff --git a/kabc/tests/testkabcdlg.cpp b/kabc/tests/testkabcdlg.cpp
index 322bb1ca9..b78fb4a5f 100644
--- a/kabc/tests/testkabcdlg.cpp
+++ b/kabc/tests/testkabcdlg.cpp
@@ -22,7 +22,7 @@ int main(int argc,char **argv)
TDECmdLineArgs::init(argc,argv,&aboutData);
TDECmdLineArgs::addCmdLineOptions( options );
- KApplication app;
+ TDEApplication app;
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
if (args->isSet("multiple")) {
diff --git a/kabc/tests/testldapclient.cpp b/kabc/tests/testldapclient.cpp
index 456bb64e3..bb52afd1a 100644
--- a/kabc/tests/testldapclient.cpp
+++ b/kabc/tests/testldapclient.cpp
@@ -29,9 +29,9 @@
int main(int argc, char *argv[])
{
- KApplication::disableAutoDcopRegistration();
+ TDEApplication::disableAutoDcopRegistration();
TDECmdLineArgs::init(argc,argv,"testldapclient", 0, 0, 0, 0);
- KApplication app;
+ TDEApplication app;
TestLDAPClient test;
test.setup();
diff --git a/kabc/tests/testlock.cpp b/kabc/tests/testlock.cpp
index 5c52e98ee..31d053208 100644
--- a/kabc/tests/testlock.cpp
+++ b/kabc/tests/testlock.cpp
@@ -169,7 +169,7 @@ int main(int argc,char **argv)
TDECmdLineArgs::init(argc,argv,&aboutData);
TDECmdLineArgs::addCmdLineOptions( options );
- KApplication app;
+ TDEApplication app;
TQString identifier;
diff --git a/kabc/vcard/testwrite.cpp b/kabc/vcard/testwrite.cpp
index 082ca480d..8498fc6d0 100644
--- a/kabc/vcard/testwrite.cpp
+++ b/kabc/vcard/testwrite.cpp
@@ -11,7 +11,7 @@ int main(int argc,char **argv)
KAboutData aboutData("testwrite",I18N_NOOP("TestWritevCard"),"0.1");
TDECmdLineArgs::init(argc,argv,&aboutData);
- KApplication app;
+ TDEApplication app;
kdDebug() << "Test Write VCard" << endl;
diff --git a/kabc/vcardparser/testread.cpp b/kabc/vcardparser/testread.cpp
index d3eada6c6..3fcbb851e 100644
--- a/kabc/vcardparser/testread.cpp
+++ b/kabc/vcardparser/testread.cpp
@@ -42,7 +42,7 @@ static const KCmdLineOptions options[] =
int main( int argc, char **argv )
{
- KApplication::disableAutoDcopRegistration();
+ TDEApplication::disableAutoDcopRegistration();
KAboutData aboutData( "testread", "vCard test reader", "0.1" );
aboutData.addAuthor( "Cornelius Schumacher", 0, "schumacher@kde.org" );
@@ -50,7 +50,7 @@ int main( int argc, char **argv )
TDECmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::addCmdLineOptions( options );
- KApplication app( false, false );
+ TDEApplication app( false, false );
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
diff --git a/kabc/vcardparser/testwrite.cpp b/kabc/vcardparser/testwrite.cpp
index d9d92e5aa..11c3c7852 100644
--- a/kabc/vcardparser/testwrite.cpp
+++ b/kabc/vcardparser/testwrite.cpp
@@ -39,7 +39,7 @@ int main( int argc, char **argv )
TDECmdLineArgs::init( argc, argv, &aboutData );
- KApplication app( false, false );
+ TDEApplication app( false, false );
KABC::Addressee addressee;