diff options
Diffstat (limited to 'korganizer/koeditoralarms.cpp')
-rw-r--r-- | korganizer/koeditoralarms.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/korganizer/koeditoralarms.cpp b/korganizer/koeditoralarms.cpp index 8f3cb4648..d45495783 100644 --- a/korganizer/koeditoralarms.cpp +++ b/korganizer/koeditoralarms.cpp @@ -19,8 +19,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. As a special exception, permission is given to link this program - with any edition of Qt, and distribute the resulting executable, - without including the source code for Qt in the source distribution. + with any edition of TQt, and distribute the resulting executable, + without including the source code for TQt in the source distribution. */ #include "koeditoralarms_base.h" @@ -51,10 +51,10 @@ #include <libemailfunctions/email.h> -class AlarmListViewItem : public QListViewItem +class AlarmListViewItem : public TQListViewItem { public: - AlarmListViewItem( TQListView *parent, KCal::Alarm *alarm, const TQCString &inctype ); + AlarmListViewItem( TQListView *tqparent, KCal::Alarm *alarm, const TQCString &inctype ); virtual ~AlarmListViewItem(); KCal::Alarm *alarm() const { return mAlarm; } void construct(); @@ -67,9 +67,9 @@ class AlarmListViewItem : public QListViewItem TQCString mIncType; }; -AlarmListViewItem::AlarmListViewItem( TQListView *parent, KCal::Alarm *alarm, +AlarmListViewItem::AlarmListViewItem( TQListView *tqparent, KCal::Alarm *alarm, const TQCString &inctype ) - : TQListViewItem( parent ), mIncType( inctype ) + : TQListViewItem( tqparent ), mIncType( inctype ) { if ( alarm ) { mAlarm = new KCal::Alarm( *alarm ); @@ -188,9 +188,9 @@ void AlarmListViewItem::construct() KOEditorAlarms::KOEditorAlarms( const TQCString &type, - KCal::Alarm::List *alarms, TQWidget *parent, + KCal::Alarm::List *alarms, TQWidget *tqparent, const char *name ) - : KDialogBase( parent, name, true, i18n("Advanced Reminders"), Ok | Cancel ), + : KDialogBase( tqparent, name, true, i18n("Advanced Reminders"), Ok | Cancel ), mType( type ), mAlarms( alarms ),mCurrentItem( 0 ) { if ( mType != "Todo" ) { @@ -385,7 +385,7 @@ void KOEditorAlarms::writeAlarm( KCal::Alarm *alarm ) add << KCal::Person( *it ); } // TODO: Add a subject line and possibilities for attachments - alarm->setEmailAlarm( TQString::null, mWidget->mEmailText->text(), + alarm->setEmailAlarm( TQString(), mWidget->mEmailText->text(), add ); break; } case 0: // Display |