Re: r19083 - in /lyx-devel/branches/personal/younes/mvc/src/f...

2007-07-19 Thread Andre Poenitz
On Thu, Jul 19, 2007 at 08:50:45AM +0200, Abdelrazak Younes wrote:
> Angus Leeming wrote:
> >[EMAIL PROTECTED] wrote:
> >>Author: younes
> >>Date: Sun Jul 15 21:58:22 2007
> >>New Revision: 19083
> >>
> >>URL: http://www.lyx.org/trac/changeset/19083
> >>Log:
> >>Transfer q_key_state from GuiWorkArea to QKeySymbol.
> >>
> >>==
> >> 
> >>
> >>--- 
> >>lyx-devel/branches/personal/younes/mvc/src/frontends/qt4/QKeySymbol.h 
> >>(original)
> >>+++ 
> >>lyx-devel/branches/personal/younes/mvc/src/frontends/qt4/QKeySymbol.h 
> >>Sun Jul 15 21:58:22 2007
> >>@@ -81,6 +81,8 @@
> >> QString text_;
> >> };
> >> 
> >>+/// return the LyX key state from Qt's
> >>+extern key_modifier::state q_key_state(Qt::KeyboardModifiers state);
> >> 
> >> } // namespace lyx
> >
> >I should read all your posts before responding to one ;-)
> >
> >Don't think it needs the extern modifier though...
> 
> Maybe not, but that's how many function are declared in the LyX source 
> code...

'many'?

Andre'
> 
> 


Re: r19083 - in /lyx-devel/branches/personal/younes/mvc/src/f...

2007-07-18 Thread Abdelrazak Younes

Angus Leeming wrote:

[EMAIL PROTECTED] wrote:

Author: younes
Date: Sun Jul 15 21:58:22 2007
New Revision: 19083

URL: http://www.lyx.org/trac/changeset/19083
Log:
Transfer q_key_state from GuiWorkArea to QKeySymbol.

== 

--- 
lyx-devel/branches/personal/younes/mvc/src/frontends/qt4/QKeySymbol.h 
(original)
+++ 
lyx-devel/branches/personal/younes/mvc/src/frontends/qt4/QKeySymbol.h 
Sun Jul 15 21:58:22 2007

@@ -81,6 +81,8 @@
 QString text_;
 };
 
+/// return the LyX key state from Qt's

+extern key_modifier::state q_key_state(Qt::KeyboardModifiers state);
 
 } // namespace lyx


I should read all your posts before responding to one ;-)

Don't think it needs the extern modifier though...


Maybe not, but that's how many function are declared in the LyX source 
code...


Abdel.



Re: r19083 - in /lyx-devel/branches/personal/younes/mvc/src/f...

2007-07-18 Thread Angus Leeming

[EMAIL PROTECTED] wrote:

Author: younes
Date: Sun Jul 15 21:58:22 2007
New Revision: 19083

URL: http://www.lyx.org/trac/changeset/19083
Log:
Transfer q_key_state from GuiWorkArea to QKeySymbol.

==
--- lyx-devel/branches/personal/younes/mvc/src/frontends/qt4/QKeySymbol.h 
(original)
+++ lyx-devel/branches/personal/younes/mvc/src/frontends/qt4/QKeySymbol.h Sun 
Jul 15 21:58:22 2007
@@ -81,6 +81,8 @@
QString text_;
 };
 
+/// return the LyX key state from Qt's

+extern key_modifier::state q_key_state(Qt::KeyboardModifiers state);
 
 } // namespace lyx


I should read all your posts before responding to one ;-)

Don't think it needs the extern modifier though...

A