summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/testbed/ui/testbedwebcamdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/testbed/ui/testbedwebcamdialog.cpp')
-rw-r--r--kopete/protocols/testbed/ui/testbedwebcamdialog.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/kopete/protocols/testbed/ui/testbedwebcamdialog.cpp b/kopete/protocols/testbed/ui/testbedwebcamdialog.cpp
index 22884036..b6a5a3b6 100644
--- a/kopete/protocols/testbed/ui/testbedwebcamdialog.cpp
+++ b/kopete/protocols/testbed/ui/testbedwebcamdialog.cpp
@@ -18,32 +18,32 @@
#include <webcamwidget.h>
#include "avdevice/videodevicepool.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>
-TestbedWebcamDialog::TestbedWebcamDialog( const QString &contactId, QWidget * parent, const char * name )
+TestbedWebcamDialog::TestbedWebcamDialog( const TQString &contactId, TQWidget * parent, const char * name )
: KDialogBase( KDialogBase::Plain, Qt::WDestructiveClose, parent, name, false, i18n( "Webcam for %1" ).arg( contactId ),
KDialogBase::Close, KDialogBase::Close, 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() ) );
- QWidget *page = plainPage();
+ TQWidget *page = plainPage();
setMainWidget(page);
- QVBoxLayout *topLayout = new QVBoxLayout( page, 0, spacingHint() );
+ TQVBoxLayout *topLayout = new TQVBoxLayout( page, 0, spacingHint() );
mImageContainer = new Kopete::WebcamWidget( page );
mImageContainer->setMinimumSize(320,240);
mImageContainer->setText( i18n( "No webcam image received" ) );
- mImageContainer->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
+ mImageContainer->setSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding);
topLayout->add( mImageContainer );
show();
@@ -56,10 +56,10 @@ TestbedWebcamDialog::TestbedWebcamDialog( const QString &contactId, QWidget * pa
mVideoDevicePool->getImage(&mImage);
kdDebug() << "Just captured 1st frame" << endl;
- mPixmap=QPixmap(320,240,-1, QPixmap::DefaultOptim);
+ mPixmap=TQPixmap(320,240,-1, TQPixmap::DefaultOptim);
if (mPixmap.convertFromImage(mImage,0) == true)
mImageContainer->updatePixmap(mPixmap);
- connect(&qtimer, SIGNAL(timeout()), this, SLOT(slotUpdateImage()) );
+ connect(&qtimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotUpdateImage()) );
qtimer.start(0,FALSE);
}
@@ -73,7 +73,7 @@ void TestbedWebcamDialog::slotUpdateImage()
{
mVideoDevicePool->getFrame();
mVideoDevicePool->getImage(&mImage);
- mImageContainer->updatePixmap( QPixmap( mImage ) );
+ mImageContainer->updatePixmap( TQPixmap( mImage ) );
}