[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: Plasmate Status
From:       "Diego Casella \(\[Po\]lentino\)" <polentino911 () gmail ! com>
Date:       2009-06-29 15:02:26
Message-ID: e6aee9e0906290802gfc902acie70d96d5d81fdf1a () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Yep, you're right !
As you saw in the mailing list, there was a problem with managing the git
pluging, which was *partially* resolved.
In fact the code suggested wasn't totally correct, so I started to talk with
apaku, a  KDeveloper and Plugin designer,
and I discovered that first, I have to subclass the ShellExtension class in
order to setup the KDevplatform stuff, then init()
that class, after that retrieve a reference to the Core and use it to
retrieve the IPluginController by calling pluginController().
Nice, but an other problem arose:
when calling pluginForExtension() to recieve a pointer to the git plugin, it
returns an invalid pointer all the times =(
Talking to apaku, the reason is because i set-up the Core class with the
option Core::NoUi, and git sometimes wants to show some gui stuff,
like committing with comments. Besides, initalizing the Core with
Core::Default creates a full KDevelop gui, which is not our goal !
So, under his suggestion, now I'm using the plugins/git/gitplugin.cpp and
I'm modifying the source for our purposes =)
I'll commit it as soon as it compiles ( and also works =P ).
Good luck with you exams,

Cheers !!





---------- Messaggio inoltrato ----------
> From: Shantanu Tushar Jha <jhahoneyk@gmail.com>
> To: plasma-devel@kde.org
> Date: Mon, 29 Jun 2009 17:58:02 +0530
> Subject: Plasmate Status
> Hi all !
> Last IRC meet we had decided that we'll have a mail about the current
> development status of Plasmate every two weeks. It has been two weeks
> since.
> AFAIK, moofang is working on the previewer on the ideas discussed
> earlier and Diego is working on the Git integration using
> kdevplatform.
> I've not been able to write any code as I've final exams right now.
> Will join moofang after my exams end on 10th next month.
> Guys, add more info about the things I missed.
> Lets make Plasmate rock :)
>
> --
> Sent from Gmail for mobile | mobile.google.com
>
> Shantanu Tushar    (UTC +0530)
> http://www.shantanutushar.com
>

[Attachment #5 (text/html)]

Yep, you&#39;re right !<br>As you saw in the mailing list, there was a problem with \
managing the git pluging, which was *partially* resolved.<br>In fact the code \
suggested wasn&#39;t totally correct, so I started to talk with apaku, a  KDeveloper \
and Plugin designer,<br> and I discovered that first, I have to subclass the \
ShellExtension class in order to setup the KDevplatform stuff, then init()<br>that \
class, after that retrieve a reference to the Core and use it to retrieve the \
IPluginController by calling  <meta name="qrichtext" content="1"><meta \
http-equiv="Content-Type" content="text/html; charset=utf-8"><style type="text/css"> \
p, li { white-space: pre-wrap; }</style> pluginController().<br>Nice, but an other \
problem arose:<br>when calling  <meta name="qrichtext" content="1"><meta \
http-equiv="Content-Type" content="text/html; charset=utf-8"><style type="text/css"> \
p, li { white-space: pre-wrap; }</style>pluginForExtension() to recieve a pointer to \
the git plugin, it returns an invalid pointer all the times =(<br>Talking to apaku, \
the reason is because i set-up the Core class with the option  <meta name="qrichtext" \
content="1"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><style \
type="text/css"> p, li { white-space: pre-wrap; }</style>Core::NoUi, and git \
sometimes wants to show some gui stuff,<br>like committing with comments. Besides, \
initalizing the Core with Core::Default creates a full KDevelop gui, which is not our \
goal !<br> So, under his suggestion, now I&#39;m using the plugins/git/gitplugin.cpp \
and I&#39;m modifying the source for our purposes =)<br>I&#39;ll commit it as soon as \
it compiles ( and also works =P ). <br>Good luck with you exams,<br> <br>Cheers \
!!<br><div id=":74" class="ii gt"><br><br> </div><br><br><br><div \
class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid \
rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">---------- \
Messaggio inoltrato ----------<br>From: Shantanu Tushar Jha &lt;<a \
                href="mailto:jhahoneyk@gmail.com">jhahoneyk@gmail.com</a>&gt;<br>
To: <a href="mailto:plasma-devel@kde.org">plasma-devel@kde.org</a><br>Date: Mon, 29 \
Jun 2009 17:58:02 +0530<br>Subject: Plasmate Status<br>Hi all !<br> Last IRC meet we \
had decided that we&#39;ll have a mail about the current<br> development status of \
Plasmate every two weeks. It has been two weeks<br> since.<br>
AFAIK, moofang is working on the previewer on the ideas discussed<br>
earlier and Diego is working on the Git integration using<br>
kdevplatform.<br>
I&#39;ve not been able to write any code as I&#39;ve final exams right now.<br>
Will join moofang after my exams end on 10th next month.<br>
Guys, add more info about the things I missed.<br>
Lets make Plasmate rock :)<br>
<br>
--<br>
Sent from Gmail for mobile | <a href="http://mobile.google.com" \
target="_blank">mobile.google.com</a><br> <br>
Shantanu Tushar    (UTC +0530)<br>
<a href="http://www.shantanutushar.com" \
target="_blank">http://www.shantanutushar.com</a><br></blockquote></div><br>



_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic