\hypertarget{a10048}{}\section{Backup\+Plugin Class Reference}
\label{a10048}\index{Backup\+Plugin@{Backup\+Plugin}}
Inheritance diagram for Backup\+Plugin\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=11.000000cm]{a10048}
\end{center}
\end{figure}
\subsection*{Public Slots}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a10048_a6a3dd98333a17d9095cad3c49cc264fb}\label{a10048_a6a3dd98333a17d9095cad3c49cc264fb}} 
Q\+String {\bfseries version} ()
\end{DoxyCompactItemize}
\subsection*{Signals}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a10048_a8bc00a5422d22f948bc9977463343349}\label{a10048_a8bc00a5422d22f948bc9977463343349}} 
void {\bfseries update\+View} ()
\item 
\mbox{\Hypertarget{a10048_ad81c0491892a0f45884de1a58672d6f0}\label{a10048_ad81c0491892a0f45884de1a58672d6f0}} 
void {\bfseries updated\+Object} (int \+\_\+identifier, const \hyperlink{a07096}{Update\+Type} \&\+\_\+type)
\item 
\mbox{\Hypertarget{a10048_a43b54d99e2b8a8d31750ac2edbcf9bae}\label{a10048_a43b54d99e2b8a8d31750ac2edbcf9bae}} 
void {\bfseries set\+Slot\+Description} (Q\+String \+\_\+slot\+Name, Q\+String \+\_\+slot\+Description, Q\+String\+List \+\_\+parameters, Q\+String\+List \+\_\+descriptions)
\item 
\mbox{\Hypertarget{a10048_a261645574b95cc25d0f4ba3d65e48fce}\label{a10048_a261645574b95cc25d0f4ba3d65e48fce}} 
void {\bfseries log} (\hyperlink{a00035_a595b2880f3ae74561ba390e3fd8c0e7c}{Logtype} \+\_\+type, Q\+String \+\_\+message)
\item 
\mbox{\Hypertarget{a10048_a03dc3678009a57872fadeb61bc421ae7}\label{a10048_a03dc3678009a57872fadeb61bc421ae7}} 
void {\bfseries log} (Q\+String \+\_\+message)
\item 
\mbox{\Hypertarget{a10048_a996ac01fb4f00d8f4965ad59a4008545}\label{a10048_a996ac01fb4f00d8f4965ad59a4008545}} 
void {\bfseries get\+Menubar\+Menu} (Q\+String \+\_\+name, Q\+Menu $\ast$\&\+\_\+menu, bool \+\_\+create)
\item 
\mbox{\Hypertarget{a10048_a65c182f4dd84e5518d559bd501616b7b}\label{a10048_a65c182f4dd84e5518d559bd501616b7b}} 
void {\bfseries undo} (int \+\_\+objectid)
\item 
\mbox{\Hypertarget{a10048_a156f40c1a3d3064fad43488fa9f44352}\label{a10048_a156f40c1a3d3064fad43488fa9f44352}} 
void {\bfseries undo} ()
\item 
\mbox{\Hypertarget{a10048_a01390fbb18c99e787b5326ebe4fb2549}\label{a10048_a01390fbb18c99e787b5326ebe4fb2549}} 
void {\bfseries redo} (int \+\_\+objectid)
\item 
\mbox{\Hypertarget{a10048_a70d251912a5a292670afcabc76c2c075}\label{a10048_a70d251912a5a292670afcabc76c2c075}} 
void {\bfseries redo} ()
\item 
\mbox{\Hypertarget{a10048_a0b32cca470dabd60cd5a93f92ac5d2b9}\label{a10048_a0b32cca470dabd60cd5a93f92ac5d2b9}} 
void {\bfseries about\+To\+Restore} (int \+\_\+objectid)
\item 
\mbox{\Hypertarget{a10048_a22c1e594423e7353268245502141bf69}\label{a10048_a22c1e594423e7353268245502141bf69}} 
void {\bfseries restored} (int \+\_\+objectid)
\item 
\mbox{\Hypertarget{a10048_a02028360ff6ab5afbbafd656855f2cf5}\label{a10048_a02028360ff6ab5afbbafd656855f2cf5}} 
void {\bfseries generate\+Backup} (int \+\_\+id, Q\+String \+\_\+name, \hyperlink{a07096}{Update\+Type} \+\_\+type)
\item 
\mbox{\Hypertarget{a10048_a28f91cef75263fadb33a8196efd9dc89}\label{a10048_a28f91cef75263fadb33a8196efd9dc89}} 
void {\bfseries add\+Toolbar} (Q\+Tool\+Bar $\ast$\+\_\+toolbar)
\item 
\mbox{\Hypertarget{a10048_a50702c25f2e858c6e31d4e3bc8bc91c1}\label{a10048_a50702c25f2e858c6e31d4e3bc8bc91c1}} 
void {\bfseries get\+Tool\+Bar} (Q\+String \+\_\+name, Q\+Tool\+Bar $\ast$\&\+\_\+toolbar)
\item 
\mbox{\Hypertarget{a10048_a4b5051bb57cae96498b2c6baeb7fc0f4}\label{a10048_a4b5051bb57cae96498b2c6baeb7fc0f4}} 
void {\bfseries register\+Key} (int \+\_\+key, Qt\+::\+Keyboard\+Modifiers \+\_\+modifiers, Q\+String \+\_\+description, bool \+\_\+multi\+Use=false)
\item 
\mbox{\Hypertarget{a10048_abf97ca9375dac63e34207036a8e28413}\label{a10048_abf97ca9375dac63e34207036a8e28413}} 
void {\bfseries add\+Context\+Menu\+Item} (Q\+Action $\ast$\+\_\+action, \hyperlink{a07048}{Data\+Type} \+\_\+object\+Type, \hyperlink{a00017_a238952a111d7daede783625350d7b287}{Context\+Menu\+Type} \+\_\+type)
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{a10048_a23ca8f00e652a2d0086441386e7bb4dc}{create\+Backup} (int \+\_\+object\+Id, Q\+String \+\_\+name, \hyperlink{a07096}{Update\+Type} \+\_\+type=\hyperlink{a06166_ga4ce39b8d60eb78ada5080d032c9463a8}{U\+P\+D\+A\+T\+E\+\_\+\+A\+LL})
\begin{DoxyCompactList}\small\item\em Tell Backup Plugin to create a backup. \end{DoxyCompactList}\item 
Q\+String \hyperlink{a10048_aaec31b37ba14860a2dc119a6a4230c98}{name} ()
\begin{DoxyCompactList}\small\item\em Return a name for the plugin. \end{DoxyCompactList}\item 
Q\+String \hyperlink{a10048_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 
\mbox{\Hypertarget{a10048_a908f6bc346253862cbde322358e42727}\label{a10048_a908f6bc346253862cbde322358e42727}} 
void {\bfseries initialize\+Plugin} ()
\item 
\mbox{\Hypertarget{a10048_aca1470c00dc7a8dc038555e59b3f95a3}\label{a10048_aca1470c00dc7a8dc038555e59b3f95a3}} 
void {\bfseries plugins\+Initialized} ()
\item 
\mbox{\Hypertarget{a10048_a08e4880d1cf67abf0475badc41194ece}\label{a10048_a08e4880d1cf67abf0475badc41194ece}} 
void {\bfseries slot\+All\+Cleared} ()
\item 
\mbox{\Hypertarget{a10048_a21c0064cb6f3f88e93ee1bba4e5689cd}\label{a10048_a21c0064cb6f3f88e93ee1bba4e5689cd}} 
void {\bfseries slot\+Key\+Event} (Q\+Key\+Event $\ast$\+\_\+event)
\item 
\mbox{\Hypertarget{a10048_a43efe182a7728bb8b63dd01c4720c378}\label{a10048_a43efe182a7728bb8b63dd01c4720c378}} 
void {\bfseries object\+Deleted} (int \+\_\+objectid)
\item 
\mbox{\Hypertarget{a10048_aa591179279959738c29ed1387699c703}\label{a10048_aa591179279959738c29ed1387699c703}} 
void {\bfseries slot\+Create\+Backup} (int \+\_\+objectid, Q\+String \+\_\+name, \hyperlink{a07096}{Update\+Type} \+\_\+type=\hyperlink{a06166_ga4ce39b8d60eb78ada5080d032c9463a8}{U\+P\+D\+A\+T\+E\+\_\+\+A\+LL})
\item 
\mbox{\Hypertarget{a10048_ab3972e0f5ccf29b8824030347ea57a3c}\label{a10048_ab3972e0f5ccf29b8824030347ea57a3c}} 
void {\bfseries slot\+Create\+Backup} (\hyperlink{a00188_af4b4959090eb91720b2f1f4bd6131cfb}{Id\+List} \+\_\+objectids, Q\+String \+\_\+name, std\+::vector$<$ \hyperlink{a07096}{Update\+Type} $>$ \+\_\+types)
\item 
\mbox{\Hypertarget{a10048_a94c1f869733386f7336aad9c0f3bc090}\label{a10048_a94c1f869733386f7336aad9c0f3bc090}} 
void {\bfseries slot\+Undo} (int \+\_\+objectid)
\item 
\mbox{\Hypertarget{a10048_a82d48223a7a0499b40e2e4d4c98a8792}\label{a10048_a82d48223a7a0499b40e2e4d4c98a8792}} 
void {\bfseries slot\+Redo} (int \+\_\+objectid)
\item 
\mbox{\Hypertarget{a10048_abe9fb391a120c3d0ae9d6abd3badc6bc}\label{a10048_abe9fb391a120c3d0ae9d6abd3badc6bc}} 
void {\bfseries slot\+Undo} ()
\item 
\mbox{\Hypertarget{a10048_aa1d5d75f0496cd20f1f2ef98a5aec99c}\label{a10048_aa1d5d75f0496cd20f1f2ef98a5aec99c}} 
void {\bfseries slot\+Redo} ()
\item 
\mbox{\Hypertarget{a10048_a112daf7acf1695bf5ae64c5b9a38111d}\label{a10048_a112daf7acf1695bf5ae64c5b9a38111d}} 
void {\bfseries slot\+Update\+Context\+Menu} (int \+\_\+object\+Id)
\item 
\mbox{\Hypertarget{a10048_ad4a26ea09c7cc1da670540b1470892f8}\label{a10048_ad4a26ea09c7cc1da670540b1470892f8}} 
bool {\bfseries initialize\+Options\+Widget} (Q\+Widget $\ast$\&\+\_\+widget)
\item 
\mbox{\Hypertarget{a10048_a8d16f8aeda9e98dda9f5a487263fb801}\label{a10048_a8d16f8aeda9e98dda9f5a487263fb801}} 
void {\bfseries apply\+Options} ()
\item 
\mbox{\Hypertarget{a10048_aa67871916e5f734855802bae2266bb18}\label{a10048_aa67871916e5f734855802bae2266bb18}} 
void {\bfseries update\+Buttons} ()
\item 
\mbox{\Hypertarget{a10048_a68a454232a5b2b94a7fd540580459218}\label{a10048_a68a454232a5b2b94a7fd540580459218}} 
void \hyperlink{a10048_a68a454232a5b2b94a7fd540580459218}{slot\+Enable\+Disable\+Backups} ()
\begin{DoxyCompactList}\small\item\em Backups enabled or disabled checkbox. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a10048_a6ee95f73c368ba999aab376e7e0321d4}\label{a10048_a6ee95f73c368ba999aab376e7e0321d4}} 
void {\bfseries slot\+Object\+Undo} ()
\item 
\mbox{\Hypertarget{a10048_add5876c6ec0065147acb55db11fd7767}\label{a10048_add5876c6ec0065147acb55db11fd7767}} 
void {\bfseries slot\+Object\+Redo} ()
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a10048_aa5defa70298cd42f572f4ee92a2eeb0d}\label{a10048_aa5defa70298cd42f572f4ee92a2eeb0d}} 
\hyperlink{a10060}{Group\+Data} {\bfseries global\+Backup\+\_\+}
\item 
\mbox{\Hypertarget{a10048_aaa1367fa3e80aa37979b752d6d9e1fcb}\label{a10048_aaa1367fa3e80aa37979b752d6d9e1fcb}} 
Q\+Menu $\ast$ \hyperlink{a10048_aaa1367fa3e80aa37979b752d6d9e1fcb}{backup\+Menu\+\_\+}
\begin{DoxyCompactList}\small\item\em The backup \hyperlink{a10084}{Menu}. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a10048_a73d4eb5e4a967d7be83b0d1dbe16ef83}\label{a10048_a73d4eb5e4a967d7be83b0d1dbe16ef83}} 
Q\+Action $\ast$ {\bfseries backups\+Enabled\+Action\+\_\+}
\item 
\mbox{\Hypertarget{a10048_aca737f38921933960c78509a8283a587}\label{a10048_aca737f38921933960c78509a8283a587}} 
Q\+Action $\ast$ {\bfseries undo\+Menu\+Action\+\_\+}
\item 
\mbox{\Hypertarget{a10048_aa6f4040ea9fde94487360f6afe991749}\label{a10048_aa6f4040ea9fde94487360f6afe991749}} 
Q\+Action $\ast$ {\bfseries redo\+Menu\+Action\+\_\+}
\item 
\mbox{\Hypertarget{a10048_a4beb0e4b2708621fcc9dfd5db576e9da}\label{a10048_a4beb0e4b2708621fcc9dfd5db576e9da}} 
Q\+Action $\ast$ {\bfseries undo\+Tool\+Action\+\_\+}
\item 
\mbox{\Hypertarget{a10048_a52fb0d30577ec11bc87503364b8289b7}\label{a10048_a52fb0d30577ec11bc87503364b8289b7}} 
Q\+Action $\ast$ {\bfseries redo\+Tool\+Action\+\_\+}
\item 
\mbox{\Hypertarget{a10048_a563c47035d28ae87c4711806abe87034}\label{a10048_a563c47035d28ae87c4711806abe87034}} 
Q\+Action $\ast$ {\bfseries undo\+Context\+Action\+\_\+}
\item 
\mbox{\Hypertarget{a10048_a1d224432c9ff939d128da9e38f4b9ac5}\label{a10048_a1d224432c9ff939d128da9e38f4b9ac5}} 
Q\+Action $\ast$ {\bfseries redo\+Context\+Action\+\_\+}
\item 
\mbox{\Hypertarget{a10048_aae8558dc4a1316d36f33e21c1c43ca61}\label{a10048_aae8558dc4a1316d36f33e21c1c43ca61}} 
Q\+Spin\+Box $\ast$ {\bfseries max\+Backup\+Spin\+Box\+\_\+}
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}


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



