summaryrefslogtreecommitdiffstats
path: root/kopete/libkopete/knotification.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-13 17:34:53 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-13 17:51:33 +0900
commit1329ec6abbcb7b79cd960e0ca138f16598d5f11f (patch)
tree8b64fab3a352aada6a046f69f1f7e8a6ad819594 /kopete/libkopete/knotification.cpp
parent69c2eb8d5f2ed64c876b2a1081cc83ed9f4652d3 (diff)
downloadtdenetwork-1329ec6abbcb7b79cd960e0ca138f16598d5f11f.tar.gz
tdenetwork-1329ec6abbcb7b79cd960e0ca138f16598d5f11f.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kopete/libkopete/knotification.cpp')
-rw-r--r--kopete/libkopete/knotification.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kopete/libkopete/knotification.cpp b/kopete/libkopete/knotification.cpp
index e7bfdfe2..24d653a0 100644
--- a/kopete/libkopete/knotification.cpp
+++ b/kopete/libkopete/knotification.cpp
@@ -174,7 +174,7 @@ void KNotification::notifyByPassivePopup(const TQPixmap &pix )
WId winId=d->widget ? d->widget->topLevelWidget()->winId() : 0;
KPassivePopup *pop = new KPassivePopup( checkWinId(appName, winId) );
- TQObject::connect(this, TQT_SIGNAL(closed()), pop, TQT_SLOT(deleteLater()));
+ TQObject::connect(this, TQ_SIGNAL(closed()), pop, TQ_SLOT(deleteLater()));
TQVBox *vb = pop->standardView( title, pix.isNull() ? d->text: TQString() , icon );
TQVBox *vb2=vb;
@@ -214,9 +214,9 @@ void KNotification::notifyByPassivePopup(const TQPixmap &pix )
linkCode+=TQString::fromLatin1("</p>");
KActiveLabel *link = new KActiveLabel(linkCode , vb );
//link->setAlignment( AlignRight );
- TQObject::disconnect(link, TQT_SIGNAL(linkClicked(const TQString &)), link, TQT_SLOT(openLink(const TQString &)));
- TQObject::connect(link, TQT_SIGNAL(linkClicked(const TQString &)), this, TQT_SLOT(slotPopupLinkClicked(const TQString &)));
- TQObject::connect(link, TQT_SIGNAL(linkClicked(const TQString &)), pop, TQT_SLOT(hide()));
+ TQObject::disconnect(link, TQ_SIGNAL(linkClicked(const TQString &)), link, TQ_SLOT(openLink(const TQString &)));
+ TQObject::connect(link, TQ_SIGNAL(linkClicked(const TQString &)), this, TQ_SLOT(slotPopupLinkClicked(const TQString &)));
+ TQObject::connect(link, TQ_SIGNAL(linkClicked(const TQString &)), pop, TQ_SLOT(hide()));
}
pop->setAutoDelete( true );
@@ -391,12 +391,12 @@ KNotification *KNotification::userEvent( const TQString& text, const TQPixmap& p
}
if ( present & KNotifyClient::Messagebox )
{
- TQTimer::singleShot(0,notify,TQT_SLOT(notifyByMessagebox()));
+ TQTimer::singleShot(0,notify,TQ_SLOT(notifyByMessagebox()));
}
else //not a message box (because closing the event when a message box is there is suicide)
if(flags & CloseOnTimeout)
{
- TQTimer::singleShot(6*1000, notify, TQT_SLOT(close()));
+ TQTimer::singleShot(6*1000, notify, TQ_SLOT(close()));
}
if ( present & KNotifyClient::Execute )
{