On 03/24/2012 01:46 AM, David C. Rankin wrote:
In file included from knetworkconfdlg.cpp:11:0:
knetworkconfdlg.h:142:40: error: 'TQListViewItem' has not been declared
In file included from knetworkconfdlg.cpp:31:0:
./knetworkconfdlg.ui.h:153:6: error: prototype for 'void
KNetworkConfDlg::updateProfileNameSlot(TQListViewItem*)' does not match any in
class 'KNetworkConfDlg'
knetworkconfdlg.h:142:18: error: candidates are: virtual void
KNetworkConfDlg::updateProfileNameSlot(int*)
./knetworkconfdlg.ui.h:147:6: error: virtual void
KNetworkConfDlg::updateProfileNameSlot()
In file included from knetworkconfdlg.cpp:688:0:
knetworkconfdlg.moc: In member function 'virtual bool
KNetworkConfDlg::tqt_invoke(int, TQUObject*)':
knetworkconfdlg.moc:171:80: error: no matching function for call to
'KNetworkConfDlg::updateProfileNameSlot(TQListViewItem*)'
knetworkconfdlg.moc:171:80: note: candidates are:
./knetworkconfdlg.ui.h:147:6: note: virtual void
KNetworkConfDlg::updateProfileNameSlot()
./knetworkconfdlg.ui.h:147:6: note: candidate expects 0 arguments, 1 provided
knetworkconfdlg.h:142:18: note: virtual void
KNetworkConfDlg::updateProfileNameSlot(int*)
knetworkconfdlg.h:142:18: note: no known conversion for argument 1 from
'TQListViewItem*' to 'int*'
make[3]: *** [knetworkconfdlg.lo] Error 1
What can I try declaring TQListViewItem as, and where would be the proper place
to do it? knetworkconfdlg.h? TQListViewItem a string?, an int?
The weird thing is tdeadmin builds for several minutes before hitting this snag,
so it looks limited to this bit of code.
--
David C. Rankin, J.D.,P.E.