Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
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
Tobias Hunger
qt-creator
Commits
30763039
Commit
30763039
authored
15 years ago
by
Friedemann Kleint
Browse files
Options
Downloads
Patches
Plain Diff
Imageviewer: Compile
parent
02ce57e4
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/bineditor/imageviewer.cpp
+2
-2
2 additions, 2 deletions
src/plugins/bineditor/imageviewer.cpp
src/plugins/bineditor/imageviewer.h
+3
-3
3 additions, 3 deletions
src/plugins/bineditor/imageviewer.h
with
5 additions
and
5 deletions
src/plugins/bineditor/imageviewer.cpp
+
2
−
2
View file @
30763039
...
...
@@ -97,14 +97,14 @@ QString ImageViewerFactory::displayName() const
return
tr
(
"Image Viewer"
);
}
Core
::
IFile
*
ImageViewerFactory
::
open
(
const
QString
&
fileName
)
Core
::
IFile
*
ImageViewerFactory
::
open
(
const
QString
&
/*
fileName
*/
)
{
return
0
;
}
// #pragma mark -- ImageViewerFile
void
ImageViewerFile
::
modified
(
ReloadBehavior
*
behavior
)
void
ImageViewerFile
::
modified
(
ReloadBehavior
*
/*
behavior
*/
)
{
// TODO
}
...
...
This diff is collapsed.
Click to expand it.
src/plugins/bineditor/imageviewer.h
+
3
−
3
View file @
30763039
...
...
@@ -65,7 +65,7 @@ class ImageViewerFile : public Core::IFile
{
Q_OBJECT
public:
explicit
ImageViewerFile
(
QObject
*
parent
=
0
)
{}
explicit
ImageViewerFile
(
QObject
*
parent
=
0
)
:
Core
::
IFile
(
parent
)
{}
bool
save
(
const
QString
&
fileName
=
QString
())
{
Q_UNUSED
(
fileName
);
return
false
;
}
QString
fileName
()
const
{
return
m_fileName
;
}
...
...
@@ -107,10 +107,10 @@ public:
void
setDisplayName
(
const
QString
&
title
);
bool
duplicateSupported
()
const
{
return
false
;
}
IEditor
*
duplicate
(
QWidget
*
parent
)
{
return
0
;
}
IEditor
*
duplicate
(
QWidget
*
/*
parent
*/
)
{
return
0
;
}
QByteArray
saveState
()
const
{
return
QByteArray
();
}
bool
restoreState
(
const
QByteArray
&
state
)
{
Q_UNUSED
(
state
)
;
}
bool
restoreState
(
const
QByteArray
&
/*
state
*/
)
{
return
true
;
}
int
currentLine
()
const
{
return
0
;
}
int
currentColumn
()
const
{
return
0
;
}
...
...
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