Extended implementing StarDict *.dict file
[mdictionary] / src / plugins / stardict / StarDictReader.h
index 035d5e5..b1bbbdc 100644 (file)
@@ -40,17 +40,10 @@ public:
 
     /*!
       Reads translations text from dict file.
-      \param offset 32-bit offset of translation in file, readed from idx file
-      \param len length of translation, readed from idx file too
-      */
-    virtual QString readString(qint32 offset, qint32 len)=0;
-
-    /*!
-      Reads translations text from dict file.
       \param offset 64-bit offset of translation in file, readed from idx file
       \param len length of translation, readed from idx file too
       */
-    virtual QString readString(qint64 offset, qint32 len)=0;
+    virtual QByteArray readString(qint64 offset, qint32 len)=0;
 
     /*!
       Reads 32-bits integer value from file and convert it from BigEndian