~ubuntu-branches/ubuntu/intrepid/kdesdk/intrepid-updates

« back to all changes in this revision

Viewing changes to kspy/classinfoview.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2008-05-28 10:11:43 UTC
  • mto: This revision was merged to the branch mainline in revision 37.
  • Revision ID: james.westby@ubuntu.com-20080528101143-gzc3styjz1b70zxu
Tags: upstream-4.0.80
ImportĀ upstreamĀ versionĀ 4.0.80

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 *                                                                         *
16
16
 ***************************************************************************/
17
17
 
18
 
#include <qobjectdict.h>
19
 
#include <qobjectlist.h>
 
18
#include <q3objectdict.h>
 
19
#include <qobject.h>
20
20
#include <qmetaobject.h>
21
 
#include <qstrlist.h>
 
21
#include <q3strlist.h>
22
22
#include <qvariant.h>
23
23
 
24
24
#include <klocale.h>
25
25
 
26
26
#include "classinfoview.h"
27
27
 
28
 
ClassInfoView::ClassInfoView(QWidget *parent, const char *name ) : KListView(parent,name)
 
28
ClassInfoView::ClassInfoView(QWidget *parent, const char *name ) : K3ListView(parent,name)
29
29
{
30
30
  addColumn( i18n( "Name" ) );
31
31
  addColumn( i18n( "Value" ) );
45
45
 
46
46
  for (int index = 0; index < mo->numClassInfo(true); index++) {
47
47
    const QClassInfo * classInfo = mo->classInfo(index, true);
48
 
    new KListViewItem( this, classInfo->name, classInfo->value );
 
48
    new K3ListViewItem( this, classInfo->name, classInfo->value );
49
49
  }
50
50
}
51
51