[Kommander-devel] Re: Accessing a QAction in a Kommander Plugin
Kevin Krammer
kevin.krammer at gmx.at
Wed Feb 27 06:56:56 EST 2008
On Monday 25 February 2008, Eric Laffoon wrote:
> On Monday 25 February 2008 11:50:47 am Kevin Krammer wrote:
> > Can you attach the file in its current state?
>
> Sure, and as I mentioned it is in SVN too.
Right, but at the time I checked it was still the original version.
> compile results:
>
> eric at localhost:~/kdesvn/qtactionproxy/build$ make
> make all-recursive
> make[1]: Entering directory `/home/eric/kdesvn/qtactionproxy/build'
> Making all in src
> make[2]: Entering directory `/home/eric/kdesvn/qtactionproxy/build/src'
> if /bin/sh ../libtool --silent --tag=CXX --mode=compile
> g++ -DHAVE_CONFIG_H -I. -I../../src -I.. -I/usr/kde/3.5/include
> -I/usr/qt/3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -DHAVE_SSTREAM
> -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align
> -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security
> -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions
> -fno-check-new -fno-common -MT qtactionproxy.lo -MD -MP -MF
> ".deps/qtactionproxy.Tpo" -c -o
> qtactionproxy.lo ../../src/qtactionproxy.cpp; \
> then mv -f ".deps/qtactionproxy.Tpo" ".deps/qtactionproxy.Plo";
> else rm -f ".deps/qtactionproxy.Tpo"; exit 1; fi
> ../../src/qtactionproxy.cpp: In member function 'bool
> QtActionProxy::actionIsOn(const QString&)':
> ../../src/qtactionproxy.cpp:160: error: expected unqualified-id before
> numeric constant
> ../../src/qtactionproxy.cpp:160: error: expected ';' before numeric
> constant ../../src/qtactionproxy.cpp:160: error: '1' cannot be used as a
> function
I cannot see anything obviously wrong, the only thing which looks weird is the
newline between utf8 and its parenthese.
The next method, however, is not compilable and should look pretty much the
actionIsOn()
If time permits I will try to build the plugin on the weekend and see if I can
fix it.
Cheers,
Kevin
--
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mail01.fortunecookiestudios.com/pipermail/kommander-devel/attachments/20080227/fcd882d6/attachment.pgp
More information about the Kommander-devel
mailing list