\hypertarget{a00309}{\section{Backup\+Plugin Class Reference}
\label{a00309}\index{Backup\+Plugin@{Backup\+Plugin}}
}
Inheritance diagram for Backup\+Plugin\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=11.000000cm]{a00309}
\end{center}
\end{figure}
\subsection*{Public Slots}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00309_a6a3dd98333a17d9095cad3c49cc264fb}{Q\+String {\bfseries version} ()}\label{a00309_a6a3dd98333a17d9095cad3c49cc264fb}

\end{DoxyCompactItemize}
\subsection*{Signals}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00309_a8bc00a5422d22f948bc9977463343349}{void {\bfseries update\+View} ()}\label{a00309_a8bc00a5422d22f948bc9977463343349}

\item 
\hypertarget{a00309_ad81c0491892a0f45884de1a58672d6f0}{void {\bfseries updated\+Object} (int \+\_\+identifier, const \hyperlink{a01393}{Update\+Type} \&\+\_\+type)}\label{a00309_ad81c0491892a0f45884de1a58672d6f0}

\item 
\hypertarget{a00309_a43b54d99e2b8a8d31750ac2edbcf9bae}{void {\bfseries set\+Slot\+Description} (Q\+String \+\_\+slot\+Name, Q\+String \+\_\+slot\+Description, Q\+String\+List \+\_\+parameters, Q\+String\+List \+\_\+descriptions)}\label{a00309_a43b54d99e2b8a8d31750ac2edbcf9bae}

\item 
\hypertarget{a00309_a261645574b95cc25d0f4ba3d65e48fce}{void {\bfseries log} (\hyperlink{a02444_a595b2880f3ae74561ba390e3fd8c0e7c}{Logtype} \+\_\+type, Q\+String \+\_\+message)}\label{a00309_a261645574b95cc25d0f4ba3d65e48fce}

\item 
\hypertarget{a00309_a03dc3678009a57872fadeb61bc421ae7}{void {\bfseries log} (Q\+String \+\_\+message)}\label{a00309_a03dc3678009a57872fadeb61bc421ae7}

\item 
\hypertarget{a00309_a996ac01fb4f00d8f4965ad59a4008545}{void {\bfseries get\+Menubar\+Menu} (Q\+String \+\_\+name, Q\+Menu $\ast$\&\+\_\+menu, bool \+\_\+create)}\label{a00309_a996ac01fb4f00d8f4965ad59a4008545}

\item 
\hypertarget{a00309_a65c182f4dd84e5518d559bd501616b7b}{void {\bfseries undo} (int \+\_\+objectid)}\label{a00309_a65c182f4dd84e5518d559bd501616b7b}

\item 
\hypertarget{a00309_a156f40c1a3d3064fad43488fa9f44352}{void {\bfseries undo} ()}\label{a00309_a156f40c1a3d3064fad43488fa9f44352}

\item 
\hypertarget{a00309_a01390fbb18c99e787b5326ebe4fb2549}{void {\bfseries redo} (int \+\_\+objectid)}\label{a00309_a01390fbb18c99e787b5326ebe4fb2549}

\item 
\hypertarget{a00309_a70d251912a5a292670afcabc76c2c075}{void {\bfseries redo} ()}\label{a00309_a70d251912a5a292670afcabc76c2c075}

\item 
\hypertarget{a00309_a0b32cca470dabd60cd5a93f92ac5d2b9}{void {\bfseries about\+To\+Restore} (int \+\_\+objectid)}\label{a00309_a0b32cca470dabd60cd5a93f92ac5d2b9}

\item 
\hypertarget{a00309_a22c1e594423e7353268245502141bf69}{void {\bfseries restored} (int \+\_\+objectid)}\label{a00309_a22c1e594423e7353268245502141bf69}

\item 
\hypertarget{a00309_a02028360ff6ab5afbbafd656855f2cf5}{void {\bfseries generate\+Backup} (int \+\_\+id, Q\+String \+\_\+name, \hyperlink{a01393}{Update\+Type} \+\_\+type)}\label{a00309_a02028360ff6ab5afbbafd656855f2cf5}

\item 
\hypertarget{a00309_a28f91cef75263fadb33a8196efd9dc89}{void {\bfseries add\+Toolbar} (Q\+Tool\+Bar $\ast$\+\_\+toolbar)}\label{a00309_a28f91cef75263fadb33a8196efd9dc89}

