summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/yahoo/ui/yahoowebcamdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/yahoo/ui/yahoowebcamdialog.cpp')
-rw-r--r--kopete/protocols/yahoo/ui/yahoowebcamdialog.cpp40
1 files changed, 20 insertions, 20 deletions
diff --git a/kopete/protocols/yahoo/ui/yahoowebcamdialog.cpp b/kopete/protocols/yahoo/ui/yahoowebcamdialog.cpp
index 1c7d4ef7..caa3c75a 100644
--- a/kopete/protocols/yahoo/ui/yahoowebcamdialog.cpp
+++ b/kopete/protocols/yahoo/ui/yahoowebcamdialog.cpp
@@ -16,39 +16,39 @@
#include "yahoowebcamdialog.h"
-#include <qframe.h>
-#include <qobject.h>
-#include <qwidget.h>
-#include <qlabel.h>
-#include <qlayout.h>
-#include <qvbox.h>
+#include <tqframe.h>
+#include <tqobject.h>
+#include <tqwidget.h>
+#include <tqlabel.h>
+#include <tqlayout.h>
+#include <tqvbox.h>
#include <kdebug.h>
#include <klocale.h>
#include <webcamwidget.h>
-YahooWebcamDialog::YahooWebcamDialog( const QString &contactId, QWidget * parent, const char * name )
+YahooWebcamDialog::YahooWebcamDialog( const TQString &contactId, TQWidget * parent, const char * name )
: KDialogBase( KDialogBase::Plain, i18n( "Webcam for %1" ).arg( contactId ),
KDialogBase::Close, KDialogBase::Close, parent, name, false, true /*seperator*/ )
{
- setInitialSize( QSize(320,290), false );
+ setInitialSize( TQSize(320,290), false );
setEscapeButton( KDialogBase::Close );
- QObject::connect( this, SIGNAL( closeClicked() ), this, SIGNAL( closingWebcamDialog() ) );
+ TQObject::connect( this, TQT_SIGNAL( closeClicked() ), this, TQT_SIGNAL( closingWebcamDialog() ) );
contactName = contactId;
- QWidget *page = plainPage();
+ TQWidget *page = plainPage();
setMainWidget(page);
- QVBoxLayout *topLayout = new QVBoxLayout( page, 0, spacingHint() );
+ TQVBoxLayout *topLayout = new TQVBoxLayout( page, 0, spacingHint() );
m_imageContainer = new Kopete::WebcamWidget( page );
m_imageContainer->setText( i18n( "No webcam image received" ) );
m_imageContainer->setMinimumSize(320,240);
- m_imageContainer->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
+ m_imageContainer->setSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding);
topLayout->add( m_imageContainer );
- m_Viewer = new QLabel( page );
- m_Viewer->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
+ m_Viewer = new TQLabel( page );
+ m_Viewer->setSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding);
m_Viewer->hide();
topLayout->add( m_Viewer );
@@ -60,20 +60,20 @@ YahooWebcamDialog::~ YahooWebcamDialog( )
}
-void YahooWebcamDialog::newImage( const QPixmap &image )
+void YahooWebcamDialog::newImage( const TQPixmap &image )
{
m_imageContainer->updatePixmap( image );
}
void YahooWebcamDialog::webcamPaused()
{
- m_imageContainer->setText( QString::fromLatin1("*** Webcam paused ***") );
+ m_imageContainer->setText( TQString::fromLatin1("*** Webcam paused ***") );
}
void YahooWebcamDialog::webcamClosed( int reason )
{
kdDebug(14180) << k_funcinfo << "webcam closed with reason?? " << reason <<endl;
- QString closeReason;
+ TQString closeReason;
switch ( reason )
{
case 1:
@@ -92,13 +92,13 @@ void YahooWebcamDialog::webcamClosed( int reason )
m_imageContainer->setText( closeReason );
}
-void YahooWebcamDialog::setViewer( const QStringList &viewer )
+void YahooWebcamDialog::setViewer( const TQStringList &viewer )
{
- QString s = i18n( "%1 viewer(s)" ).arg( viewer.size() );
+ TQString s = i18n( "%1 viewer(s)" ).arg( viewer.size() );
if( viewer.size() )
{
s += ": ";
- for ( QStringList::ConstIterator it = viewer.begin(); it != viewer.end(); ++it ) {
+ for ( TQStringList::ConstIterator it = viewer.begin(); it != viewer.end(); ++it ) {
if( it != viewer.begin() )
s += ", ";
s += *it;