1 \hypertarget{classBackbone}{
2 \section{Backbone Class Reference}
3 \label{classBackbone}\index{Backbone@{Backbone}}
7 Inner part of dictionary -\/ glues together GUI and plugins.
12 {\ttfamily \#include $<$backbone.h$>$}
14 \subsection*{Public Slots}
15 \begin{DoxyCompactItemize}
17 \hypertarget{classBackbone_a1ede318bd5d226a8fa566f13452fb07d}{
18 void \hyperlink{classBackbone_a1ede318bd5d226a8fa566f13452fb07d}{stopSearching} ()}
19 \label{classBackbone_a1ede318bd5d226a8fa566f13452fb07d}
21 \begin{DoxyCompactList}\small\item\em stops all current searches \item\end{DoxyCompactList}\item
22 \hypertarget{classBackbone_a3b1f2cf8de594cbd18bef4ca854337e2}{
23 void \hyperlink{classBackbone_a3b1f2cf8de594cbd18bef4ca854337e2}{search} (QString word)}
24 \label{classBackbone_a3b1f2cf8de594cbd18bef4ca854337e2}
26 \begin{DoxyCompactList}\small\item\em search for a word translation \item\end{DoxyCompactList}\item
27 \hypertarget{classBackbone_ac23b486119652095d956413a6e68afec}{
28 void \hyperlink{classBackbone_ac23b486119652095d956413a6e68afec}{selectedDictionaries} (QList$<$ \hyperlink{classCommonDictInterface}{CommonDictInterface} $\ast$ $>$)}
29 \label{classBackbone_ac23b486119652095d956413a6e68afec}
31 \begin{DoxyCompactList}\small\item\em sets active dictionaries \item\end{DoxyCompactList}\item
32 \hypertarget{classBackbone_af1f9ed9ee7f8b9e869092f2f9cd8cd3f}{
33 void \hyperlink{classBackbone_af1f9ed9ee7f8b9e869092f2f9cd8cd3f}{addDictionary} (\hyperlink{classCommonDictInterface}{CommonDictInterface} $\ast$dict)}
34 \label{classBackbone_af1f9ed9ee7f8b9e869092f2f9cd8cd3f}
36 \begin{DoxyCompactList}\small\item\em adds new dictionary \item\end{DoxyCompactList}\item
37 \hypertarget{classBackbone_aa61afbf8ef2e05c0c2a9634fbdccad19}{
38 void \hyperlink{classBackbone_aa61afbf8ef2e05c0c2a9634fbdccad19}{quit} ()}
39 \label{classBackbone_aa61afbf8ef2e05c0c2a9634fbdccad19}
41 \begin{DoxyCompactList}\small\item\em stops all current activity and kill plugins -\/ be ready to exit \item\end{DoxyCompactList}\item
42 \hypertarget{classBackbone_a99fb5d8cdf33e7fdca74e9415d615150}{
43 void \hyperlink{classBackbone_a99fb5d8cdf33e7fdca74e9415d615150}{translation} (QList$<$ \hyperlink{classTranslation}{Translation} $\ast$ $>$)}
44 \label{classBackbone_a99fb5d8cdf33e7fdca74e9415d615150}
46 \begin{DoxyCompactList}\small\item\em Fired when dictionary call finalTranslation(..) with translation ready. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
48 \begin{DoxyCompactItemize}
50 void \hyperlink{classBackbone_afef04921ba89c424eb882cc14153de39}{closeOk} ()
52 \hypertarget{classBackbone_ae50cec4f0c49149a46e913b31bcef92c}{
53 void \hyperlink{classBackbone_ae50cec4f0c49149a46e913b31bcef92c}{ready} ()}
54 \label{classBackbone_ae50cec4f0c49149a46e913b31bcef92c}
56 \begin{DoxyCompactList}\small\item\em emitted when there are search result ready to fetch \item\end{DoxyCompactList}\end{DoxyCompactItemize}
57 \subsection*{Public Member Functions}
58 \begin{DoxyCompactItemize}
60 \hypertarget{classBackbone_a738dad7741d990f8f51a1ffbbc4610c4}{
61 {\bfseries Backbone} (QObject $\ast$parent=0)}
62 \label{classBackbone_a738dad7741d990f8f51a1ffbbc4610c4}
65 \hypertarget{classBackbone_a6edbf4e5819dbc551ab54dad66f474f2}{
66 {\bfseries Backbone} (const \hyperlink{classBackbone}{Backbone} \&b)}
67 \label{classBackbone_a6edbf4e5819dbc551ab54dad66f474f2}
70 QHash$<$ \hyperlink{classCommonDictInterface}{CommonDictInterface} $\ast$, bool $>$ \hyperlink{classBackbone_a4b027f51bb4cc3803f6be85bc25d6a4b}{getDictionaries} ()
72 QList$<$ \hyperlink{classCommonDictInterface}{CommonDictInterface} $\ast$ $>$ \hyperlink{classBackbone_a2fdfa0cf73fda5304635b61455b48db9}{getPlugins} ()
74 QList$<$ QString $>$ \hyperlink{classBackbone_aad6c6a42de0c933f056354a5c6528f85}{getHistory} ()
76 QMultiHash$<$ QString, \hyperlink{classTranslation}{Translation} $\ast$ $>$ \hyperlink{classBackbone_adeaabfee86975f65b8e728b8582caa35}{result} ()
78 int \hyperlink{classBackbone_addad48903943006b6a4661169f80ee5a}{searchLimit} () const
80 int \hyperlink{classBackbone_ad0ddecf22c51867e984cb4e6a745d67c}{activeSearches} () const
81 \end{DoxyCompactItemize}
84 \subsection{Detailed Description}
85 Inner part of dictionary -\/ glues together GUI and plugins.
87 \subsection{Member Function Documentation}
88 \hypertarget{classBackbone_ad0ddecf22c51867e984cb4e6a745d67c}{
89 \index{Backbone@{Backbone}!activeSearches@{activeSearches}}
90 \index{activeSearches@{activeSearches}!Backbone@{Backbone}}
91 \subsubsection[{activeSearches}]{\setlength{\rightskip}{0pt plus 5cm}int Backbone::activeSearches () const}}
92 \label{classBackbone_ad0ddecf22c51867e984cb4e6a745d67c}
93 \begin{DoxyReturn}{Returns}
94 number of active searches
96 \hypertarget{classBackbone_afef04921ba89c424eb882cc14153de39}{
97 \index{Backbone@{Backbone}!closeOk@{closeOk}}
98 \index{closeOk@{closeOk}!Backbone@{Backbone}}
99 \subsubsection[{closeOk}]{\setlength{\rightskip}{0pt plus 5cm}void Backbone::closeOk ()\hspace{0.3cm}{\ttfamily \mbox{[}signal\mbox{]}}}}
100 \label{classBackbone_afef04921ba89c424eb882cc14153de39}
101 emmited when backbone is ready to close -\/ after getting stop signal it should kill all threads and so on \hypertarget{classBackbone_a4b027f51bb4cc3803f6be85bc25d6a4b}{
102 \index{Backbone@{Backbone}!getDictionaries@{getDictionaries}}
103 \index{getDictionaries@{getDictionaries}!Backbone@{Backbone}}
104 \subsubsection[{getDictionaries}]{\setlength{\rightskip}{0pt plus 5cm}QHash$<$ {\bf CommonDictInterface} $\ast$, bool $>$ Backbone::getDictionaries ()}}
105 \label{classBackbone_a4b027f51bb4cc3803f6be85bc25d6a4b}
106 \begin{DoxyReturn}{Returns}
107 all loadded dictionaries with activity state flag
109 \hypertarget{classBackbone_aad6c6a42de0c933f056354a5c6528f85}{
110 \index{Backbone@{Backbone}!getHistory@{getHistory}}
111 \index{getHistory@{getHistory}!Backbone@{Backbone}}
112 \subsubsection[{getHistory}]{\setlength{\rightskip}{0pt plus 5cm}QList$<$ QString $>$ Backbone::getHistory ()}}
113 \label{classBackbone_aad6c6a42de0c933f056354a5c6528f85}
114 \begin{DoxyReturn}{Returns}
115 history of performed searches
117 \hypertarget{classBackbone_a2fdfa0cf73fda5304635b61455b48db9}{
118 \index{Backbone@{Backbone}!getPlugins@{getPlugins}}
119 \index{getPlugins@{getPlugins}!Backbone@{Backbone}}
120 \subsubsection[{getPlugins}]{\setlength{\rightskip}{0pt plus 5cm}QList$<$ {\bf CommonDictInterface} $\ast$ $>$ Backbone::getPlugins ()}}
121 \label{classBackbone_a2fdfa0cf73fda5304635b61455b48db9}
122 \begin{DoxyReturn}{Returns}
125 \hypertarget{classBackbone_adeaabfee86975f65b8e728b8582caa35}{
126 \index{Backbone@{Backbone}!result@{result}}
127 \index{result@{result}!Backbone@{Backbone}}
128 \subsubsection[{result}]{\setlength{\rightskip}{0pt plus 5cm}QMultiHash$<$ QString, {\bf Translation} $\ast$ $>$ Backbone::result ()}}
129 \label{classBackbone_adeaabfee86975f65b8e728b8582caa35}
130 \begin{DoxyReturn}{Returns}
133 \hypertarget{classBackbone_addad48903943006b6a4661169f80ee5a}{
134 \index{Backbone@{Backbone}!searchLimit@{searchLimit}}
135 \index{searchLimit@{searchLimit}!Backbone@{Backbone}}
136 \subsubsection[{searchLimit}]{\setlength{\rightskip}{0pt plus 5cm}int Backbone::searchLimit () const}}
137 \label{classBackbone_addad48903943006b6a4661169f80ee5a}
138 \begin{DoxyReturn}{Returns}
139 maximum number of word that plugin could find
143 The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
147 moc\_\-backbone.cpp\end{DoxyCompactItemize}