\item 
\hypertarget{a00309_a50702c25f2e858c6e31d4e3bc8bc91c1}{void {\bfseries get\+Tool\+Bar} (Q\+String \+\_\+name, Q\+Tool\+Bar $\ast$\&\+\_\+toolbar)}\label{a00309_a50702c25f2e858c6e31d4e3bc8bc91c1}

\item 
\hypertarget{a00309_a4b5051bb57cae96498b2c6baeb7fc0f4}{void {\bfseries register\+Key} (int \+\_\+key, Qt\+::\+Keyboard\+Modifiers \+\_\+modifiers, Q\+String \+\_\+description, bool \+\_\+multi\+Use=false)}\label{a00309_a4b5051bb57cae96498b2c6baeb7fc0f4}

\item 
\hypertarget{a00309_abf97ca9375dac63e34207036a8e28413}{void {\bfseries add\+Context\+Menu\+Item} (Q\+Action $\ast$\+\_\+action, \hyperlink{a00477}{Data\+Type} \+\_\+object\+Type, \hyperlink{a02438_a238952a111d7daede783625350d7b287}{Context\+Menu\+Type} \+\_\+type)}\label{a00309_abf97ca9375dac63e34207036a8e28413}

\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{a00309_a23ca8f00e652a2d0086441386e7bb4dc}{create\+Backup} (int \+\_\+object\+Id, Q\+String \+\_\+name, \hyperlink{a01393}{Update\+Type} \+\_\+type=\hyperlink{a03407_ga4ce39b8d60eb78ada5080d032c9463a8}{U\+P\+D\+A\+T\+E\+\_\+\+A\+L\+L})
\begin{DoxyCompactList}\small\item\em Tell Backup Plugin to create a backup. \end{DoxyCompactList}\item 
Q\+String \hyperlink{a00309_aaec31b37ba14860a2dc119a6a4230c98}{name} ()
\begin{DoxyCompactList}\small\item\em Return a name for the plugin. \end{DoxyCompactList}\item 
Q\+String \hyperlink{a00309_a1cc5be1b47d6d185d4e5e188f04016d1}{description} ()
\begin{DoxyCompactList}\small\item\em Return a description of what the plugin is doing. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Slots}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00309_a908f6bc346253862cbde322358e42727}{void {\bfseries initialize\+Plugin} ()}\label{a00309_a908f6bc346253862cbde322358e42727}

\item 
\hypertarget{a00309_aca1470c00dc7a8dc038555e59b3f95a3}{void {\bfseries plugins\+Initialized} ()}\label{a00309_aca1470c00dc7a8dc038555e59b3f95a3}

\item 
\hypertarget{a00309_a08e4880d1cf67abf0475badc41194ece}{void {\bfseries slot\+All\+Cleared} ()}\label{a00309_a08e4880d1cf67abf0475badc41194ece}

\item 
\hypertarget{a00309_a21c0064cb6f3f88e93ee1bba4e5689cd}{void {\bfseries slot\+Key\+Event} (Q\+Key\+Event $\ast$\+\_\+event)}\label{a00309_a21c0064cb6f3f88e93ee1bba4e5689cd}

\item 
\hypertarget{a00309_a43efe182a7728bb8b63dd01c4720c378}{void {\bfseries object\+Deleted} (int \+\_\+objectid)}\label{a00309_a43efe182a7728bb8b63dd01c4720c378}

\item 
\hypertarget{a00309_aa591179279959738c29ed1387699c703}{void {\bfseries slot\+Create\+Backup} (int \+\_\+objectid, Q\+String \+\_\+name, \hyperlink{a01393}{Update\+Type} \+\_\+type=\hyperlink{a03407_ga4ce39b8d60eb78ada5080d032c9463a8}{U\+P\+D\+A\+T\+E\+\_\+\+A\+L\+L})}\label{a00309_aa591179279959738c29ed1387699c703}

\item 
\hypertarget{a00309_ab3972e0f5ccf29b8824030347ea57a3c}{void {\bfseries slot\+Create\+Backup} (\hyperlink{a02488_af4b4959090eb91720b2f1f4bd6131cfb}{Id\+List} \+\_\+objectids, Q\+String \+\_\+name, std\+::vector$<$ \hyperlink{a01393}{Update\+Type} $>$ \+\_\+types)}\label{a00309_ab3972e0f5ccf29b8824030347ea57a3c}

\item 
\hypertarget{a00309_a94c1f869733386f7336aad9c0f3bc090}{void {\bfseries slot\+Undo} (int \+\_\+objectid)}\label{a00309_a94c1f869733386f7336aad9c0f3bc090}

