Abdelrazak Younes <[EMAIL PROTECTED]> writes:
| > | + wa_ptr = (QWorkArea*)(this);
| > No C-syle casts please.
| > Use
| > wa_ptr = const_cast(this);
|
| Right, I forgot about that, I'll fix it.
Thanks a lot.
--
Lgb
Lars Gullik Bjønnes a écrit :
Abdelrazak Younes <[EMAIL PROTECTED]> writes:
| > NB: Qt4 files have been updated, but not tested. So changes might be
| > needed.
|
| This patch goes in to fix compilation of Qt4.
|
| Abdel
| Index: QWorkArea.C
| =
Abdelrazak Younes <[EMAIL PROTECTED]> writes:
| > NB: Qt4 files have been updated, but not tested. So changes might be
| > needed.
|
| This patch goes in to fix compilation of Qt4.
|
| Abdel
| Index: QWorkArea.C
| ===
| --- QWorkAre
Lars Gullik Bjønnes a écrit :
This patch replaces several of workarea signals with direct function
calls into BufferView.
This means that the dependency direction is changed, now the frontend
depend on the core and not the other way around. (IMO more correct)
As a added bonues this should be a
Abdelrazak Younes <[EMAIL PROTECTED]> writes:
| Yep, I never understood the reason for this wa_ptr... If someone coud
| explain me a bit about that I will certainly remove it.
It seems it is used as a trick to get a pointer to the WorkArea usable
from some C callback function(s).
| Then, in this
Lars Gullik Bjønnes a écrit :
Andre Poenitz <[EMAIL PROTECTED]> writes:
| On Thu, Apr 13, 2006 at 08:03:23PM +0200, Lars Gullik Bjønnes wrote:
| > Will go in shortly, but comments are appreciated.
|
| case SelectionClear:
| lyxerr[Debug::GUI] << "Lost selection." << endl;
|
Andre Poenitz <[EMAIL PROTECTED]> writes:
| On Thu, Apr 13, 2006 at 08:03:23PM +0200, Lars Gullik Bjønnes wrote:
| > Will go in shortly, but comments are appreciated.
|
| case SelectionClear:
| lyxerr[Debug::GUI] << "Lost selection." << endl;
| if (wa_ptr)
| -
On Thu, Apr 13, 2006 at 08:03:23PM +0200, Lars Gullik Bjønnes wrote:
> Will go in shortly, but comments are appreciated.
case SelectionClear:
lyxerr[Debug::GUI] << "Lost selection." << endl;
if (wa_ptr)
- wa_ptr->selectionLost();
+
On Thu, Apr 13, 2006 at 08:03:23PM +0200, Lars Gullik Bjønnes wrote:
> This patch replaces several of workarea signals with direct function
> calls into BufferView.
>
> This means that the dependency direction is changed, now the frontend
> depend on the core and not the other way around. (IMO more
This patch replaces several of workarea signals with direct function
calls into BufferView.
This means that the dependency direction is changed, now the frontend
depend on the core and not the other way around. (IMO more correct)
As a added bonues this should be a bit faster as well...
Will go
10 matches
Mail list logo