kspread
KSpreadMapIface.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef KSPREAD_MAP_IFACE_H
00022 #define KSPREAD_MAP_IFACE_H
00023
00024 #include <qstringlist.h>
00025 #include <qvaluelist.h>
00026
00027 #include <dcopobject.h>
00028 #include <dcopref.h>
00029
00030
00031 namespace KSpread
00032 {
00033 class Map;
00034
00035 class MapIface : virtual public DCOPObject
00036 {
00037 K_DCOP
00038 public:
00039 MapIface( Map* );
00040
00041 virtual bool processDynamic(const QCString &fun, const QByteArray &data,
00042 QCString& replyType, QByteArray &replyData);
00043
00044 k_dcop:
00045 virtual DCOPRef sheet( const QString& name );
00046 virtual DCOPRef sheetByIndex( int index );
00047 virtual int sheetCount() const;
00048 virtual QStringList sheetNames() const;
00049 virtual QValueList<DCOPRef> sheets();
00050 virtual DCOPRef insertSheet( const QString& name );
00051
00052 private:
00053 Map* m_map;
00054 };
00055
00056 }
00057
00058 #endif
|