Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
KDE Pim
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Unmaintained
KDE Pim
Commits
ebf93faf
Commit
ebf93faf
authored
May 13, 2014
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add class for message format
parent
6b0b00ef
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
126 additions
and
0 deletions
+126
-0
kmail/CMakeLists.txt
kmail/CMakeLists.txt
+1
-0
kmail/tests/CMakeLists.txt
kmail/tests/CMakeLists.txt
+7
-0
kmail/tests/displaymessageformatactionmenutest.cpp
kmail/tests/displaymessageformatactionmenutest.cpp
+26
-0
kmail/tests/displaymessageformatactionmenutest.h
kmail/tests/displaymessageformatactionmenutest.h
+30
-0
kmail/widgets/displaymessageformatactionmenu.cpp
kmail/widgets/displaymessageformatactionmenu.cpp
+31
-0
kmail/widgets/displaymessageformatactionmenu.h
kmail/widgets/displaymessageformatactionmenu.h
+31
-0
No files found.
kmail/CMakeLists.txt
View file @
ebf93faf
...
...
@@ -154,6 +154,7 @@ if (KDEPIM_BUILD_DESKTOP)
set
(
kmailprivate_widgets_LIB_SRCS
widgets/collectionpane.cpp
widgets/vacationscriptindicatorwidget.cpp
widgets/displaymessageformatactionmenu.cpp
)
set
(
kmailprivate_tag_LIB_SRCS
tag/tagactionmanager.cpp
...
...
kmail/tests/CMakeLists.txt
View file @
ebf93faf
...
...
@@ -11,3 +11,10 @@ qt4_add_dbus_interfaces(dbustest_SRCS ${CMAKE_BINARY_DIR}/kmail/org.kde.kmail.km
kde4_add_executable
(
dbustest TEST
${
dbustest_SRCS
}
)
add_dependencies
(
dbustest kmail_xml
)
target_link_libraries
(
dbustest
${
KDE4_KIO_LIBS
}
)
set
(
kmail_displaymenu_source displaymessageformatactionmenutest.cpp
)
kde4_add_unit_test
(
displaymessageformatactionmenutest
${
kmail_displaymenu_source
}
)
target_link_libraries
(
displaymessageformatactionmenutest
${
QT_QTTEST_LIBRARY
}
${
KDE4_KDEUI_LIBS
}
)
kmail/tests/displaymessageformatactionmenutest.cpp
0 → 100644
View file @
ebf93faf
/*
Copyright (c) 2014 Montel Laurent <montel@kde.org>
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License, version 2, as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "displaymessageformatactionmenutest.h"
#include <qtest_kde.h>
DisplayMessageFormatActionMenuTest
::
DisplayMessageFormatActionMenuTest
()
{
}
QTEST_KDEMAIN
(
DisplayMessageFormatActionMenuTest
,
GUI
)
kmail/tests/displaymessageformatactionmenutest.h
0 → 100644
View file @
ebf93faf
/*
Copyright (c) 2014 Montel Laurent <montel@kde.org>
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License, version 2, as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef DISPLAYMESSAGEFORMATACTIONMENUTEST_H
#define DISPLAYMESSAGEFORMATACTIONMENUTEST_H
#include <QObject>
class
DisplayMessageFormatActionMenuTest
:
public
QObject
{
Q_OBJECT
public:
DisplayMessageFormatActionMenuTest
();
};
#endif // DISPLAYMESSAGEFORMATACTIONMENUTEST_H
kmail/widgets/displaymessageformatactionmenu.cpp
0 → 100644
View file @
ebf93faf
/*
Copyright (c) 2014 Montel Laurent <montel@kde.org>
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License, version 2, as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "displaymessageformatactionmenu.h"
#include <KLocalizedString>
DisplayMessageFormatActionMenu
::
DisplayMessageFormatActionMenu
(
QObject
*
parent
)
:
KActionMenu
(
parent
)
{
}
DisplayMessageFormatActionMenu
::~
DisplayMessageFormatActionMenu
()
{
}
kmail/widgets/displaymessageformatactionmenu.h
0 → 100644
View file @
ebf93faf
/*
Copyright (c) 2014 Montel Laurent <montel@kde.org>
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License, version 2, as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef DisplayMessageFormatActionMenu_H
#define DisplayMessageFormatActionMenu_H
#include <KActionMenu>
class
DisplayMessageFormatActionMenu
:
public
KActionMenu
{
Q_OBJECT
public:
explicit
DisplayMessageFormatActionMenu
(
QObject
*
parent
=
0
);
~
DisplayMessageFormatActionMenu
();
};
#endif // DisplayMessageFormatActionMenu_H
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