By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,144 Members | 1,267 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,144 IT Pros & Developers. It's quick & easy.

Problems with Signals & Slots of QT

P: n/a
Hi.

I got a problem with Signals and Slots of QT. The program i am speaking of u
can find here: http://www.uni-koblenz.de/~brchrist/address/

If u look at gui.cpp u find a connect command at line 27. I would read this
command like this: "If pushButtonAddPerson got clicked call the function
addPerson() of this GUI-Object"

So this connect should call the function starting on line 50. But if i start
the GUI it writes "[...] No such slot QWidget::addPerson()"

As u can see this means not GUI, but QWidget. But why? I really cant find
the mistake. A friend of mine did the same in another program and it worked.

Hope u can help me.

Regards!
Christian
Sep 24 '06 #1
Share this Question
Share on Google+
5 Replies


P: n/a
Christian Bruckhoff wrote:
Hi.

I got a problem with Signals and Slots of QT. The program i am speaking of
u can find here: http://www.uni-koblenz.de/~brchrist/address/

If u look at gui.cpp u find a connect command at line 27.
gui.cpp and gui.h can't be opened.
I would read this command like this: "If pushButtonAddPerson got clicked
call the function addPerson() of this GUI-Object"

So this connect should call the function starting on line 50. But if i
start the GUI it writes "[...] No such slot QWidget::addPerson()"

As u can see this means not GUI, but QWidget. But why? I really cant find
the mistake. A friend of mine did the same in another program and it
worked.

Hope u can help me.
Well, your question is actually off-topic here. in comp.lang.c++, we only
discuss ISO C++, which doesn't include Qt or signals and slots.

Sep 24 '06 #2

P: n/a

"Christian Bruckhoff" <br******@uni-koblenz.dewrote in message
news:ef**********@cache.uni-koblenz.de...
Hi.

I got a problem with Signals and Slots of QT. The program i am speaking of
u can find here: http://www.uni-koblenz.de/~brchrist/address/
You'll have better luck at the groups/mailing list
for trolltech. Try nntp.trolltech.com or check
their documentation at trolltech.com.
Sep 24 '06 #3

P: n/a
Christian Bruckhoff wrote :
I got a problem with Signals and Slots of QT.
Qt is our favourite C++/MOC toolkit.
Too bad this group is about standard C++, not C++/MOC or C++/CLI or any
other C++.
Sep 24 '06 #4

P: n/a
loufoque posted:
Qt is our favourite C++/MOC toolkit.
Too bad this group is about standard C++, not C++/MOC or C++/CLI or any
other C++.

What do MOC and CLI stand for?

--

Frederick Gotham
Sep 24 '06 #5

P: n/a
Frederick Gotham wrote :
What do MOC and CLI stand for?
MOC is Meta Object Compiler and CLI Common Language Infrastructure
Sep 24 '06 #6

This discussion thread is closed

Replies have been disabled for this discussion.