diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 36a36a5c1015aa0d03f4515c401e907ddb9d6291 (patch) | |
tree | 0212ba6d2c749043134005a41f2bd0379619d40f /korganizer/korgac | |
parent | 4c6f8d69e2d1501837affb472c4eb8fec4462240 (diff) | |
download | tdepim-36a36a5c1015aa0d03f4515c401e907ddb9d6291.tar.gz tdepim-36a36a5c1015aa0d03f4515c401e907ddb9d6291.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'korganizer/korgac')
-rw-r--r-- | korganizer/korgac/alarmdialog.cpp | 8 | ||||
-rw-r--r-- | korganizer/korgac/alarmdialog.h | 2 | ||||
-rw-r--r-- | korganizer/korgac/koalarmclient.cpp | 10 | ||||
-rw-r--r-- | korganizer/korgac/koalarmclient.h | 2 |
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 & ); |