categoryedit_p.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef __CATEGORYEDIT_H__
00022 #define __CATEGORYEDIT_H__
00023
00024 #include "categoryeditbase_p.h"
00025 #include <qarray.h>
00026
00027 class CategoryEditPrivate;
00028
00029 class CategoryEdit : public CategoryEditBase
00030 {
00031 Q_OBJECT
00032
00033 public:
00034 CategoryEdit( QWidget *parent = 0, const char *name = 0 );
00035 CategoryEdit( const QArray<int> &vlRecs, const QString &appName,
00036 const QString &visibleName,
00037 QWidget *parent = 0, const char *name = 0 );
00038 ~CategoryEdit();
00039 void setCategories( const QArray<int> &vlRecs,
00040 const QString &appName, const QString &visibleName );
00041 QArray<int> newCategories();
00042 void kludge();
00043
00044 protected:
00045 void accept();
00046
00047 protected slots:
00048 void slotAdd();
00049 void slotRemove();
00050 void slotSetText( QListViewItem *selected );
00051 void slotSetGlobal( bool isChecked );
00052 void slotTextChanged( const QString &strNew );
00053
00054 private:
00055 CategoryEditPrivate *d;
00056 };
00057
00058 QString categoryFileName();
00059
00060 #endif
This file is part of the documentation for OPIE Version 1.5.5.