-
Qmap
HI All
Im passing argument like QMap<qint32, qint32> m_MapVal;
But getting error..........
c:/Qt/4.3.0/include/QtCore/../../src/corelib/tools/qmap.h: In member function `QMapData::Node* QMap<
Key, T>::node_create(QMapData*, QMapData::Node**, const Key&, const T&) [with Key = qint32, T = File::IBungPtr]':
where File is namespace and IBungPtr is interface pointer.
CAn any body help me plz.............
-
Re: Qmap
If you declare the map as QMap<qint32, qint32>: Why is T = file::IBungPtr ????
Maybe a basic book about C++ and templates will help!
Good luck,
Tom
-
Re: Qmap
soerry. i didnt get ur reply clearly.
In header file i ve added
#include <QMap>
namespace File
{
class abc
{
QMap<qint32, qint32> m_MapFahrzeiten;
}
}
in cpp m_MapFahrzeiten.clear();
wats the wrong with this codes?
-
Re: Qmap
In the error T = File::IBungPtr.
In the declaration you have T=qint32.
This doesn't match.