473,472 Members | 2,139 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Problems with Signals & Slots of QT

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
5 2208
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

"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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Holger Joukl | last post by:
Hi, migrating from good old python 1.5.2 to python 2.3, I have a problem running a program that features some threads which execute calls to an extension module. Problem is that all of a sudden,...
1
by: Frank Bossy | last post by:
Dear group :) I don't quite understand the meaning of this paragraph in the qt docu (http://doc.trolltech.com/3.1/threads.html): ***SNIP The Signals and Slots mechanism can be used in...
4
by: maxmagna | last post by:
Hello, I am looking for material that describes how *precisely* UNIX-based signals interact with the normal C++ execution flow of control and guidelines on how to treat signals in an...
35
by: mdh | last post by:
Hi All, this little nonsense function is an attempt to understand function pointers. /*********/ #include <stdio.h> void p(int);
2
by: vertozia | last post by:
Hey there, ive been having difficulty placing an image, this is my screenshot, and what ive done so far: http://img341.imageshack.us/img341/9894/gridwg2.jpg /** * ConnectFourGUI * Provide...
11
by: vippstar | last post by:
What is the purpose of signals and why do they exist in C? thanks in advance
0
by: Brian Vanderburg II | last post by:
I don't know if any such support is already built in, so I ended up making my own simple signals/slots like mechanism. If anyone is interested then here it is, along with a simple test. It can...
1
by: Scott SA | last post by:
On 5/1/08, Brian Vanderburg II (BrianVanderburg2@aim.com) wrote: Did you review this? <http://pydispatcher.sourceforge.net/> from what I understand is originally based upon this:...
1
by: Jekzer | last post by:
Hi all ! Well, I am working for my first time in life with Qt libs and I have a few problems. First, I want to make a QApplication very simple to practise signal/slots functionality. The...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.