Ich habe einen Cache:
Code: Alles auswählen
typedef QCache<int, FBEntry> FlightbookCache_T;
Code: Alles auswählen
int row = index.row();
int column = index.column();
FBEntry *pEntry = m_FlightbookCache[row];
if(pEntry)
{
return pEntry->getColumn(column);
}
Code: Alles auswählen
flightbooktablemodel.cpp: In member function `virtual QVariant FlightbookTableModel::data(const QModelIndex&, int) const':
flightbooktablemodel.cpp:43: error: insufficient contextual information to determine type
flightbooktablemodel.cpp:44: error: insufficient contextual information to determine type
make[1]: *** [Linux-2.6-i686-g++3.4.6-debug/flightbooktablemodel.o] Error 1
Weiss jemand, was das sein kann ?
Gruss,
Nando