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 Add-ons
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
1
Merge Requests
1
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
PIM
KDE PIM Add-ons
Commits
a9426523
Commit
a9426523
authored
Feb 02, 2016
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo
parent
64e57059
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
39 additions
and
39 deletions
+39
-39
kmail/editorplugins/changecase/autotests/changecaseplugineditorinterfacetest.cpp
...ngecase/autotests/changecaseplugineditorinterfacetest.cpp
+3
-3
kmail/editorplugins/changecase/autotests/changecaseplugineditorinterfacetest.h
...hangecase/autotests/changecaseplugineditorinterfacetest.h
+5
-5
kmail/editorplugins/changecase/autotests/changecaseplugineditortest.cpp
...ugins/changecase/autotests/changecaseplugineditortest.cpp
+5
-5
kmail/editorplugins/changecase/autotests/changecaseplugineditortest.h
...plugins/changecase/autotests/changecaseplugineditortest.h
+5
-5
kmail/editorplugins/changecase/changecaseplugineditor.cpp
kmail/editorplugins/changecase/changecaseplugineditor.cpp
+5
-5
kmail/editorplugins/changecase/changecaseplugineditor.h
kmail/editorplugins/changecase/changecaseplugineditor.h
+5
-5
kmail/editorplugins/changecase/changecaseplugineditorinterface.cpp
...torplugins/changecase/changecaseplugineditorinterface.cpp
+6
-6
kmail/editorplugins/changecase/changecaseplugineditorinterface.h
...ditorplugins/changecase/changecaseplugineditorinterface.h
+5
-5
No files found.
kmail/editorplugins/changecase/autotests/changecaseplugineditorinterfacetest.cpp
View file @
a9426523
...
...
@@ -19,15 +19,15 @@
#include "../changecaseplugineditorinterface.h"
#include <QTest>
changecasePluginEditorInterfaceTest
::
changec
asePluginEditorInterfaceTest
(
QObject
*
parent
)
ChangeCasePluginEditorInterfaceTest
::
ChangeC
asePluginEditorInterfaceTest
(
QObject
*
parent
)
:
QObject
(
parent
)
{
}
changecasePluginEditorInterfaceTest
::~
changec
asePluginEditorInterfaceTest
()
ChangeCasePluginEditorInterfaceTest
::~
ChangeC
asePluginEditorInterfaceTest
()
{
}
QTEST_MAIN
(
changec
asePluginEditorInterfaceTest
)
QTEST_MAIN
(
ChangeC
asePluginEditorInterfaceTest
)
kmail/editorplugins/changecase/autotests/changecaseplugineditorinterfacetest.h
View file @
a9426523
...
...
@@ -15,17 +15,17 @@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef
changec
asePLUGINEDITORINTERFACETEST_H
#define
changec
asePLUGINEDITORINTERFACETEST_H
#ifndef
ChangeC
asePLUGINEDITORINTERFACETEST_H
#define
ChangeC
asePLUGINEDITORINTERFACETEST_H
#include <QObject>
class
changec
asePluginEditorInterfaceTest
:
public
QObject
class
ChangeC
asePluginEditorInterfaceTest
:
public
QObject
{
Q_OBJECT
public:
explicit
changec
asePluginEditorInterfaceTest
(
QObject
*
parent
=
Q_NULLPTR
);
~
changec
asePluginEditorInterfaceTest
();
explicit
ChangeC
asePluginEditorInterfaceTest
(
QObject
*
parent
=
Q_NULLPTR
);
~
ChangeC
asePluginEditorInterfaceTest
();
};
#endif
kmail/editorplugins/changecase/autotests/changecaseplugineditortest.cpp
View file @
a9426523
...
...
@@ -20,21 +20,21 @@
#include <KActionCollection>
#include <QTest>
changecasePluginEditorTest
::
changec
asePluginEditorTest
(
QObject
*
parent
)
ChangeCasePluginEditorTest
::
ChangeC
asePluginEditorTest
(
QObject
*
parent
)
:
QObject
(
parent
)
{
}
changecasePluginEditorTest
::~
changec
asePluginEditorTest
()
ChangeCasePluginEditorTest
::~
ChangeC
asePluginEditorTest
()
{
}
void
changec
asePluginEditorTest
::
shouldHaveDefaultValue
()
void
ChangeC
asePluginEditorTest
::
shouldHaveDefaultValue
()
{
changec
asePluginEditor
plugin
;
ChangeC
asePluginEditor
plugin
;
QVERIFY
(
plugin
.
createInterface
(
new
KActionCollection
(
this
)));
}
QTEST_MAIN
(
changec
asePluginEditorTest
)
QTEST_MAIN
(
ChangeC
asePluginEditorTest
)
kmail/editorplugins/changecase/autotests/changecaseplugineditortest.h
View file @
a9426523
...
...
@@ -15,17 +15,17 @@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef
changec
asePLUGINEDITORTEST_H
#define
changec
asePLUGINEDITORTEST_H
#ifndef
ChangeC
asePLUGINEDITORTEST_H
#define
ChangeC
asePLUGINEDITORTEST_H
#include <QObject>
class
changec
asePluginEditorTest
:
public
QObject
class
ChangeC
asePluginEditorTest
:
public
QObject
{
Q_OBJECT
public:
explicit
changec
asePluginEditorTest
(
QObject
*
parent
=
Q_NULLPTR
);
~
changec
asePluginEditorTest
();
explicit
ChangeC
asePluginEditorTest
(
QObject
*
parent
=
Q_NULLPTR
);
~
ChangeC
asePluginEditorTest
();
private
Q_SLOTS
:
void
shouldHaveDefaultValue
();
};
...
...
kmail/editorplugins/changecase/changecaseplugineditor.cpp
View file @
a9426523
...
...
@@ -20,22 +20,22 @@
#include <KLocalizedString>
#include <kpluginfactory.h>
K_PLUGIN_FACTORY_WITH_JSON
(
changecasePluginEditorFactory
,
"kmail_changecaseeditorplugin.json"
,
registerPlugin
<
changec
asePluginEditor
>
();)
K_PLUGIN_FACTORY_WITH_JSON
(
ChangeCasePluginEditorFactory
,
"kmail_changecaseeditorplugin.json"
,
registerPlugin
<
ChangeC
asePluginEditor
>
();)
changecasePluginEditor
::
changec
asePluginEditor
(
QObject
*
parent
,
const
QList
<
QVariant
>
&
)
ChangeCasePluginEditor
::
ChangeC
asePluginEditor
(
QObject
*
parent
,
const
QList
<
QVariant
>
&
)
:
MessageComposer
::
PluginEditor
(
parent
)
{
}
changecasePluginEditor
::~
changec
asePluginEditor
()
ChangeCasePluginEditor
::~
ChangeC
asePluginEditor
()
{
}
MessageComposer
::
PluginEditorInterface
*
changec
asePluginEditor
::
createInterface
(
KActionCollection
*
ac
,
QObject
*
parent
)
MessageComposer
::
PluginEditorInterface
*
ChangeC
asePluginEditor
::
createInterface
(
KActionCollection
*
ac
,
QObject
*
parent
)
{
changecasePluginEditorInterface
*
interface
=
new
changec
asePluginEditorInterface
(
parent
);
ChangeCasePluginEditorInterface
*
interface
=
new
ChangeC
asePluginEditorInterface
(
parent
);
interface
->
createAction
(
ac
);
return
interface
;
}
...
...
kmail/editorplugins/changecase/changecaseplugineditor.h
View file @
a9426523
...
...
@@ -15,20 +15,20 @@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef C
HANGECASE
PLUGINEDITOR_H
#define C
HANGECASE
PLUGINEDITOR_H
#ifndef C
hangeCase
PLUGINEDITOR_H
#define C
hangeCase
PLUGINEDITOR_H
#include <messagecomposer/plugineditor.h>
#include <messagecomposer/plugineditorinterface.h>
#include <QVariant>
class
changec
asePluginEditor
:
public
MessageComposer
::
PluginEditor
class
ChangeC
asePluginEditor
:
public
MessageComposer
::
PluginEditor
{
Q_OBJECT
public:
explicit
changec
asePluginEditor
(
QObject
*
parent
=
Q_NULLPTR
,
const
QList
<
QVariant
>
&
=
QList
<
QVariant
>
());
~
changec
asePluginEditor
();
explicit
ChangeC
asePluginEditor
(
QObject
*
parent
=
Q_NULLPTR
,
const
QList
<
QVariant
>
&
=
QList
<
QVariant
>
());
~
ChangeC
asePluginEditor
();
MessageComposer
::
PluginEditorInterface
*
createInterface
(
KActionCollection
*
ac
,
QObject
*
parent
=
Q_NULLPTR
)
Q_DECL_OVERRIDE
;
};
...
...
kmail/editorplugins/changecase/changecaseplugineditorinterface.cpp
View file @
a9426523
...
...
@@ -21,32 +21,32 @@
#include <KActionCollection>
#include <QAction>
changecasePluginEditorInterface
::
changec
asePluginEditorInterface
(
QObject
*
parent
)
ChangeCasePluginEditorInterface
::
ChangeC
asePluginEditorInterface
(
QObject
*
parent
)
:
MessageComposer
::
PluginEditorInterface
(
parent
)
{
}
changecasePluginEditorInterface
::~
changec
asePluginEditorInterface
()
ChangeCasePluginEditorInterface
::~
ChangeC
asePluginEditorInterface
()
{
}
void
changec
asePluginEditorInterface
::
createAction
(
KActionCollection
*
ac
)
void
ChangeC
asePluginEditorInterface
::
createAction
(
KActionCollection
*
ac
)
{
QAction
*
action
=
new
QAction
(
i18n
(
"Insert Special Character..."
),
this
);
ac
->
addAction
(
QStringLiteral
(
"insert_special_character"
),
action
);
connect
(
action
,
&
QAction
::
triggered
,
this
,
&
changec
asePluginEditorInterface
::
slotActivated
);
connect
(
action
,
&
QAction
::
triggered
,
this
,
&
ChangeC
asePluginEditorInterface
::
slotActivated
);
MessageComposer
::
ActionType
type
(
action
,
MessageComposer
::
ActionType
::
Edit
);
setActionType
(
type
);
}
void
changec
asePluginEditorInterface
::
slotActivated
()
void
ChangeC
asePluginEditorInterface
::
slotActivated
()
{
Q_EMIT
emitPluginActivated
(
this
);
}
void
changec
asePluginEditorInterface
::
exec
()
void
ChangeC
asePluginEditorInterface
::
exec
()
{
}
kmail/editorplugins/changecase/changecaseplugineditorinterface.h
View file @
a9426523
...
...
@@ -15,18 +15,18 @@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef C
HANGECASE
PLUGINEDITORINTERFACE_H
#define C
HANGECASE
PLUGINEDITORINTERFACE_H
#ifndef C
hangeCase
PLUGINEDITORINTERFACE_H
#define C
hangeCase
PLUGINEDITORINTERFACE_H
#include <messagecomposer/plugineditorinterface.h>
#include <QPointer>
class
changec
asePluginEditorInterface
:
public
MessageComposer
::
PluginEditorInterface
class
ChangeC
asePluginEditorInterface
:
public
MessageComposer
::
PluginEditorInterface
{
Q_OBJECT
public:
explicit
changec
asePluginEditorInterface
(
QObject
*
parent
=
Q_NULLPTR
);
~
changec
asePluginEditorInterface
();
explicit
ChangeC
asePluginEditorInterface
(
QObject
*
parent
=
Q_NULLPTR
);
~
ChangeC
asePluginEditorInterface
();
void
createAction
(
KActionCollection
*
ac
)
Q_DECL_OVERRIDE
;
void
exec
()
Q_DECL_OVERRIDE
;
...
...
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