\item 
\hypertarget{a00309_a82d48223a7a0499b40e2e4d4c98a8792}{void {\bfseries slot\+Redo} (int \+\_\+objectid)}\label{a00309_a82d48223a7a0499b40e2e4d4c98a8792}

\item 
\hypertarget{a00309_abe9fb391a120c3d0ae9d6abd3badc6bc}{void {\bfseries slot\+Undo} ()}\label{a00309_abe9fb391a120c3d0ae9d6abd3badc6bc}

\item 
\hypertarget{a00309_aa1d5d75f0496cd20f1f2ef98a5aec99c}{void {\bfseries slot\+Redo} ()}\label{a00309_aa1d5d75f0496cd20f1f2ef98a5aec99c}

\item 
\hypertarget{a00309_a112daf7acf1695bf5ae64c5b9a38111d}{void {\bfseries slot\+Update\+Context\+Menu} (int \+\_\+object\+Id)}\label{a00309_a112daf7acf1695bf5ae64c5b9a38111d}

\item 
\hypertarget{a00309_ad4a26ea09c7cc1da670540b1470892f8}{bool {\bfseries initialize\+Options\+Widget} (Q\+Widget $\ast$\&\+\_\+widget)}\label{a00309_ad4a26ea09c7cc1da670540b1470892f8}

\item 
\hypertarget{a00309_a8d16f8aeda9e98dda9f5a487263fb801}{void {\bfseries apply\+Options} ()}\label{a00309_a8d16f8aeda9e98dda9f5a487263fb801}

\item 
\hypertarget{a00309_aa67871916e5f734855802bae2266bb18}{void {\bfseries update\+Buttons} ()}\label{a00309_aa67871916e5f734855802bae2266bb18}

\item 
\hypertarget{a00309_a68a454232a5b2b94a7fd540580459218}{void \hyperlink{a00309_a68a454232a5b2b94a7fd540580459218}{slot\+Enable\+Disable\+Backups} ()}\label{a00309_a68a454232a5b2b94a7fd540580459218}

\begin{DoxyCompactList}\small\item\em Backups enabled or disabled checkbox. \end{DoxyCompactList}\item 
\hypertarget{a00309_a6ee95f73c368ba999aab376e7e0321d4}{void {\bfseries slot\+Object\+Undo} ()}\label{a00309_a6ee95f73c368ba999aab376e7e0321d4}

\item 
\hypertarget{a00309_add5876c6ec0065147acb55db11fd7767}{void {\bfseries slot\+Object\+Redo} ()}\label{a00309_add5876c6ec0065147acb55db11fd7767}

\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00309_aa5defa70298cd42f572f4ee92a2eeb0d}{\hyperlink{a00662}{Group\+Data} {\bfseries global\+Backup\+\_\+}}\label{a00309_aa5defa70298cd42f572f4ee92a2eeb0d}

\item 
\hypertarget{a00309_aaa1367fa3e80aa37979b752d6d9e1fcb}{Q\+Menu $\ast$ \hyperlink{a00309_aaa1367fa3e80aa37979b752d6d9e1fcb}{backup\+Menu\+\_\+}}\label{a00309_aaa1367fa3e80aa37979b752d6d9e1fcb}

\begin{DoxyCompactList}\small\item\em The backup \hyperlink{a00802}{Menu}. \end{DoxyCompactList}\item 
\hypertarget{a00309_a73d4eb5e4a967d7be83b0d1dbe16ef83}{Q\+Action $\ast$ {\bfseries backups\+Enabled\+Action\+\_\+}}\label{a00309_a73d4eb5e4a967d7be83b0d1dbe16ef83}

\item 
\hypertarget{a00309_aca737f38921933960c78509a8283a587}{Q\+Action $\ast$ {\bfseries undo\+Menu\+Action\+\_\+}}\label{a00309_aca737f38921933960c78509a8283a587}

\item 
\hypertarget{a00309_aa6f4040ea9fde94487360f6afe991749}{Q\+Action $\ast$ {\bfseries redo\+Menu\+Action\+\_\+}}\label{a00309_aa6f4040ea9fde94487360f6afe991749}

\item 
\hypertarget{a00309_a4beb0e4b2708621fcc9dfd5db576e9da}{Q\+Action $\ast$ {\bfseries undo\+Tool\+Action\+\_\+}}\label{a00309_a4beb0e4b2708621fcc9dfd5db576e9da}

