You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
123 lines
11 KiB
XML
123 lines
11 KiB
XML
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
|
|
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.8.11">
|
|
<compounddef id="csqliteplugin_8h" kind="file" language="C++">
|
|
<compoundname>csqliteplugin.h</compoundname>
|
|
<includes refid="cdbinterface_8h" local="yes">cdbinterface.h</includes>
|
|
<includes local="no">QtCore</includes>
|
|
<includes local="no">QObject</includes>
|
|
<includes local="no">QString</includes>
|
|
<includes local="no">QSqlDatabase</includes>
|
|
<includedby refid="csqliteplugin_8cpp" local="yes">dSQLite/csqliteplugin.cpp</includedby>
|
|
<incdepgraph>
|
|
<node id="629">
|
|
<label>cdbinterface.h</label>
|
|
<link refid="cdbinterface_8h"/>
|
|
<childnode refid="630" relation="include">
|
|
</childnode>
|
|
<childnode refid="632" relation="include">
|
|
</childnode>
|
|
<childnode refid="631" relation="include">
|
|
</childnode>
|
|
<childnode refid="633" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="635">
|
|
<label>QObject</label>
|
|
</node>
|
|
<node id="632">
|
|
<label>QtPlugin</label>
|
|
</node>
|
|
<node id="628">
|
|
<label>dSQLite/csqliteplugin.h</label>
|
|
<link refid="csqliteplugin.h"/>
|
|
<childnode refid="629" relation="include">
|
|
</childnode>
|
|
<childnode refid="634" relation="include">
|
|
</childnode>
|
|
<childnode refid="635" relation="include">
|
|
</childnode>
|
|
<childnode refid="631" relation="include">
|
|
</childnode>
|
|
<childnode refid="636" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="634">
|
|
<label>QtCore</label>
|
|
</node>
|
|
<node id="636">
|
|
<label>QSqlDatabase</label>
|
|
</node>
|
|
<node id="631">
|
|
<label>QString</label>
|
|
</node>
|
|
<node id="630">
|
|
<label>cInterface.h</label>
|
|
<link refid="c_interface_8h"/>
|
|
<childnode refid="631" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="633">
|
|
<label>QStringList</label>
|
|
</node>
|
|
</incdepgraph>
|
|
<invincdepgraph>
|
|
<node id="637">
|
|
<label>dSQLite/csqliteplugin.h</label>
|
|
<link refid="csqliteplugin.h"/>
|
|
<childnode refid="638" relation="include">
|
|
</childnode>
|
|
</node>
|
|
<node id="638">
|
|
<label>dSQLite/csqliteplugin.cpp</label>
|
|
<link refid="csqliteplugin_8cpp"/>
|
|
</node>
|
|
</invincdepgraph>
|
|
<innerclass refid="classc_s_q_lite_plugin" prot="public">cSQLitePlugin</innerclass>
|
|
<briefdescription>
|
|
</briefdescription>
|
|
<detaileddescription>
|
|
</detaileddescription>
|
|
<programlisting>
|
|
<codeline lineno="1"><highlight class="preprocessor">#ifndef<sp/>CSQLITEPLUGIN_H</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="2"><highlight class="normal"></highlight><highlight class="preprocessor">#define<sp/>CSQLITEPLUGIN_H</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="3"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="4"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="5"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>"<ref refid="cdbinterface_8h" kindref="compound">cdbinterface.h</ref>"</highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="6"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="7"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><QtCore></highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="8"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><QObject></highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="9"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><QString></highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="10"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/><QSqlDatabase></highlight><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="11"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="12"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="17" refid="classc_s_q_lite_plugin" refkind="compound"><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classc_s_q_lite_plugin" kindref="compound">cSQLitePlugin</ref><sp/>:<sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/>QObject,<sp/></highlight><highlight class="keyword">public</highlight><highlight class="normal"><sp/><ref refid="classc_d_b_interface" kindref="compound">cDBInterface</ref></highlight></codeline>
|
|
<codeline lineno="18"><highlight class="normal">{</highlight></codeline>
|
|
<codeline lineno="19"><highlight class="normal"><sp/><sp/><sp/><sp/>Q_OBJECT</highlight></codeline>
|
|
<codeline lineno="20"><highlight class="normal"><sp/><sp/><sp/><sp/>Q_PLUGIN_METADATA(IID<sp/></highlight><highlight class="stringliteral">"cSQLitePlugin"</highlight><highlight class="normal"><sp/>FILE<sp/></highlight><highlight class="stringliteral">"dSQLite.json"</highlight><highlight class="normal">)</highlight></codeline>
|
|
<codeline lineno="21"><highlight class="normal"><sp/><sp/><sp/><sp/>Q_INTERFACES(<ref refid="classc_d_b_interface" kindref="compound">cDBInterface</ref>)</highlight></codeline>
|
|
<codeline lineno="22"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="23"><highlight class="normal"></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
|
|
<codeline lineno="29" refid="classc_s_q_lite_plugin_1abe6689a26729e68d2167eb87e3bc2768" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/>qint16<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classc_s_q_lite_plugin_1abe6689a26729e68d2167eb87e3bc2768" kindref="member">pluginAPIVersion</ref>()<sp/>{<sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal">(1);<sp/>}</highlight></codeline>
|
|
<codeline lineno="35" refid="classc_s_q_lite_plugin_1a073f7e6b4fa9804c58bdb4a5a758ffa4" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/>QString<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classc_s_q_lite_plugin_1a073f7e6b4fa9804c58bdb4a5a758ffa4" kindref="member">pluginName</ref>()<sp/>{<sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal">(</highlight><highlight class="stringliteral">"SQLite<sp/>DB"</highlight><highlight class="normal">);<sp/>}</highlight></codeline>
|
|
<codeline lineno="41" refid="classc_s_q_lite_plugin_1a680ffa394cab1bd545080c4ea72bd442" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/>qint16<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classc_s_q_lite_plugin_1a680ffa394cab1bd545080c4ea72bd442" kindref="member">pluginVersion</ref>()<sp/>{<sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal">(1);<sp/>}</highlight></codeline>
|
|
<codeline lineno="47" refid="classc_s_q_lite_plugin_1a1ba9b4a2e7dc962bbc67a89dc928fcee" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="classc_interface_1a41462a3131755963add9ba3026e7d31a" kindref="member">iType</ref><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classc_s_q_lite_plugin_1a1ba9b4a2e7dc962bbc67a89dc928fcee" kindref="member">pluginType</ref>()<sp/>{<sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal">(<ref refid="classc_interface_1a41462a3131755963add9ba3026e7d31aa242858255f85f84d2c9791f376bf738a" kindref="member">cInterface::iTypeDB</ref>);<sp/>}</highlight></codeline>
|
|
<codeline lineno="48"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="54"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classc_s_q_lite_plugin_1a0a3bef23b97f92e6df13248533cdb3e5" kindref="member">connect</ref>();</highlight></codeline>
|
|
<codeline lineno="60"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classc_s_q_lite_plugin_1a5ed58193b879741aa561e6b5b24728a0" kindref="member">init</ref>();</highlight></codeline>
|
|
<codeline lineno="66"><highlight class="normal"><sp/><sp/><sp/><sp/>QString<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classc_s_q_lite_plugin_1a559d79aa121a1d04ba89ae3cc641baf8" kindref="member">lastError</ref>();</highlight></codeline>
|
|
<codeline lineno="67"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="73"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classc_s_q_lite_plugin_1a0ebe7b647b44908f2717c86900ac679d" kindref="member">config</ref>();</highlight></codeline>
|
|
<codeline lineno="74"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="75"><highlight class="normal"></highlight><highlight class="keyword">protected</highlight><highlight class="normal">:</highlight></codeline>
|
|
<codeline lineno="81"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classc_s_q_lite_plugin_1ab826f374afd77f9b0118131eb6ae368f" kindref="member">open</ref>();</highlight></codeline>
|
|
<codeline lineno="82"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="83" refid="classc_s_q_lite_plugin_1a3e3b9845869292d92f7d37e1ffa90df5" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/>QSqlDatabase<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classc_s_q_lite_plugin_1a3e3b9845869292d92f7d37e1ffa90df5" kindref="member">m_db</ref>;<sp/></highlight></codeline>
|
|
<codeline lineno="84" refid="classc_s_q_lite_plugin_1a2f6c0e82b435799bd544d8a1847f4d1a" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/>QString<sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classc_s_q_lite_plugin_1a2f6c0e82b435799bd544d8a1847f4d1a" kindref="member">m_szLastError</ref>;<sp/></highlight></codeline>
|
|
<codeline lineno="85"><highlight class="normal">};</highlight></codeline>
|
|
<codeline lineno="86"><highlight class="normal"></highlight></codeline>
|
|
<codeline lineno="87"><highlight class="normal"></highlight><highlight class="preprocessor">#endif<sp/>//<sp/>CSQLITEPLUGIN_H</highlight></codeline>
|
|
</programlisting>
|
|
<location file="dSQLite/csqliteplugin.h"/>
|
|
</compounddef>
|
|
</doxygen>
|