summaryrefslogtreecommitdiffstats
path: root/kopete/libkopete/ui/contactaddednotifydialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/libkopete/ui/contactaddednotifydialog.h')
-rw-r--r--kopete/libkopete/ui/contactaddednotifydialog.h9
1 files changed, 5 insertions, 4 deletions
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);