summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/jabber/jingle/jinglevoicesessiondialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/jabber/jingle/jinglevoicesessiondialog.cpp')
-rw-r--r--kopete/protocols/jabber/jingle/jinglevoicesessiondialog.cpp46
1 files changed, 23 insertions, 23 deletions
diff --git a/kopete/protocols/jabber/jingle/jinglevoicesessiondialog.cpp b/kopete/protocols/jabber/jingle/jinglevoicesessiondialog.cpp
index 9fb61274..b017cdfd 100644
--- a/kopete/protocols/jabber/jingle/jinglevoicesessiondialog.cpp
+++ b/kopete/protocols/jabber/jingle/jinglevoicesessiondialog.cpp
@@ -17,9 +17,9 @@
#include "jinglevoicesessiondialog.h"
// Qt includes
-#include <qlabel.h>
-#include <qpixmap.h>
-#include <qimage.h>
+#include <tqlabel.h>
+#include <tqpixmap.h>
+#include <tqimage.h>
// Jingle includes
// #include "jinglevoicesession.h"
@@ -40,27 +40,27 @@
using namespace XMPP;
-JingleVoiceSessionDialog::JingleVoiceSessionDialog(const Jid &peerJid, VoiceCaller *caller, QWidget *parent, const char *name)
+JingleVoiceSessionDialog::JingleVoiceSessionDialog(const Jid &peerJid, VoiceCaller *caller, TQWidget *parent, const char *name)
: JingleVoiceSessionDialogBase(parent, name), m_session(caller), m_peerJid(peerJid), m_sessionState(Incoming)
{
- QString contactJid = m_peerJid.full();
+ TQString contactJid = m_peerJid.full();
setCaption( i18n("Voice session with %1").arg(contactJid) );
- connect(buttonAccept, SIGNAL(clicked()), this, SLOT(slotAcceptClicked()));
- connect(buttonDecline, SIGNAL(clicked()), this, SLOT(slotDeclineClicked()));
- connect(buttonTerminate, SIGNAL(clicked()), this, SLOT(slotTerminateClicked()));
+ connect(buttonAccept, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotAcceptClicked()));
+ connect(buttonDecline, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotDeclineClicked()));
+ connect(buttonTerminate, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotTerminateClicked()));
// NOTE: Disabled for 0.12
#if 0
- connect(m_session, SIGNAL(sessionStarted()), this, SLOT(sessionStarted()));
- connect(m_session, SIGNAL(accepted()), this, SLOT(sessionAccepted()));
- connect(m_session, SIGNAL(declined()), this, SLOT(sessionDeclined()));
- connect(m_session, SIGNAL(terminated()), this, SLOT(sessionTerminated()));
+ connect(m_session, TQT_SIGNAL(sessionStarted()), this, TQT_SLOT(sessionStarted()));
+ connect(m_session, TQT_SIGNAL(accepted()), this, TQT_SLOT(sessionAccepted()));
+ connect(m_session, TQT_SIGNAL(declined()), this, TQT_SLOT(sessionDeclined()));
+ connect(m_session, TQT_SIGNAL(terminated()), this, TQT_SLOT(sessionTerminated()));
#endif
- connect(m_session, SIGNAL(accepted( const Jid & )), this, SLOT( sessionAccepted(const Jid &) ));
- connect(m_session, SIGNAL(in_progress( const Jid & )), this, SLOT( sessionStarted(const Jid &) ));
- connect(m_session, SIGNAL(rejected( const Jid& )), this, SLOT( sessionDeclined(const Jid &) ));
- connect(m_session, SIGNAL(terminated( const Jid& )), this, SLOT( sessionTerminated(const Jid &) ));
+ connect(m_session, TQT_SIGNAL(accepted( const Jid & )), this, TQT_SLOT( sessionAccepted(const Jid &) ));
+ connect(m_session, TQT_SIGNAL(in_progress( const Jid & )), this, TQT_SLOT( sessionStarted(const Jid &) ));
+ connect(m_session, TQT_SIGNAL(rejected( const Jid& )), this, TQT_SLOT( sessionDeclined(const Jid &) ));
+ connect(m_session, TQT_SIGNAL(terminated( const Jid& )), this, TQT_SLOT( sessionTerminated(const Jid &) ));
// Find JabberContact for the peer and fill this dialog with contact information.
JabberContact *peerContact = static_cast<JabberContact*>( m_session->account()->contactPool()->findRelevantRecipient( m_peerJid ) );
@@ -84,12 +84,12 @@ void JingleVoiceSessionDialog::setContactInformation(JabberContact *contact)
if( contact->metaContact() )
{
labelDisplayName->setText( contact->metaContact()->displayName() );
- labelContactPhoto->setPixmap( QPixmap(contact->metaContact()->photo()) );
+ labelContactPhoto->setPixmap( TQPixmap(contact->metaContact()->photo()) );
}
else
{
labelDisplayName->setText( contact->nickName() );
- labelDisplayName->setPixmap( QPixmap(contact->property(Kopete::Global::Properties::self()->photo()).value().toString()) );
+ labelDisplayName->setPixmap( TQPixmap(contact->property(Kopete::Global::Properties::self()->photo()).value().toString()) );
}
}
@@ -194,15 +194,15 @@ void JingleVoiceSessionDialog::sessionTerminated(const Jid &jid)
void JingleVoiceSessionDialog::reject()
{
finalize();
- QDialog::reject();
+ TQDialog::reject();
}
void JingleVoiceSessionDialog::finalize()
{
- disconnect(m_session, SIGNAL(accepted( const Jid & )), this, SLOT( sessionAccepted(const Jid &) ));
- disconnect(m_session, SIGNAL(in_progress( const Jid & )), this, SLOT( sessionStarted(const Jid &) ));
- disconnect(m_session, SIGNAL(rejected( const Jid& )), this, SLOT( sessionDeclined(const Jid &) ));
- disconnect(m_session, SIGNAL(terminated( const Jid& )), this, SLOT( sessionTerminated(const Jid &) ));
+ disconnect(m_session, TQT_SIGNAL(accepted( const Jid & )), this, TQT_SLOT( sessionAccepted(const Jid &) ));
+ disconnect(m_session, TQT_SIGNAL(in_progress( const Jid & )), this, TQT_SLOT( sessionStarted(const Jid &) ));
+ disconnect(m_session, TQT_SIGNAL(rejected( const Jid& )), this, TQT_SLOT( sessionDeclined(const Jid &) ));
+ disconnect(m_session, TQT_SIGNAL(terminated( const Jid& )), this, TQT_SLOT( sessionTerminated(const Jid &) ));
}
#include "jinglevoicesessiondialog.moc"