Eneboo - Documentación para desarrolladores
|
00001 /*************************************************************************** 00002 AQSTextDecoder_p.h 00003 ------------------- 00004 begin : 05/11/2011 00005 copyright : (C) 2003-2011 by InfoSiAL S.L. 00006 email : mail@infosial.com 00007 ***************************************************************************/ 00008 /*************************************************************************** 00009 * This program is free software; you can redistribute it and/or modify * 00010 * it under the terms of the GNU General Public License as published by * 00011 * the Free Software Foundation; version 2 of the License. * 00012 ***************************************************************************/ 00013 /*************************************************************************** 00014 Este programa es software libre. Puede redistribuirlo y/o modificarlo 00015 bajo los términos de la Licencia Pública General de GNU en su 00016 versión 2, publicada por la Free Software Foundation. 00017 ***************************************************************************/ 00018 00019 #ifndef AQSTEXTDECODER_P_H_ 00020 #define AQSTEXTDECODER_P_H_ 00021 00022 #include "AQSVoidPtr_p.h" 00023 #include <qtextcodec.h> 00024 00025 class AQSTextDecoder : public AQSVoidPtr 00026 { 00027 Q_OBJECT 00028 00029 AQ_DECLARE_AQS_VOID(TextDecoder, VoidPtr); 00030 00031 //@AQ_BEGIN_DEF_PUB_SLOTS@ 00032 public slots: 00033 virtual QString toUnicode(const char *, int); 00034 00035 protected: 00036 static void *construct(const QSArgumentList &args) { 00037 return 0; 00038 } 00039 //@AQ_END_DEF_PUB_SLOTS@ 00040 }; 00041 00042 //@AQ_BEGIN_IMP_PUB_SLOTS@ 00043 inline QString AQSTextDecoder::toUnicode(const char *arg0, int arg1) 00044 { 00045 AQ_CALL_RET_V(toUnicode(arg0, arg1), QString); 00046 } 00047 //@AQ_END_IMP_PUB_SLOTS@ 00048 00049 #endif /* AQSTEXTDECODER_P_H_ */ 00050 // @AQSVOIDPTR@