summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/yahoo/ui/yahoowebcamdialog.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:34 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:34 -0600
commit83677e35509b4dafac63b76995652bdf3b49f209 (patch)
tree591f1dc22278addb439726c42896376b17bb42bd /kopete/protocols/yahoo/ui/yahoowebcamdialog.cpp
parent808e453c56036211f57482ed847d54aca01bba68 (diff)
downloadtdenetwork-83677e35509b4dafac63b76995652bdf3b49f209.tar.gz
tdenetwork-83677e35509b4dafac63b76995652bdf3b49f209.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 808e453c56036211f57482ed847d54aca01bba68.
Diffstat (limited to 'kopete/protocols/yahoo/ui/yahoowebcamdialog.cpp')
-rw-r--r--kopete/protocols/yahoo/ui/yahoowebcamdialog.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kopete/protocols/yahoo/ui/yahoowebcamdialog.cpp b/kopete/protocols/yahoo/ui/yahoowebcamdialog.cpp
index 08e4331e..640164f1 100644
--- a/kopete/protocols/yahoo/ui/yahoowebcamdialog.cpp
+++ b/kopete/protocols/yahoo/ui/yahoowebcamdialog.cpp
@@ -20,7 +20,7 @@
#include <tqobject.h>
#include <tqwidget.h>
#include <tqlabel.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqvbox.h>
#include <kdebug.h>
#include <klocale.h>
@@ -28,7 +28,7 @@
#include <webcamwidget.h>
YahooWebcamDialog::YahooWebcamDialog( const TQString &contactId, TQWidget * parent, const char * name )
-: KDialogBase( KDialogBase::Plain, i18n( "Webcam for %1" ).arg( contactId ),
+: KDialogBase( KDialogBase::Plain, i18n( "Webcam for %1" ).tqarg( contactId ),
KDialogBase::Close, KDialogBase::Close, parent, name, false, true /*seperator*/ )
{
setInitialSize( TQSize(320,290), false );
@@ -44,11 +44,11 @@ YahooWebcamDialog::YahooWebcamDialog( const TQString &contactId, TQWidget * pare
m_imageContainer = new Kopete::WebcamWidget( page );
m_imageContainer->setText( i18n( "No webcam image received" ) );
m_imageContainer->setMinimumSize(320,240);
- m_imageContainer->setSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding);
+ m_imageContainer->tqsetSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding);
topLayout->add( m_imageContainer );
m_Viewer = new TQLabel( page );
- m_Viewer->setSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding);
+ m_Viewer->tqsetSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding);
m_Viewer->hide();
topLayout->add( m_Viewer );
@@ -67,7 +67,7 @@ void YahooWebcamDialog::newImage( const TQPixmap &image )
void YahooWebcamDialog::webcamPaused()
{
- m_imageContainer->setText( TQString::fromLatin1("*** Webcam paused ***") );
+ m_imageContainer->setText( TQString::tqfromLatin1("*** Webcam paused ***") );
}
void YahooWebcamDialog::webcamClosed( int reason )
@@ -77,15 +77,15 @@ void YahooWebcamDialog::webcamClosed( int reason )
switch ( reason )
{
case 1:
- closeReason = i18n( "%1 has stopped broadcasting" ).arg( contactName ); break;
+ closeReason = i18n( "%1 has stopped broadcasting" ).tqarg( contactName ); break;
case 2:
- closeReason = i18n( "%1 has cancelled viewing permission" ).arg( contactName ); break;
+ closeReason = i18n( "%1 has cancelled viewing permission" ).tqarg( contactName ); break;
case 3:
- closeReason = i18n( "%1 has declined permission to view webcam" ).arg( contactName ); break;
+ closeReason = i18n( "%1 has declined permission to view webcam" ).tqarg( contactName ); break;
case 4:
- closeReason = i18n( "%1 does not have his/her webcam online" ).arg( contactName ); break;
+ closeReason = i18n( "%1 does not have his/her webcam online" ).tqarg( contactName ); break;
default:
- closeReason = i18n( "Unable to view the webcam of %1 for an unknown reason" ).arg( contactName);
+ closeReason = i18n( "Unable to view the webcam of %1 for an unknown reason" ).tqarg( contactName);
}
m_imageContainer->clear();
@@ -94,7 +94,7 @@ void YahooWebcamDialog::webcamClosed( int reason )
void YahooWebcamDialog::setViewer( const TQStringList &viewer )
{
- TQString s = i18n( "%1 viewer(s)" ).arg( viewer.size() );
+ TQString s = i18n( "%1 viewer(s)" ).tqarg( viewer.size() );
if( viewer.size() )
{
s += ": ";