From 69cac65817d949cda2672ec4f0aa73d5e66a0ba1 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 22 Jun 2011 00:30:31 +0000 Subject: TQt4 port kdenetwork This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kopete/libkopete/ui/contactaddednotifydialog.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'kopete/libkopete/ui/contactaddednotifydialog.h') diff --git a/kopete/libkopete/ui/contactaddednotifydialog.h b/kopete/libkopete/ui/contactaddednotifydialog.h index be5349a4..e4fe5a61 100644 --- a/kopete/libkopete/ui/contactaddednotifydialog.h +++ b/kopete/libkopete/ui/contactaddednotifydialog.h @@ -43,7 +43,7 @@ namespace UI { * @code Kopete::UI::ContactAddedNotifyDialog *dialog = - new ContactAddedNotifyDialog(contactId, TQString::null,account); + new ContactAddedNotifyDialog(contactId, TQString(),account); TQObject::connect(dialog,TQT_SIGNAL(applyClicked(const TQString&)),this,TQT_SLOT(contactAddedDialogApplied())); TQObject::connect(dialog,TQT_SIGNAL(infoClicked(const TQString&)),this,TQT_SLOT(contactAddedDialogInfo())); dialog->show(); @@ -70,6 +70,7 @@ namespace UI { class KOPETE_EXPORT ContactAddedNotifyDialog : public KDialogBase { Q_OBJECT + TQ_OBJECT public: /** * All widget in the dialog that may be hidden. @@ -90,10 +91,10 @@ public: * @param contactId the contactId of the contact which just added the user * @param contactNick the nickname of the contact if available. * @param account is used to display the account icon and informaiton about the account - * @param hide a bitmask of HideWidget used to hide some widget. By default, everything is shown. + * @param hide a bittqmask of HideWidget used to hide some widget. By default, everything is shown. * */ - ContactAddedNotifyDialog(const TQString& contactId, const TQString& contactNick=TQString::null, + ContactAddedNotifyDialog(const TQString& contactId, const TQString& contactNick=TQString(), Kopete::Account *account=0L, uint hide=0x00); /** @@ -152,7 +153,7 @@ signals: * signal to a slot which show a dialog with more info about the * contact. * - * hint: you can use sender() as parent of the new dialog + * hint: you can use sender() as tqparent of the new dialog * @param contactId is the id of the contact passed in the constructor. */ void infoClicked(const TQString &contactId); -- cgit v1.2.1