\item 
\hypertarget{a00309_a52fb0d30577ec11bc87503364b8289b7}{Q\+Action $\ast$ {\bfseries redo\+Tool\+Action\+\_\+}}\label{a00309_a52fb0d30577ec11bc87503364b8289b7}

\item 
\hypertarget{a00309_a563c47035d28ae87c4711806abe87034}{Q\+Action $\ast$ {\bfseries undo\+Context\+Action\+\_\+}}\label{a00309_a563c47035d28ae87c4711806abe87034}

\item 
\hypertarget{a00309_a1d224432c9ff939d128da9e38f4b9ac5}{Q\+Action $\ast$ {\bfseries redo\+Context\+Action\+\_\+}}\label{a00309_a1d224432c9ff939d128da9e38f4b9ac5}

\item 
\hypertarget{a00309_aae8558dc4a1316d36f33e21c1c43ca61}{Q\+Spin\+Box $\ast$ {\bfseries max\+Backup\+Spin\+Box\+\_\+}}\label{a00309_aae8558dc4a1316d36f33e21c1c43ca61}

\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}


Definition at line 69 of file Backup\+Plugin.\+hh.



\subsection{Member Function Documentation}
\hypertarget{a00309_a23ca8f00e652a2d0086441386e7bb4dc}{\index{Backup\+Plugin@{Backup\+Plugin}!create\+Backup@{create\+Backup}}
\index{create\+Backup@{create\+Backup}!Backup\+Plugin@{Backup\+Plugin}}
\subsubsection[{create\+Backup}]{\setlength{\rightskip}{0pt plus 5cm}void Backup\+Plugin\+::create\+Backup (
\begin{DoxyParamCaption}
\item[{int}]{\+\_\+objectid, }
\item[{Q\+String}]{\+\_\+name, }
\item[{{\bf Update\+Type}}]{\+\_\+type = {\ttfamily {\bf U\+P\+D\+A\+T\+E\+\_\+\+A\+L\+L}}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{a00309_a23ca8f00e652a2d0086441386e7bb4dc}


Tell Backup Plugin to create a backup. 

Plugins which supports backups can call this function if they want to create backups.~\newline
A Backup control Plugin will do the rest.


\begin{DoxyParams}{Parameters}
{\em \+\_\+objectid} & Identifier of the object to create the backup \\
\hline
{\em \+\_\+name} & Name of the Backup, to show the user what can be recovered \\
\hline
{\em \+\_\+type} & The type of the backup (e.\+g. U\+P\+D\+A\+T\+E\+\_\+\+S\+E\+L\+E\+C\+T\+I\+O\+N) \\
\hline
\end{DoxyParams}


Reimplemented from \hyperlink{a00308_a9fbd0ffaeb95aa9bb2bc508e606501b6}{Backup\+Interface}.



Definition at line 435 of file Backup\+Plugin.\+cc.

\hypertarget{a00309_a1cc5be1b47d6d185d4e5e188f04016d1}{\index{Backup\+Plugin@{Backup\+Plugin}!description@{description}}
\index{description@{description}!Backup\+Plugin@{Backup\+Plugin}}
\subsubsection[{description}]{\setlength{\rightskip}{0pt plus 5cm}Q\+String Backup\+Plugin\+::description (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{a00309_a1cc5be1b47d6d185d4e5e188f04016d1}


Return a description of what the plugin is doing. 

This function has to return a basic description of the plugin 

Implements \hyperlink{a00322_a43f0d3612695b53c848c14f48fea9a7a}{Base\+Interface}.



Definition at line 168 of file Backup\+Plugin.\+hh.

\hypertarget{a00309_aaec31b37ba14860a2dc119a6a4230c98}{\index{Backup\+Plugin@{Backup\+Plugin}!name@{name}}
\index{name@{name}!Backup\+Plugin@{Backup\+Plugin}}
\subsubsection[{name}]{\setlength{\rightskip}{0pt plus 5cm}Q\+String Backup\+Plugin\+::name (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{a00309_aaec31b37ba14860a2dc119a6a4230c98}


Return a name for the plugin. 

This Function has to return the name of the plugin. 

Implements \hyperlink{a00322_a2b351aa6ef0eb368bce735e243235958}{Base\+Interface}.



Definition at line 167 of file Backup\+Plugin.\+hh.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
Plugin-\/\+Backup/Backup\+Plugin.\+hh\item 
Plugin-\/\+Backup/Backup\+Plugin.\+cc\end{DoxyCompactItemize}
