summaryrefslogtreecommitdiffstats
path: root/kabc/addressbook.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kabc/addressbook.h
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kabc/addressbook.h')
-rw-r--r--kabc/addressbook.h40
1 files changed, 20 insertions, 20 deletions
diff --git a/kabc/addressbook.h b/kabc/addressbook.h
index d12130201..0da25b30e 100644
--- a/kabc/addressbook.h
+++ b/kabc/addressbook.h
@@ -21,8 +21,8 @@
#ifndef KABC_ADDRESSBOOK_H
#define KABC_ADDRESSBOOK_H
-#include <qobject.h>
-#include <qptrlist.h>
+#include <tqobject.h>
+#include <tqptrlist.h>
#include <kresources/manager.h>
@@ -44,8 +44,8 @@ class KABC_EXPORT AddressBook : public QObject
{
Q_OBJECT
- friend KABC_EXPORT QDataStream &operator<<( QDataStream &, const AddressBook & );
- friend KABC_EXPORT QDataStream &operator>>( QDataStream &, AddressBook & );
+ friend KABC_EXPORT TQDataStream &operator<<( TQDataStream &, const AddressBook & );
+ friend KABC_EXPORT TQDataStream &operator>>( TQDataStream &, AddressBook & );
friend class StdAddressBook;
public:
@@ -115,7 +115,7 @@ class KABC_EXPORT AddressBook : public QObject
@param config The config file which contains the resource settings.
*/
- AddressBook( const QString &config );
+ AddressBook( const TQString &config );
/**
Destructor.
@@ -244,7 +244,7 @@ class KABC_EXPORT AddressBook : public QObject
@return The addressee with the specified unique identifier or an
empty addressee.
*/
- Addressee findByUid( const QString &uid ); // KDE4: const
+ Addressee findByUid( const TQString &uid ); // KDE4: const
/**
Returns a list of all addressees in the address book.
@@ -257,7 +257,7 @@ class KABC_EXPORT AddressBook : public QObject
@param name The name you are looking for.
@return A list of all matching addressees.
*/
- Addressee::List findByName( const QString &name ); // KDE4: const
+ Addressee::List findByName( const TQString &name ); // KDE4: const
/**
Searches all addressees which match the specified email address.
@@ -265,7 +265,7 @@ class KABC_EXPORT AddressBook : public QObject
@param email The email address you are looking for.
@return A list of all matching addressees.
*/
- Addressee::List findByEmail( const QString &email ); // KDE4: const
+ Addressee::List findByEmail( const TQString &email ); // KDE4: const
/**
Searches all addressees which belongs to the specified category.
@@ -273,13 +273,13 @@ class KABC_EXPORT AddressBook : public QObject
@param category The category you are looking for.
@return A list of all matching addressees.
*/
- Addressee::List findByCategory( const QString &category ); // KDE4: const
+ Addressee::List findByCategory( const TQString &category ); // KDE4: const
/**
Returns a string identifying this addressbook. The identifier is
created by concatenation of the resource identifiers.
*/
- virtual QString identifier(); // KDE4: const
+ virtual TQString identifier(); // KDE4: const
/**
Returns a list of all Fields known to the address book which are associated
@@ -296,9 +296,9 @@ class KABC_EXPORT AddressBook : public QObject
@param app String used as application key for reading and writing
the field.
*/
- bool addCustomField( const QString &label, int category = Field::All,
- const QString &key = QString::null,
- const QString &app = QString::null );
+ bool addCustomField( const TQString &label, int category = Field::All,
+ const TQString &key = TQString::null,
+ const TQString &app = TQString::null );
/**
Adds a resource to the address book.
@@ -319,7 +319,7 @@ class KABC_EXPORT AddressBook : public QObject
/**
Returns a list of all resources.
*/
- QPtrList<Resource> resources(); // KDE4: const
+ TQPtrList<Resource> resources(); // KDE4: const
/**
Sets the @p ErrorHandler, that is used by error() to
@@ -334,7 +334,7 @@ class KABC_EXPORT AddressBook : public QObject
@param msg The error message that shall be displayed.
*/
- void error( const QString &msg );
+ void error( const TQString &msg );
/**
@deprecated There is no need to call this function anymore.
@@ -408,8 +408,8 @@ class KABC_EXPORT AddressBook : public QObject
protected slots:
void resourceLoadingFinished( Resource* );
void resourceSavingFinished( Resource* );
- void resourceLoadingError( Resource*, const QString& );
- void resourceSavingError( Resource*, const QString& );
+ void resourceLoadingError( Resource*, const TQString& );
+ void resourceSavingError( Resource*, const TQString& );
protected:
void deleteRemovedAddressees();
@@ -418,13 +418,13 @@ class KABC_EXPORT AddressBook : public QObject
KRES::Manager<Resource> *resourceManager();
private:
- QPtrList<Resource> mDummy; // Remove in KDE 4
+ TQPtrList<Resource> mDummy; // Remove in KDE 4
struct AddressBookData;
AddressBookData *d;
};
-KABC_EXPORT QDataStream &operator<<( QDataStream &, const AddressBook & );
-KABC_EXPORT QDataStream &operator>>( QDataStream &, AddressBook & );
+KABC_EXPORT TQDataStream &operator<<( TQDataStream &, const AddressBook & );
+KABC_EXPORT TQDataStream &operator>>( TQDataStream &, AddressBook & );
}