Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
flatpak-qt-creator
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Marco Bubke
flatpak-qt-creator
Commits
c31055b5
"README.md" did not exist on "8ce36e987608178456018b5272c2da6b2a99cf7b"
Commit
c31055b5
authored
15 years ago
by
hjk
Browse files
Options
Downloads
Patches
Plain Diff
texteditor: add missing parts to previous commit
parent
2ba77741
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/plugins/texteditor/texteditorplugin.cpp
+3
-0
3 additions, 0 deletions
src/plugins/texteditor/texteditorplugin.cpp
src/plugins/texteditor/texteditorplugin.h
+10
-5
10 additions, 5 deletions
src/plugins/texteditor/texteditorplugin.h
with
13 additions
and
5 deletions
src/plugins/texteditor/texteditorplugin.cpp
+
3
−
0
View file @
c31055b5
...
@@ -140,6 +140,9 @@ bool TextEditorPlugin::initialize(const QStringList &arguments, QString *errorMe
...
@@ -140,6 +140,9 @@ bool TextEditorPlugin::initialize(const QStringList &arguments, QString *errorMe
quickFixCommand
->
setDefaultKeySequence
(
QKeySequence
(
tr
(
"Alt+Return"
)));
quickFixCommand
->
setDefaultKeySequence
(
QKeySequence
(
tr
(
"Alt+Return"
)));
connect
(
quickFixShortcut
,
SIGNAL
(
activated
()),
this
,
SLOT
(
invokeQuickFix
()));
connect
(
quickFixShortcut
,
SIGNAL
(
activated
()),
this
,
SLOT
(
invokeQuickFix
()));
connect
(
m_settings
,
SIGNAL
(
fontSettingsChanged
(
TextEditor
::
FontSettings
)),
this
,
SIGNAL
(
fontSettingsChanged
(
TextEditor
::
FontSettings
)));
return
true
;
return
true
;
}
}
...
...
This diff is collapsed.
Click to expand it.
src/plugins/texteditor/texteditorplugin.h
+
10
−
5
View file @
c31055b5
...
@@ -30,6 +30,7 @@
...
@@ -30,6 +30,7 @@
#ifndef TEXTEDITORPLUGIN_H
#ifndef TEXTEDITORPLUGIN_H
#define TEXTEDITORPLUGIN_H
#define TEXTEDITORPLUGIN_H
#include
"texteditor_global.h"
#include
<extensionsystem/iplugin.h>
#include
<extensionsystem/iplugin.h>
namespace
Find
{
namespace
Find
{
...
@@ -48,7 +49,9 @@ namespace Internal {
...
@@ -48,7 +49,9 @@ namespace Internal {
class
LineNumberFilter
;
class
LineNumberFilter
;
class
PlainTextEditorFactory
;
class
PlainTextEditorFactory
;
class
TextEditorPlugin
:
public
ExtensionSystem
::
IPlugin
}
// namespace Internal
class
TEXTEDITOR_EXPORT
TextEditorPlugin
:
public
ExtensionSystem
::
IPlugin
{
{
Q_OBJECT
Q_OBJECT
...
@@ -64,7 +67,10 @@ public:
...
@@ -64,7 +67,10 @@ public:
void
initializeEditor
(
PlainTextEditor
*
editor
);
void
initializeEditor
(
PlainTextEditor
*
editor
);
LineNumberFilter
*
lineNumberFilter
()
{
return
m_lineNumberFilter
;
}
Internal
::
LineNumberFilter
*
lineNumberFilter
()
{
return
m_lineNumberFilter
;
}
signals
:
void
fontSettingsChanged
(
const
TextEditor
::
FontSettings
&
);
private
slots
:
private
slots
:
void
invokeCompletion
();
void
invokeCompletion
();
...
@@ -75,12 +81,11 @@ private:
...
@@ -75,12 +81,11 @@ private:
static
TextEditorPlugin
*
m_instance
;
static
TextEditorPlugin
*
m_instance
;
TextEditorSettings
*
m_settings
;
TextEditorSettings
*
m_settings
;
TextFileWizard
*
m_wizard
;
TextFileWizard
*
m_wizard
;
PlainTextEditorFactory
*
m_editorFactory
;
Internal
::
PlainTextEditorFactory
*
m_editorFactory
;
LineNumberFilter
*
m_lineNumberFilter
;
Internal
::
LineNumberFilter
*
m_lineNumberFilter
;
Find
::
SearchResultWindow
*
m_searchResultWindow
;
Find
::
SearchResultWindow
*
m_searchResultWindow
;
};
};
}
// namespace Internal
}
// namespace TextEditor
}
// namespace TextEditor
#endif // TEXTEDITORPLUGIN_H
#endif // TEXTEDITORPLUGIN_H
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment