Re: Review Request: Fix compile break of quanta
Milian Wolff <mail <at> milianw.de>
2011-11-10 14:18:22 GMT
Ship it!
commit is fine besides a few style issues, put the &,* always adjacent to the typename for consistency please.
if you have commit rights, please fix this before pushing.
otherwise send me this patch as created by "git format-patch" - if possible with the style issue fixed. otherwise I'll do that.
thanks
languages/xml/formatter/formatterplugin.cpp
(Diff revision 1)
| QString FormatterPlugin::highlightModeForMime ( const KMimeType::Ptr &mime ) { |
162
|
QString FormatterPlugin::formatSource ( const QString& text, const KMimeType::Ptr& mime, const QString& leftContext, const QString& rightContext ) {
|
162
QString FormatterPlugin::formatSource(const QString &text, const KUrl& url, const KMimeType::Ptr &mime, const QString& leftContext = QString(), const QString& rightContext = QString())
|
please put the & adjacent to the typename for consistency
languages/xml/formatter/formatterplugin.cpp
(Diff revision 1)
| QString FormatterPlugin::formatSourceWithStyle(SourceFormatterStyle style, const QString& text, const KMimeType::Ptr& mime, const QString& leftContext, const QString& rightContext) |
|
167
|
QString FormatterPlugin::formatSourceWithStyle(SourceFormatterStyle style, const QString& text, const KMimeType::Ptr& mime, const QString& leftContext, const QString& rightContext)
|
168
QString FormatterPlugin::formatSourceWithStyle(SourceFormatterStyle style, const QString& text, const KUrl& url, const KMimeType::Ptr &mime, const QString& leftContext = QString(), const QString& rightContext = QString())
|
also here, & adjacent to the typename please
plugins/phpformatter/formatterplugin.h
(Diff revision 1)
| public: |
55
| virtual QString formatSourceWithStyle(KDevelop::SourceFormatterStyle , const QString& text, const KMimeType::Ptr& mime, const QString& leftContext = QString(), const QString& rightContext = QString());
|
55
virtual QString formatSourceWithStyle(KDevelop::SourceFormatterStyle, const QString& text, const KUrl& url, const KMimeType::Ptr &mime, const QString& leftContext, const QString& rightContext);
|
again, please & adjacent to typename
plugins/phpformatter/formatterplugin.cpp
(Diff revision 1)
| QString FormatterPlugin::description() { |
92
|
QString FormatterPlugin::formatSource ( const QString& text, const KMimeType::Ptr& mime, const QString& leftContext, const QString& rightContext ) {
|
92
QString FormatterPlugin::formatSource(const QString &text, const KUrl& url, const KMimeType::Ptr &mime, const QString& leftContext = QString(), const QString& rightContext = QString())
|
& again... :)
plugins/phpformatter/formatterplugin.cpp
(Diff revision 1)
| QString FormatterPlugin::formatSourceWithStyle(SourceFormatterStyle style, const QString& text, const KMimeType::Ptr& mime, const QString& leftContext, const QString& rightContext) |
|
102
|
QString FormatterPlugin::formatSourceWithStyle(SourceFormatterStyle style, const QString& text, const KMimeType::Ptr& mime, const QString& leftContext, const QString& rightContext)
|
103
QString FormatterPlugin::formatSourceWithStyle(SourceFormatterStyle style, const QString& text, const KUrl& url, const KMimeType::Ptr &mime, const QString& leftContext = QString(), const QString& rightContext = QString())
|
& again... :)
- Milian
On November 10th, 2011, 12:05 p.m., Florian Zumkeller-Quast wrote:
|
Review request for KDevelop and Quanta.
By Florian Zumkeller-Quast.
Updated Nov. 10, 2011, 12:05 p.m.
Description
|
Some changes on the Interface of ISourceFormatter from the kdevplatform project broke compiling of quanta.
This Patch fixes the interface of the SourceFormatter derived classes and some calls to these methods with the new KUrl parameter inserted.
|
Testing
|
Quanta compiles fine with that patch.
|
Diffs
- languages/xml/formatter/formatterplugin.h (e8799f1)
- languages/xml/formatter/formatterplugin.cpp (4b04725)
- languages/xml/formatter/sgmlformatter.cpp (4a99d79)
- languages/xml/language/completion/sgmlcodecompletionmodel.cpp (803760f)
- plugins/phpformatter/formatterplugin.h (8b462bc)
- plugins/phpformatter/formatterplugin.cpp (761d635)
View Diff
|
_______________________________________________
quanta-devel mailing list
quanta-devel <at> kde.org
https://mail.kde.org/mailman/listinfo/quanta-devel