Hi,

I'm trying to create a class which includes signals and slots. I get the following errors on compilation. Please help.

Qt Code:
  1. main.o(.text+0x56d5): In function `controls::controls[not-in-charge](QWidget*)':
  2. /home/utsav/FYP/final/controls.cpp:13: undefined reference to `vtable for controls'
  3. main.o(.text+0x56e1):/home/utsav/FYP/final/controls.cpp:13: undefined reference to `vtable for controls'
  4. main.o(.text+0x59bd): In function `controls::controls[in-charge](QWidget*)':
  5. /home/utsav/FYP/final/controls.cpp:13: undefined reference to `vtable for controls'
  6. main.o(.text+0x59c9):/home/utsav/FYP/final/controls.cpp:13: undefined reference to `vtable for controls'
  7. main.o(.text+0x5f52): In function `controls::emitvalue()':
  8. /home/utsav/FYP/final/controls.cpp:76: undefined reference to `controls::triggered(int)'
  9. main.o(.gnu.linkonce.t._ZN8controlsD1Ev+0xc): In function `controls::~controls [in-charge]()':
  10. /usr/local/Trolltech/Qt-4.1.0/include/QtCore/qpoint.h:101: undefined reference to `vtable for controls'
  11. main.o(.gnu.linkonce.t._ZN8controlsD1Ev+0x18): In function `controls::~controls [in-charge]()':
  12. /usr/local/Trolltech/Qt-4.1.0/include/QtGui/qcolor.h:217: undefined reference to `vtable for controls'
To copy to clipboard, switch view to plain text mode 


Thanks
superutsav