API change needed for KateCompletionModel::Group

Jarosław Staniek js at iidea.pl
Tue Jan 15 13:13:21 GMT 2008

KateCompletionModel::Group is now used in palces like 
KateCompletionModel::createItems(). QSet templates expect full type 
information (for msvc).

Without making KateCompletionModel::Group public (or at least protected?) we 
will encounter this:

kde4\qt-copy\include\QtCore\../../src\corelib\tools\qset.h(49) : error C2248: 
'KateCompletionModel::Group' : cannot access private class declared in class 
          kde4\trunk\KDE\kdelibs\kate\completion\katecompletionmodel.h(233) : 
see declaration of 'KateCompletionModel::Group'
         kde4\trunk\KDE\kdelibs\kate\completion\katecompletionmodel.h(45) : 
see declaration of 'KateCompletionModel'
         kde4\trunk\KDE\kdelibs\kate\completion\katecompletionmodel.cpp(477) : 
see reference to class template instantiation 'QSet<T>' being compiled

regards / pozdrawiam, Jaroslaw Staniek
  Sponsored by OpenOffice Polska (http://www.openoffice.com.pl/en) to work on
  Kexi & KOffice (http://www.kexi.pl/en, http://www.koffice.org/kexi)
  KDE Libraries for MS Windows (http://windows.kde.org)

More information about the kde-core-devel mailing list