diff options
Diffstat (limited to 'kaddressbook/kabcore.h')
-rw-r--r-- | kaddressbook/kabcore.h | 96 |
1 files changed, 48 insertions, 48 deletions
diff --git a/kaddressbook/kabcore.h b/kaddressbook/kabcore.h index 8cb2bc4d5..ed6b4ab5f 100644 --- a/kaddressbook/kabcore.h +++ b/kaddressbook/kabcore.h @@ -26,9 +26,9 @@ #include <kabc/field.h> -#include <qdict.h> -#include <qlabel.h> -#include <qwidget.h> +#include <tqdict.h> +#include <tqlabel.h> +#include <tqwidget.h> #include "core.h" #include <kdepimmacros.h> @@ -82,8 +82,8 @@ class KDE_EXPORT KABCore : public KAB::Core Q_OBJECT public: - KABCore( KXMLGUIClient *client, bool readWrite, QWidget *parent, - const QString &file = QString::null, const char *name = 0 ); + KABCore( KXMLGUIClient *client, bool readWrite, TQWidget *parent, + const TQString &file = TQString::null, const char *name = 0 ); ~KABCore(); /** @@ -120,19 +120,19 @@ class KDE_EXPORT KABCore : public KAB::Core /** Returns the uid list of the currently selected contacts. */ - QStringList selectedUIDs() const; + TQStringList selectedUIDs() const; /** Displays the ResourceSelectDialog and returns the selected resource or a null pointer if no resource was selected by the user. */ - KABC::Resource *requestResource( QWidget *parent ); + KABC::Resource *requestResource( TQWidget *parent ); /** Returns the parent widget. */ - QWidget *widget() const; + TQWidget *widget() const; static KAboutData *createAboutData(); @@ -153,20 +153,20 @@ class KDE_EXPORT KABCore : public KAB::Core /** Returns the name of all the distribution lists. */ - virtual QStringList distributionListNames() const; + virtual TQStringList distributionListNames() const; /** sets the distribution list to display. If null, the regular address book is to be displayed. */ - virtual void setSelectedDistributionList( const QString &name ); + virtual void setSelectedDistributionList( const TQString &name ); #endif public slots: /** Is called whenever a contact is selected in the view. */ - void setContactSelected( const QString &uid ); + void setContactSelected( const TQString &uid ); /** Opens the preferred mail composer with all selected contacts as @@ -178,11 +178,11 @@ class KDE_EXPORT KABCore : public KAB::Core Opens the preferred mail composer with the given contacts as arguments. */ - void sendMail( const QString& email ); + void sendMail( const TQString& email ); void mailVCard(); - void mailVCard(const QStringList& uids); + void mailVCard(const TQStringList& uids); /** * Start an Instant Messaging chat with the selected contacts @@ -192,7 +192,7 @@ class KDE_EXPORT KABCore : public KAB::Core /** Starts the preferred web browser with the given URL as argument. */ - void browse( const QString& url ); + void browse( const TQString& url ); /** Select all contacts in the view. @@ -209,14 +209,14 @@ class KDE_EXPORT KABCore : public KAB::Core @param uids The uids of the contacts, which shall be deleted. */ - void deleteContacts( const QStringList &uids ); + void deleteContacts( const TQStringList &uids ); /** Deletes given distribution lists from the address book. @param uids The names of the distribution lists which shall be deleted. */ - void deleteDistributionLists( const QStringList &names ); + void deleteDistributionLists( const TQStringList &names ); /** @@ -263,9 +263,9 @@ class KDE_EXPORT KABCore : public KAB::Core Search with the current search field for a contact, that matches the given text, and selects it in the view. */ - void incrementalTextSearch( const QString& text ); + void incrementalTextSearch( const TQString& text ); - void incrementalJumpButtonSearch( const QString& characters ); + void incrementalJumpButtonSearch( const TQString& characters ); /** Marks the address book as modified. @@ -291,7 +291,7 @@ class KDE_EXPORT KABCore : public KAB::Core /** DCOP METHOD: Adds the given email address to address book. */ - virtual void addEmail( const QString& addr ); + virtual void addEmail( const TQString& addr ); /** DCOP METHOD: Imports the vCard, located at the given url. @@ -301,7 +301,7 @@ class KDE_EXPORT KABCore : public KAB::Core /** DCOP METHOD: Imports the given vCard. */ - virtual void importVCardFromData( const QString& vCard ); + virtual void importVCardFromData( const TQString& vCard ); /** DCOP METHOD: Opens contact editor to input a new contact. @@ -317,7 +317,7 @@ class KDE_EXPORT KABCore : public KAB::Core DCOP METHOD: Returns the name of the contact, that matches the given phone number. */ - virtual QString getNameByPhone( const QString& phone ); + virtual TQString getNameByPhone( const TQString& phone ); /** DCOP METHOD: Handle command line arguments, return true if handled @@ -332,16 +332,16 @@ class KDE_EXPORT KABCore : public KAB::Core void save(); /** - Shows the edit dialog for the given uid. If the uid is QString::null, + Shows the edit dialog for the given uid. If the uid is TQString::null, the method will try to find a selected addressee in the view. */ - void editContact( const QString &uid = QString::null ); + void editContact( const TQString &uid = TQString::null ); /** * Let the user chose a different resource for the selected contacts. * If the adding to the new resource is successfull, the contact is * removed from the old one, unless the Copy flag is given. */ - void storeContactIn( const QString &uid = QString::null, bool copy = false ); + void storeContactIn( const TQString &uid = TQString::null, bool copy = false ); /** * Lets the user chose a different resource for the selected contacts and @@ -371,9 +371,9 @@ class KDE_EXPORT KABCore : public KAB::Core */ void print(); - void detailsHighlighted( const QString& ); + void detailsHighlighted( const TQString& ); - void showContactsAddress( const QString &uid ); + void showContactsAddress( const TQString &uid ); void configurationChanged(); @@ -388,7 +388,7 @@ class KDE_EXPORT KABCore : public KAB::Core #ifdef KDEPIM_NEW_DISTRLISTS void editDistributionList( const KPIM::DistributionList &list ); - void showDistributionListEntry( const QString &uid ); + void showDistributionListEntry( const TQString &uid ); #endif private slots: @@ -396,27 +396,27 @@ class KDE_EXPORT KABCore : public KAB::Core void setDetailsVisible( bool visible ); void extensionModified( const KABC::Addressee::List &list ); - void extensionDeleted( const QStringList &uidList ); + void extensionDeleted( const TQStringList &uidList ); void clipboardDataChanged(); void updateIncSearchWidget(); - void slotEditorDestroyed( const QString &uid ); + void slotEditorDestroyed( const TQString &uid ); void delayedAddressBookChanged(); void addressBookChanged(); - void categoriesSelected( const QStringList& ); + void categoriesSelected( const TQStringList& ); void editCategories(); void slotClearSearchBar(); void slotContactsUpdated(); - void activateDetailsWidget( QWidget *widget ); - void deactivateDetailsWidget( QWidget *widget ); + void activateDetailsWidget( TQWidget *widget ); + void deactivateDetailsWidget( TQWidget *widget ); - void editDistributionList( const QString &name ); + void editDistributionList( const TQString &name ); void removeSelectedContactsFromDistList(); void editSelectedDistributionList(); - void sendMailToDistributionList( const QString &id ); + void sendMailToDistributionList( const TQString &id ); private: void initGUI(); @@ -424,21 +424,21 @@ class KDE_EXPORT KABCore : public KAB::Core void initActions(); void updateCategories(); - QStringList allCategories() const; + TQStringList allCategories() const; - AddresseeEditorDialog *createAddresseeEditorDialog( QWidget *parent, + AddresseeEditorDialog *createAddresseeEditorDialog( TQWidget *parent, const char *name = 0 ); - QWidget *mWidget; + TQWidget *mWidget; KABC::AddressBook *mAddressBook; KStatusBar *mStatusBar; ViewManager *mViewManager; - QLabel *mViewHeaderLabel; + TQLabel *mViewHeaderLabel; #ifdef KDEPIM_NEW_DISTRLISTS - QString mSelectedDistributionList; - QWidget *mDistListButtonWidget; + TQString mSelectedDistributionList; + TQWidget *mDistListButtonWidget; #endif ExtensionManager *mExtensionManager; @@ -451,20 +451,20 @@ class KDE_EXPORT KABCore : public KAB::Core KPIM::AddresseeView *mDetailsViewer; KPIM::CategorySelectDialog *mCategorySelectDialog; KPIM::CategoryEditDialog *mCategoryEditDialog; - QWidget *mDetailsPage; - QWidget *mDetailsWidget; - QHBoxLayout *mDetailsLayout; - QSplitter *mDetailsSplitter; - QSplitter *mLeftSplitter; - QWidgetStack *mDetailsStack; + TQWidget *mDetailsPage; + TQWidget *mDetailsWidget; + TQHBoxLayout *mDetailsLayout; + TQSplitter *mDetailsSplitter; + TQSplitter *mLeftSplitter; + TQWidgetStack *mDetailsStack; LDAPSearchDialog *mLdapSearchDialog; - QDict<AddresseeEditorDialog> mEditorDict; + TQDict<AddresseeEditorDialog> mEditorDict; bool mReadWrite; bool mModified; bool mIsPart; - QTimer *mAddressBookChangedTimer; + TQTimer *mAddressBookChangedTimer; KAction *mActionPaste; KAction *mActionCut; |