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
P
PIM Sieve Editor
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
PIM Sieve Editor
Commits
36c5b1c8
Commit
36c5b1c8
authored
Jul 22, 2015
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
prepare implement debug sieve script (for the future)
parent
33e1508f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
0 deletions
+18
-0
sieveeditormainwidget.cpp
sieveeditormainwidget.cpp
+11
-0
sieveeditormainwidget.h
sieveeditormainwidget.h
+1
-0
sieveeditorpagewidget.cpp
sieveeditorpagewidget.cpp
+5
-0
sieveeditorpagewidget.h
sieveeditorpagewidget.h
+1
-0
No files found.
sieveeditormainwidget.cpp
View file @
36c5b1c8
...
...
@@ -402,6 +402,17 @@ void SieveEditorMainWidget::slotReverseCase()
}
}
void
SieveEditorMainWidget
::
slotDebugSieveScript
()
{
QWidget
*
w
=
mTabWidget
->
currentWidget
();
if
(
w
)
{
SieveEditorPageWidget
*
page
=
qobject_cast
<
SieveEditorPageWidget
*>
(
w
);
if
(
page
)
{
page
->
debugSieveScript
();
}
}
}
void
SieveEditorMainWidget
::
slotUpperCase
()
{
QWidget
*
w
=
mTabWidget
->
currentWidget
();
...
...
sieveeditormainwidget.h
View file @
36c5b1c8
...
...
@@ -55,6 +55,7 @@ public:
QUrl
currentHelpUrl
()
const
;
void
openBookmarkUrl
(
const
QUrl
&
url
);
public
Q_SLOTS
:
void
slotDebugSieveScript
();
void
slotGoToLine
();
void
slotReplace
();
...
...
sieveeditorpagewidget.cpp
View file @
36c5b1c8
...
...
@@ -258,6 +258,11 @@ void SieveEditorPageWidget::lowerCase()
mSieveEditorWidget
->
lowerCase
();
}
void
SieveEditorPageWidget
::
debugSieveScript
()
{
mSieveEditorWidget
->
debugSieveScript
();
}
void
SieveEditorPageWidget
::
upperCase
()
{
mSieveEditorWidget
->
upperCase
();
...
...
sieveeditorpagewidget.h
View file @
36c5b1c8
...
...
@@ -78,6 +78,7 @@ public:
QString
currentHelpTitle
()
const
;
QUrl
currentHelpUrl
()
const
;
void
openBookmarkUrl
(
const
QUrl
&
url
);
void
debugSieveScript
();
Q_SIGNALS:
void
refreshList
();
void
scriptModified
(
bool
,
SieveEditorPageWidget
*
);
...
...
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