diff options
Diffstat (limited to 'kopete/libkopete/ui/userinfodialog.cpp')
-rw-r--r-- | kopete/libkopete/ui/userinfodialog.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kopete/libkopete/ui/userinfodialog.cpp b/kopete/libkopete/ui/userinfodialog.cpp index 40ac3de9..2fa3962c 100644 --- a/kopete/libkopete/ui/userinfodialog.cpp +++ b/kopete/libkopete/ui/userinfodialog.cpp @@ -27,7 +27,7 @@ #include <tqlabel.h> #include <tqvbox.h> -#include <tqlayout.h> +#include <layout.h> namespace Kopete { @@ -59,7 +59,7 @@ struct UserInfoDialog::UserInfoDialogPrivate { }; UserInfoDialog::UserInfoDialog( const TQString& descr ) -: KDialogBase( Kopete::UI::Global::mainWidget(), "userinfodialog", true, i18n( "User Info for %1" ).tqarg( descr ), KDialogBase::Ok ) +: KDialogBase( Kopete::UI::Global::mainWidget(), "userinfodialog", true, i18n( "User Info for %1" ).arg( descr ), KDialogBase::Ok ) { d = new UserInfoDialogPrivate; d->page = new TQWidget( this ); @@ -93,7 +93,7 @@ void UserInfoDialog::setAwayMessage( const TQString& msg ) d->awayMessage = msg; } -void UserInfoDialog::settqStatus( const TQString& status ) +void UserInfoDialog::setStatus( const TQString& status ) { d->status = status; } @@ -138,7 +138,7 @@ TQHBox* UserInfoDialog::addLabelEdit( const TQString& label, const TQString& tex TQHBox *box = new TQHBox( d->page ); new TQLabel( label, box ); edit = new KLineEdit( box ); - edit->tqsetAlignment( TQt::AlignHCenter ); + edit->setAlignment( TQt::AlignHCenter ); edit->setText( text ); edit->setReadOnly( true ); return box; |