categorywidget.cpp
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #include "categoryedit_p.h"
00022 #include "categorywidget.h"
00023
00024 CategoryWidget::CategoryWidget( QWidget *parent, const char *name )
00025 : QVBox( parent, name )
00026 {
00027 ce = new CategoryEdit( this, name );
00028 }
00029
00030 CategoryWidget::CategoryWidget( const QArray<int> &vlRecs,
00031 const QString &appName, QWidget *parent,
00032 const char *name )
00033 : QVBox( parent, name )
00034 {
00035 ce = new CategoryEdit( vlRecs, appName, appName, this, name );
00036 }
00037
00038 CategoryWidget::CategoryWidget( const QArray<int> &vlRecs,
00039 const QString &appName, const QString &visibleName,
00040 QWidget *parent, const char *name )
00041 : QVBox( parent, name )
00042 {
00043 ce = new CategoryEdit( vlRecs, appName, visibleName, this, name );
00044 }
00045
00046 CategoryWidget::~CategoryWidget()
00047 {
00048 }
00049
00050 void CategoryWidget::setCategories( const QArray<int> &vlRecs,
00051 const QString &appName )
00052 {
00053 ce->setCategories( vlRecs, appName, appName );
00054 }
00055
00056 void CategoryWidget::setCategories( const QArray<int> &vlRecs,
00057 const QString &appName,
00058 const QString &visibleName )
00059 {
00060 ce->setCategories( vlRecs, appName, visibleName );
00061 }
00062
00063 QArray<int> CategoryWidget::newCategories()
00064 {
00065 return ce->newCategories();
00066 }
00067
00068 void CategoryWidget::kludge()
00069 {
00070 ce->kludge();
00071 }
This file is part of the documentation for OPIE Version 1.5.5.