summaryrefslogtreecommitdiffstats
path: root/korganizer/korgac
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/korgac')
-rw-r--r--korganizer/korgac/alarmdialog.cpp8
-rw-r--r--korganizer/korgac/alarmdialog.h2
-rw-r--r--korganizer/korgac/koalarmclient.cpp10
-rw-r--r--korganizer/korgac/koalarmclient.h2
4 files changed, 11 insertions, 11 deletions
diff --git a/korganizer/korgac/alarmdialog.cpp b/korganizer/korgac/alarmdialog.cpp
index f629a15a7..d539d6676 100644
--- a/korganizer/korgac/alarmdialog.cpp
+++ b/korganizer/korgac/alarmdialog.cpp
@@ -65,8 +65,8 @@ static int defSuspendUnit = 0; // 0=>minutes, 1=>hours, 2=>days, 3=>weeks
class AlarmListItem : public KListViewItem
{
public:
- AlarmListItem( const TQString &uid, TQListView *tqparent )
- : KListViewItem( tqparent ), mUid( uid ), mNotified( false )
+ AlarmListItem( const TQString &uid, TQListView *parent )
+ : KListViewItem( parent ), mUid( uid ), mNotified( false )
{
}
@@ -96,10 +96,10 @@ int AlarmListItem::compare( TQListViewItem *item, int iCol, bool bAscending ) co
typedef TQValueList<AlarmListItem*> ItemList;
-AlarmDialog::AlarmDialog( KCal::CalendarResources *calendar, TQWidget *tqparent, const char *name )
+AlarmDialog::AlarmDialog( KCal::CalendarResources *calendar, TQWidget *parent, const char *name )
: KDialogBase( Plain,
WType_TopLevel | WStyle_Customize | WStyle_StaysOnTop | WStyle_DialogBorder,
- tqparent, name, false, i18n("Reminder"),
+ parent, name, false, i18n("Reminder"),
Ok | User1 | User2 | User3, NoDefault,
false, i18n("Edit..."), i18n("Dismiss All"), i18n("Dismiss Reminder") ),
mCalendar( calendar ), mSuspendTimer(this)
diff --git a/korganizer/korgac/alarmdialog.h b/korganizer/korgac/alarmdialog.h
index e82832fad..b47f64d14 100644
--- a/korganizer/korgac/alarmdialog.h
+++ b/korganizer/korgac/alarmdialog.h
@@ -46,7 +46,7 @@ class AlarmDialog : public KDialogBase {
Q_OBJECT
TQ_OBJECT
public:
- explicit AlarmDialog( CalendarResources *calendar, TQWidget *tqparent = 0, const char *name = 0 );
+ explicit AlarmDialog( CalendarResources *calendar, TQWidget *parent = 0, const char *name = 0 );
~AlarmDialog();
diff --git a/korganizer/korgac/koalarmclient.cpp b/korganizer/korgac/koalarmclient.cpp
index f0837c65d..ac9b96c89 100644
--- a/korganizer/korgac/koalarmclient.cpp
+++ b/korganizer/korgac/koalarmclient.cpp
@@ -39,8 +39,8 @@
#include <tqpushbutton.h>
-KOAlarmClient::KOAlarmClient( TQObject *tqparent, const char *name )
- : DCOPObject( "ac" ), TQObject( tqparent, name ), mDialog( 0 )
+KOAlarmClient::KOAlarmClient( TQObject *parent, const char *name )
+ : DCOPObject( "ac" ), TQObject( parent, name ), mDialog( 0 )
{
kdDebug(5890) << "KOAlarmClient::KOAlarmClient()" << endl;
@@ -116,8 +116,8 @@ void KOAlarmClient::checkAlarms()
TQValueList<Alarm *>::ConstIterator it;
for( it = alarms.begin(); it != alarms.end(); ++it ) {
- kdDebug(5891) << "REMINDER: " << (*it)->tqparent()->summary() << endl;
- Incidence *incidence = mCalendar->incidence( (*it)->tqparent()->uid() );
+ kdDebug(5891) << "REMINDER: " << (*it)->parent()->summary() << endl;
+ Incidence *incidence = mCalendar->incidence( (*it)->parent()->uid() );
createReminder( mCalendar, incidence, from, (*it)->text() );
}
}
@@ -201,7 +201,7 @@ TQStringList KOAlarmClient::dumpAlarms()
TQValueList<Alarm*>::ConstIterator it;
for( it = alarms.begin(); it != alarms.end(); ++it ) {
Alarm *a = *it;
- lst << TQString(" ") + a->tqparent()->summary() + " ("
+ lst << TQString(" ") + a->parent()->summary() + " ("
+ a->time().toString() + ")";
}
diff --git a/korganizer/korgac/koalarmclient.h b/korganizer/korgac/koalarmclient.h
index b1b8c189c..93e1f31c4 100644
--- a/korganizer/korgac/koalarmclient.h
+++ b/korganizer/korgac/koalarmclient.h
@@ -46,7 +46,7 @@ class KOAlarmClient : public TQObject, virtual public AlarmClientIface, public K
Q_OBJECT
TQ_OBJECT
public:
- KOAlarmClient( TQObject *tqparent = 0, const char *name = 0 );
+ KOAlarmClient( TQObject *parent = 0, const char *name = 0 );
~KOAlarmClient();
bool commitData( TQSessionManager & );