documentinfo.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef __ktexteditor_documentinfointerface_h__
00020 #define __ktexteditor_documentinfointerface_h__
00021
00022 class QString;
00023 class QCString;
00024
00025 namespace KTextEditor
00026 {
00027
00028
00029
00030
00031 class DocumentInfoInterface
00032 {
00033 friend class PrivateDocumentInterface;
00034
00035 public:
00036 DocumentInfoInterface();
00037 virtual ~DocumentInfoInterface();
00038
00039 virtual QString mimeType()=0;
00040 virtual long fileSize()=0;
00041 virtual QString niceFileSize()=0;
00042
00043 unsigned int documentInfoInterfaceNumber () const;
00044
00045 protected:
00046 void setDocumentInfoInterfaceDCOPSuffix (const QCString &suffix);
00047
00048 private:
00049 class PrivateDocumentInfoInterface *d;
00050 static unsigned int globalDocumentInfoInterfaceNumber;
00051 unsigned int myDocumentInfoInterfaceNumber;
00052 };
00053
00054
00055 }
00056
00057 #endif
This file is part of the documentation for kdelibs Version 3.1.5.