signals and slots in my own class
aqdas tahir
aqdas_fast at yahoo.com
Fri Jun 7 04:51:34 BST 2002
I wrote a class which used slots but it does'nt
compile under KDevelop 1.2. Look at the code:-
/* my_classes.h */
class my_class: public QObject
{
public slots:
void a_slot (int);
};
void myclass :: a_slot (int value)
{
...........
...........
}
///////////////////////////////////////////
/* main.cpp */
#include "my_classes.h"
int main (...., .....)
{
my_class an_object;
.................
...............
return a.exec ();
}
////////////////////////////////////////////
Errors are invalid references to my_class virtual
table and invalid references to my_class construcor
and destructor
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
___________________________________________________
This message is from the kde mailing list.
Account management: http://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.
More information about the kde
mailing list