diff options
Diffstat (limited to 'kopete/protocols/testbed/ui')
-rw-r--r-- | kopete/protocols/testbed/ui/testbedwebcamdialog.cpp | 6 | ||||
-rw-r--r-- | kopete/protocols/testbed/ui/testbedwebcamdialog.h | 3 |
2 files changed, 5 insertions, 4 deletions
diff --git a/kopete/protocols/testbed/ui/testbedwebcamdialog.cpp b/kopete/protocols/testbed/ui/testbedwebcamdialog.cpp index b6a5a3b6..fd6f6743 100644 --- a/kopete/protocols/testbed/ui/testbedwebcamdialog.cpp +++ b/kopete/protocols/testbed/ui/testbedwebcamdialog.cpp @@ -27,8 +27,8 @@ #include <kdebug.h> #include <klocale.h> -TestbedWebcamDialog::TestbedWebcamDialog( const TQString &contactId, TQWidget * parent, const char * name ) -: KDialogBase( KDialogBase::Plain, Qt::WDestructiveClose, parent, name, false, i18n( "Webcam for %1" ).arg( contactId ), +TestbedWebcamDialog::TestbedWebcamDialog( const TQString &contactId, TQWidget * tqparent, const char * name ) +: KDialogBase( KDialogBase::Plain, TQt::WDestructiveClose, tqparent, name, false, i18n( "Webcam for %1" ).tqarg( contactId ), KDialogBase::Close, KDialogBase::Close, true /*seperator*/ ) { setInitialSize( TQSize(320,290), false ); @@ -43,7 +43,7 @@ TestbedWebcamDialog::TestbedWebcamDialog( const TQString &contactId, TQWidget * mImageContainer = new Kopete::WebcamWidget( page ); mImageContainer->setMinimumSize(320,240); mImageContainer->setText( i18n( "No webcam image received" ) ); - mImageContainer->setSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding); + mImageContainer->tqsetSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding); topLayout->add( mImageContainer ); show(); diff --git a/kopete/protocols/testbed/ui/testbedwebcamdialog.h b/kopete/protocols/testbed/ui/testbedwebcamdialog.h index 1ae898b3..93223866 100644 --- a/kopete/protocols/testbed/ui/testbedwebcamdialog.h +++ b/kopete/protocols/testbed/ui/testbedwebcamdialog.h @@ -40,8 +40,9 @@ namespace Kopete { class TestbedWebcamDialog : public KDialogBase { Q_OBJECT + TQ_OBJECT public: - TestbedWebcamDialog( const TQString &, TQWidget* parent = 0, const char* name = 0 ); + TestbedWebcamDialog( const TQString &, TQWidget* tqparent = 0, const char* name = 0 ); ~TestbedWebcamDialog(); public slots: |