\subsection{Member Function Documentation}
\mbox{\Hypertarget{a10048_a23ca8f00e652a2d0086441386e7bb4dc}\label{a10048_a23ca8f00e652a2d0086441386e7bb4dc}} 
\index{Backup\+Plugin@{Backup\+Plugin}!create\+Backup@{create\+Backup}}
\index{create\+Backup@{create\+Backup}!Backup\+Plugin@{Backup\+Plugin}}
\subsubsection{\texorpdfstring{create\+Backup()}{createBackup()}}
{\footnotesize\ttfamily void Backup\+Plugin\+::create\+Backup (\begin{DoxyParamCaption}\item[{int}]{\+\_\+objectid,  }\item[{Q\+String}]{\+\_\+name,  }\item[{\hyperlink{a07096}{Update\+Type}}]{\+\_\+type = {\ttfamily \hyperlink{a06166_ga4ce39b8d60eb78ada5080d032c9463a8}{U\+P\+D\+A\+T\+E\+\_\+\+A\+LL}} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



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\+ON) \\
\hline
\end{DoxyParams}


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



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

\mbox{\Hypertarget{a10048_a1cc5be1b47d6d185d4e5e188f04016d1}\label{a10048_a1cc5be1b47d6d185d4e5e188f04016d1}} 
\index{Backup\+Plugin@{Backup\+Plugin}!description@{description}}
\index{description@{description}!Backup\+Plugin@{Backup\+Plugin}}
\subsubsection{\texorpdfstring{description()}{description()}}
{\footnotesize\ttfamily Q\+String Backup\+Plugin\+::description (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Return a description of what the plugin is doing. 

This function has to return a basic description of the plugin 

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



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

\mbox{\Hypertarget{a10048_aaec31b37ba14860a2dc119a6a4230c98}\label{a10048_aaec31b37ba14860a2dc119a6a4230c98}} 
\index{Backup\+Plugin@{Backup\+Plugin}!name@{name}}
\index{name@{name}!Backup\+Plugin@{Backup\+Plugin}}
\subsubsection{\texorpdfstring{name()}{name()}}
{\footnotesize\ttfamily Q\+String Backup\+Plugin\+::name (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Return a name for the plugin. 

This Function has to return the name of the plugin. 

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



Definition at line 157 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}
