From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kaddressbook/interfaces/core.h | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'kaddressbook/interfaces/core.h') diff --git a/kaddressbook/interfaces/core.h b/kaddressbook/interfaces/core.h index 276b20d61..1897a0bd1 100644 --- a/kaddressbook/interfaces/core.h +++ b/kaddressbook/interfaces/core.h @@ -30,7 +30,7 @@ #include #endif -#include +#include #include #include @@ -57,7 +57,7 @@ class KDE_EXPORT Core : public QObject Q_OBJECT public: - Core( KXMLGUIClient *client, QObject *parent, const char *name = 0 ); + Core( KXMLGUIClient *client, TQObject *parent, const char *name = 0 ); /** Returns a pointer to the StdAddressBook of the application. @@ -88,33 +88,33 @@ class KDE_EXPORT Core : public QObject /** Returns the uid list of the currently selected contacts. */ - virtual QStringList selectedUIDs() const = 0; + virtual TQStringList selectedUIDs() const = 0; /** Displays a ResourceSelectDialog and returns the selected resource or a null pointer if no resource was selected by the user. */ - virtual KABC::Resource *requestResource( QWidget *parent ) = 0; + virtual KABC::Resource *requestResource( TQWidget *parent ) = 0; /** Returns the parent widget. */ - virtual QWidget *widget() const = 0; + virtual TQWidget *widget() const = 0; /** Deletes given contacts from the address book. @param uids The uids of the contacts, which shall be deleted. */ - virtual void deleteContacts( const QStringList &uids ) = 0; + virtual void deleteContacts( const TQStringList &uids ) = 0; /** Deletes given contacts from the address book. @param uids The uids of the contacts, which shall be deleted. */ - virtual void deleteDistributionLists( const QStringList &uids ) = 0; + virtual void deleteDistributionLists( const TQStringList &uids ) = 0; #ifdef KDEPIM_NEW_DISTRLISTS /** @@ -126,13 +126,13 @@ class KDE_EXPORT Core : public QObject /** Returns the name of all the distribution lists. */ - virtual QStringList distributionListNames() const = 0; + virtual TQStringList distributionListNames() const = 0; /** sets the distribution list to display. If null, the regular address book is to be displayed. */ - virtual void setSelectedDistributionList( const QString &name ) = 0; + virtual void setSelectedDistributionList( const TQString &name ) = 0; #endif //// This class isn't part of interfaces/, so this method here isn't really useful @@ -151,12 +151,12 @@ class KDE_EXPORT Core : public QObject /** Is called whenever a contact is selected in the view. */ - virtual void setContactSelected( const QString &uid ) = 0; + virtual void setContactSelected( const TQString &uid ) = 0; /** DCOP METHOD: Adds the given email address to address book. */ - virtual void addEmail( const QString& addr ) = 0; + virtual void addEmail( const TQString& addr ) = 0; /** DCOP METHOD: Imports the vCard, located at the given url. @@ -166,7 +166,7 @@ class KDE_EXPORT Core : public QObject /** DCOP METHOD: Imports the given vCard. */ - virtual void importVCardFromData( const QString& vCard ) = 0; + virtual void importVCardFromData( const TQString& vCard ) = 0; /** DCOP METHOD: Opens contact editor to input a new contact. @@ -182,17 +182,17 @@ class KDE_EXPORT Core : public QObject DCOP METHOD: Returns the name of the contact, that matches the given phone number. */ - virtual QString getNameByPhone( const QString& phone ) = 0; + virtual TQString getNameByPhone( const TQString& phone ) = 0; /** Shows an edit dialog for the given uid. */ - virtual void editContact( const QString &uid = QString::null ) = 0; + virtual void editContact( const TQString &uid = TQString::null ) = 0; /** Shows an edit dialog for the given distribution list */ - virtual void editDistributionList( const QString &name ) = 0; + virtual void editDistributionList( const TQString &name ) = 0; private: KXMLGUIClient *mGUIClient; -- cgit v1.2.1