From 9c9412b30c54468adc9e506cc76c5d113fbf5056 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:14:03 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- kopete/libkopete/ui/kopetestdaction.h | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'kopete/libkopete/ui/kopetestdaction.h') diff --git a/kopete/libkopete/ui/kopetestdaction.h b/kopete/libkopete/ui/kopetestdaction.h index 895ad180..376548b9 100644 --- a/kopete/libkopete/ui/kopetestdaction.h +++ b/kopete/libkopete/ui/kopetestdaction.h @@ -34,57 +34,57 @@ public: /** * Standard action to start a chat */ - static KAction *chat( const TQObject *recvr, const char *slot, + static TDEAction *chat( const TQObject *recvr, const char *slot, TQObject* parent, const char *name = 0 ); /** * Standard action to send a single message */ - static KAction *sendMessage(const TQObject *recvr, const char *slot, + static TDEAction *sendMessage(const TQObject *recvr, const char *slot, TQObject* parent, const char *name = 0); /** * Standard action to open a user info dialog */ - static KAction *contactInfo(const TQObject *recvr, const char *slot, + static TDEAction *contactInfo(const TQObject *recvr, const char *slot, TQObject* parent, const char *name = 0); /** * Standard action to open a history dialog or something similar */ - static KAction *viewHistory(const TQObject *recvr, const char *slot, + static TDEAction *viewHistory(const TQObject *recvr, const char *slot, TQObject* parent, const char *name = 0); /** * Standard action to initiate sending a file to a contact */ - static KAction *sendFile(const TQObject *recvr, const char *slot, + static TDEAction *sendFile(const TQObject *recvr, const char *slot, TQObject* parent, const char *name = 0); /** * Standard action to change a contacts @ref Kopete::MetaContact */ - static KAction *changeMetaContact(const TQObject *recvr, const char *slot, + static TDEAction *changeMetaContact(const TQObject *recvr, const char *slot, TQObject* parent, const char *name = 0); /** * Standard action to add a group */ - static KAction *addGroup(const TQObject *recvr, const char *slot, + static TDEAction *addGroup(const TQObject *recvr, const char *slot, TQObject* parent, const char *name = 0); /** * Standard action to delete a contact */ - static KAction *deleteContact(const TQObject *recvr, const char *slot, + static TDEAction *deleteContact(const TQObject *recvr, const char *slot, TQObject* parent, const char *name = 0); /** * Standard action to change a contact alias/nickname in your contactlist */ - static KAction *changeAlias(const TQObject *recvr, const char *slot, + static TDEAction *changeAlias(const TQObject *recvr, const char *slot, TQObject* parent, const char *name = 0); /** * Standard action to block a contact */ - static KAction *blockContact(const TQObject *recvr, const char *slot, + static TDEAction *blockContact(const TQObject *recvr, const char *slot, TQObject* parent, const char *name = 0); /** * Standard action to unblock a contact */ - static KAction *unblockContact(const TQObject *recvr, const char *slot, + static TDEAction *unblockContact(const TQObject *recvr, const char *slot, TQObject* parent, const char *name = 0); /** @@ -92,7 +92,7 @@ public: * * The object has no signal/slot, the prefs are automatically shown */ - static KAction *preferences(KActionCollection *parent, const char *name = 0); + static TDEAction *preferences(TDEActionCollection *parent, const char *name = 0); }; @@ -101,13 +101,13 @@ namespace KSettings class Dialog; } -class KOPETE_EXPORT KopetePreferencesAction : public KAction +class KOPETE_EXPORT KopetePreferencesAction : public TDEAction { Q_OBJECT public: - KopetePreferencesAction( KActionCollection *parent, const char *name = 0 ); + KopetePreferencesAction( TDEActionCollection *parent, const char *name = 0 ); ~KopetePreferencesAction(); protected slots: -- cgit v1.2.1