summaryrefslogtreecommitdiffstats
path: root/korganizer/koattendeeeditor.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:50 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:50 -0600
commit9cc13dcbb01a96c9e60a07ca63c61d24b374f50d (patch)
treeab537a329b9613e11dce8195761f93ffe82aed24 /korganizer/koattendeeeditor.cpp
parent3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 (diff)
downloadtdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.tar.gz
tdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.
Diffstat (limited to 'korganizer/koattendeeeditor.cpp')
-rw-r--r--korganizer/koattendeeeditor.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/korganizer/koattendeeeditor.cpp b/korganizer/koattendeeeditor.cpp
index cb5ca0122..497f10982 100644
--- a/korganizer/koattendeeeditor.cpp
+++ b/korganizer/koattendeeeditor.cpp
@@ -49,7 +49,7 @@
#include <tqcombobox.h>
#include <tqhbox.h>
#include <tqlabel.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqpushbutton.h>
#include <tqwhatsthis.h>
@@ -61,10 +61,10 @@ KOAttendeeEditor::KOAttendeeEditor( TQWidget * parent, const char *name ) :
{
}
-void KOAttendeeEditor::initOrganizerWidgets(TQWidget * parent, TQBoxLayout * layout)
+void KOAttendeeEditor::initOrganizerWidgets(TQWidget * parent, TQBoxLayout * tqlayout)
{
mOrganizerHBox = new TQHBox( parent );
- layout->addWidget( mOrganizerHBox );
+ tqlayout->addWidget( mOrganizerHBox );
// If creating a new event, then the user is the organizer -> show the
// identity combo
// readEvent will delete it and set another label text instead, if the user
@@ -91,10 +91,10 @@ void KOAttendeeEditor::initOrganizerWidgets(TQWidget * parent, TQBoxLayout * lay
mOrganizerHBox->setStretchFactor( mOrganizerCombo, 100 );
}
-void KOAttendeeEditor::initEditWidgets(TQWidget * parent, TQBoxLayout * layout)
+void KOAttendeeEditor::initEditWidgets(TQWidget * parent, TQBoxLayout * tqlayout)
{
TQGridLayout *topLayout = new TQGridLayout();
- layout->addLayout( topLayout );
+ tqlayout->addLayout( topLayout );
TQString whatsThis = i18n("Edits the name of the attendee selected in the list "
"above, or adds a new attendee if there are no attendees"
@@ -309,7 +309,7 @@ void KOAttendeeEditor::readEvent(KCal::Incidence * incidence)
delete mOrganizerCombo;
mOrganizerCombo = 0;
}
- mOrganizerLabel->setText( i18n( "Organizer: %1" ).arg( incidence->organizer().fullName() ) );
+ mOrganizerLabel->setText( i18n( "Organizer: %1" ).tqarg( incidence->organizer().fullName() ) );
}
Attendee::List al = incidence->attendees();
@@ -430,7 +430,7 @@ void KOAttendeeEditor::updateAttendee()
a->setUid( mUid );
a->setEmail( email );
a->setRole( Attendee::Role( mRoleCombo->currentItem() ) );
- a->seStatus( Attendee::PartStat( mStatusCombo->currentItem() ) );
+ a->setqStatus( Attendee::PartStat( mStatusCombo->currentItem() ) );
a->setRSVP( mRsvpButton->isChecked() );
updateCurrentItem();
@@ -477,9 +477,9 @@ void KOAttendeeEditor::fillAttendeeInput( KCal::Attendee *a )
if ( a->status() == Attendee::Delegated ) {
if ( !a->delegate().isEmpty() )
- mDelegateLabel->setText( i18n( "Delegated to %1" ).arg( a->delegate() ) );
+ mDelegateLabel->setText( i18n( "Delegated to %1" ).tqarg( a->delegate() ) );
else if ( !a->delegator().isEmpty() )
- mDelegateLabel->setText( i18n( "Delegated from %1" ).arg( a->delegator() ) );
+ mDelegateLabel->setText( i18n( "Delegated from %1" ).tqarg( a->delegator() ) );
else
mDelegateLabel->setText( i18n( "Not delegated" ) );
}