summaryrefslogtreecommitdiffstats
path: root/tdeabc
diff options
context:
space:
mode:
Diffstat (limited to 'tdeabc')
-rw-r--r--tdeabc/HOWTO8
-rw-r--r--tdeabc/distributionlist.cpp2
-rw-r--r--tdeabc/ldapclient.cpp2
3 files changed, 6 insertions, 6 deletions
diff --git a/tdeabc/HOWTO b/tdeabc/HOWTO
index 1070ccd4c..199e48646 100644
--- a/tdeabc/HOWTO
+++ b/tdeabc/HOWTO
@@ -169,7 +169,7 @@ The following code will create a file resource and save a contact into it:
39:
40: // PHOTO or LOGO
41: TDEABC::Picture photo;
-42: QImage img;
+42: TQImage img;
43: if ( img.load( "face.png", "PNG" ) ) {
44: photo.setData( img );
45: photo.setType( "image/png" );
@@ -252,10 +252,10 @@ as argument.
In line 41 we make use of TDEABC::Picture class to store the photo of the
contact. This class can contain either an URL or the raw image data in form
-of a QImage, in this example we use the latter.
+of a TQImage, in this example we use the latter.
In line 43 we try to load the image "face.png" from the local directory and
-assign this QImage to the TDEABC::Picture class via the setData() function.
+assign this TQImage to the TDEABC::Picture class via the setData() function.
Additionally we set the type of the picture to "image/png".
From 49 - 50 we insert 2 email addresses with the first one as preferred
@@ -337,7 +337,7 @@ representation of one list.
12: QStringList emails = list->emails();
13: QStringList::Iterator eit;
14: for ( eit = emails.begin(); eit != emails.end(); ++eit )
-15: kdDebug() << QString( "\t%1" ).arg( (*eit).latin1() ) << endl;
+15: kdDebug() << TQString( "\t%1" ).arg( (*eit).latin1() ) << endl;
16: }
In the first line a TDEABC::DistributionListManager is created. The manager takes
diff --git a/tdeabc/distributionlist.cpp b/tdeabc/distributionlist.cpp
index 7c55fccd6..496883d15 100644
--- a/tdeabc/distributionlist.cpp
+++ b/tdeabc/distributionlist.cpp
@@ -108,7 +108,7 @@ DistributionList::Entry::List DistributionList::entries() const
return mEntries;
}
-typedef TQValueList< QPair<TQString, TQString> > MissingEntryList;
+typedef TQValueList< TQPair<TQString, TQString> > MissingEntryList;
class DistributionListManager::DistributionListManagerPrivate
{
diff --git a/tdeabc/ldapclient.cpp b/tdeabc/ldapclient.cpp
index 31256f46f..a70a4eb69 100644
--- a/tdeabc/ldapclient.cpp
+++ b/tdeabc/ldapclient.cpp
@@ -158,7 +158,7 @@ void LdapClient::cancelQuery()
void LdapClient::slotData( TDEIO::Job*, const TQByteArray& data )
{
-#ifndef NDEBUG // don't create the QString
+#ifndef NDEBUG // don't create the TQString
// TQString str( data );
// kdDebug(5700) << "LdapClient: Got \"" << str << "\"\n";
#endif