[prev in list] [next in list] [prev in thread] [next in thread]
List: quanta-devel
Subject: [quanta-devel] KDevelop::IOutputView::registerView vs
From: Keith Isdale <keith.isdale () bigpond ! com>
Date: 2008-04-20 21:46:01
Message-ID: 200804210746.07251.keith.isdale () bigpond ! com
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
[Attachment #4 (multipart/mixed)]
Hi,
When I recently did a p4 update of kdevplatform I noticed a source
incompatible change in KDevelop::IOutputView which effects the Upload plugin
and the kxsldbg plugin. I wish to submit my code to suit the new API in
KDevelop::IOutputView.
Can I assume that others will soon also p4 update kdevplatform and hence need
the attached patch plus the fix to the kxsldbg plugin?
Regards,
--
Keith
["patch.diff" (text/x-diff)]
Index: plugins/upload/kdevuploadplugin.cpp
===================================================================
--- plugins/upload/kdevuploadplugin.cpp (revision 798280)
+++ plugins/upload/kdevuploadplugin.cpp (working copy)
@@ -223,8 +223,8 @@
Q_ASSERT(plugin);
if (plugin) {
KDevelop::IOutputView* view = plugin->extension<KDevelop::IOutputView>();
- int id = view->registerView(i18n("Upload"), \
KDevelop::IOutputView::AllowUserClose | \
KDevelop::IOutputView::AutoScroll);
-
+ int tvid = view->registerToolView(i18n("Upload"));
+ int id = view->registerOutputInToolView(tvid, i18n("Output"), \
KDevelop::IOutputView::AllowUserClose | KDevelop::IOutputView::AutoScroll); \
m_outputModel = new QStandardItemModel(this);
view->setModel(id, m_outputModel);
[Attachment #8 (application/pgp-signature)]
_______________________________________________
quanta-devel mailing list
quanta-devel@kde.org
https://mail.kde.org/mailman/listinfo/quanta-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic