Commit e1dc8906 authored by Laurent Montel's avatar Laurent Montel 😁

Minor

parent 652d6a75
......@@ -123,8 +123,6 @@ bool ReminderTreeItem::operator<( const QTreeWidgetItem &other ) const
}
}
typedef QList<ReminderTreeItem *> ReminderList;
AlarmDialog::AlarmDialog( const Akonadi::ETMCalendar::Ptr &calendar, QWidget *parent )
: KDialog( parent, Qt::WindowStaysOnTopHint ),
mCalendar( calendar ), mSuspendTimer( this )
......@@ -732,7 +730,7 @@ void AlarmDialog::slotSave()
config->sync();
}
ReminderList AlarmDialog::selectedItems() const
AlarmDialog::ReminderList AlarmDialog::selectedItems() const
{
ReminderList list;
......
......@@ -101,6 +101,8 @@ class AlarmDialog : public KDialog
void closeEvent( QCloseEvent * );
private:
typedef QList<ReminderTreeItem *> ReminderList;
static KDateTime triggerDateForIncidence( const KCalCore::Incidence::Ptr &inc,
const QDateTime &reminderAt,
QString &displayStr );
......@@ -117,9 +119,9 @@ class AlarmDialog : public KDialog
bool startKOrganizer();
ReminderTreeItem *searchByItem( const Akonadi::Item &incidence );
void setTimer();
void dismiss( QList<ReminderTreeItem *> selections );
void dismiss(ReminderList selections );
int activeCount();
QList<ReminderTreeItem *> selectedItems() const;
ReminderList selectedItems() const;
void toggleDetails( QTreeWidgetItem *item );
void showDetails( QTreeWidgetItem *item );
......
......@@ -155,7 +155,7 @@ bool MailClient::mailOrganizer( const KCalCore::IncidenceBase::Ptr &incidence,
subject = i18n( "Free Busy Message" );
}
QString body = KCalUtils::IncidenceFormatter::mailBodyStr( incidence, KSystemTimeZones::local() );
const QString body = KCalUtils::IncidenceFormatter::mailBodyStr( incidence, KSystemTimeZones::local() );
return send( identity, from, to, QString(), subject, body, false,
bccMe, attachment, mailTransport );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment