diff options
Diffstat (limited to 'plugins/kmail/bodypartformatter/attendeeselector.cpp')
-rw-r--r-- | plugins/kmail/bodypartformatter/attendeeselector.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/plugins/kmail/bodypartformatter/attendeeselector.cpp b/plugins/kmail/bodypartformatter/attendeeselector.cpp index ac8059dc9..0ea917bed 100644 --- a/plugins/kmail/bodypartformatter/attendeeselector.cpp +++ b/plugins/kmail/bodypartformatter/attendeeselector.cpp @@ -25,32 +25,32 @@ #include <klocale.h> #include <kpushbutton.h> -#include <qlayout.h> +#include <tqlayout.h> -AttendeeSelector::AttendeeSelector(QWidget * parent) +AttendeeSelector::AttendeeSelector(TQWidget * parent) : KDialogBase( parent, 0, true, i18n("Select Attendees"), Ok|Cancel, NoDefault, true ) { ui = new AttendeeSelectorWidget( this ); setMainWidget( ui ); - QGridLayout *layout = static_cast<QGridLayout*>( ui->layout() ); + TQGridLayout *layout = static_cast<TQGridLayout*>( ui->layout() ); layout->setMargin( 0 ); ui->addButton->setGuiItem( KStdGuiItem::add() ); - connect( ui->addButton, SIGNAL(clicked()), SLOT(addClicked()) ); + connect( ui->addButton, TQT_SIGNAL(clicked()), TQT_SLOT(addClicked()) ); ui->removeButton->setGuiItem( KStdGuiItem::remove() ); - connect( ui->removeButton, SIGNAL(clicked()), SLOT(removeClicked()) ); + connect( ui->removeButton, TQT_SIGNAL(clicked()), TQT_SLOT(removeClicked()) ); ui->attendeeEdit->setClickMessage( i18n("Click to add a new attendee") ); - connect( ui->attendeeEdit, SIGNAL(textChanged(const QString&)), SLOT(textChanged(const QString&)) ); - connect( ui->attendeeEdit, SIGNAL(returnPressed(const QString&)), SLOT(addClicked()) ); + connect( ui->attendeeEdit, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(textChanged(const TQString&)) ); + connect( ui->attendeeEdit, TQT_SIGNAL(returnPressed(const TQString&)), TQT_SLOT(addClicked()) ); - connect( ui->attendeeList, SIGNAL(selectionChanged()), SLOT(selectionChanged()) ); + connect( ui->attendeeList, TQT_SIGNAL(selectionChanged()), TQT_SLOT(selectionChanged()) ); } -QStringList AttendeeSelector::attendees() const +TQStringList AttendeeSelector::attendees() const { - QStringList rv; + TQStringList rv; for ( uint i = 0; i < ui->attendeeList->count(); ++i ) rv << ui->attendeeList->item( i )->text(); return rv; @@ -69,7 +69,7 @@ void AttendeeSelector::removeClicked() ui->attendeeList->removeItem( ui->attendeeList->currentItem() ); } -void AttendeeSelector::textChanged( const QString &text ) +void AttendeeSelector::textChanged( const TQString &text ) { ui->addButton->setEnabled( !text.isEmpty() ); } |