Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Unmaintained
KDE Pim
Commits
e1dc8906
Commit
e1dc8906
authored
Dec 19, 2014
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor
parent
652d6a75
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
korgac/alarmdialog.cpp
korgac/alarmdialog.cpp
+1
-3
korgac/alarmdialog.h
korgac/alarmdialog.h
+4
-2
korgac/mailclient.cpp
korgac/mailclient.cpp
+1
-1
No files found.
korgac/alarmdialog.cpp
View file @
e1dc8906
...
...
@@ -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
;
...
...
korgac/alarmdialog.h
View file @
e1dc8906
...
...
@@ -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
<
Reminder
TreeItem
*>
selections
);
void
dismiss
(
Reminder
List
selections
);
int
activeCount
();
QList
<
Reminder
TreeItem
*>
selectedItems
()
const
;
Reminder
List
selectedItems
()
const
;
void
toggleDetails
(
QTreeWidgetItem
*
item
);
void
showDetails
(
QTreeWidgetItem
*
item
);
...
...
korgac/mailclient.cpp
View file @
e1dc8906
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment