\section{KClipboard\-Synchronizer Class Reference}
\label{classKClipboardSynchronizer}\index{KClipboardSynchronizer@{KClipboardSynchronizer}}
This class is only for internal use. Allowing to automatically synchronize the X11 Clipboard and Selection buffers.  


{\tt \#include $<$kclipboard.h$>$}

Inheritance diagram for KClipboard\-Synchronizer:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=84pt]{classKClipboardSynchronizer__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KClipboard\-Synchronizer:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=112pt]{classKClipboardSynchronizer__coll__graph}
\end{center}
\end{figure}
\subsection*{Static Public Member Functions}
\begin{CompactItemize}
\item 
{\bf KClipboard\-Synchronizer} $\ast$ {\bf self} ()
\begin{CompactList}\small\item\em Returns the KClipboard\-Synchronizer singleton object. \item\end{CompactList}\item 
void {\bf set\-Synchronizing} (bool sync)
\begin{CompactList}\small\item\em Configures KClipboard\-Synchronizer to synchronize the Selection to Clipboard whenever it changes. \item\end{CompactList}\item 
bool {\bf is\-Synchronizing} ()
\begin{CompactList}\small\item\em Checks whether Clipboard and Selection will be synchronized upon changes. \item\end{CompactList}\item 
void {\bf set\-Reverse\-Synchronizing} (bool enable)
\begin{CompactList}\small\item\em Configures KClipboard\-Synchronizer to copy the Clipboard buffer to the Selection buffer whenever the Clipboard changes. \item\end{CompactList}\item 
bool {\bf is\-Reverse\-Synchronizing} ()
\begin{CompactList}\small\item\em Checks whether the Clipboard buffer will be copied to the Selection buffer upon changes. \item\end{CompactList}\end{CompactItemize}
\subsection*{Friends}
\begin{CompactItemize}
\item 
class {\bf Klipper\-Widget}\label{classKClipboardSynchronizer_n0}

\item 
class {\bf KApplication}\label{classKClipboardSynchronizer_n1}

\end{CompactItemize}


\subsection{Detailed Description}
This class is only for internal use. Allowing to automatically synchronize the X11 Clipboard and Selection buffers. 

\begin{Desc}
\item[Author:]Carsten Pfeiffer $<${\tt pfeiffer@kde.org}$>$ \end{Desc}
\begin{Desc}
\item[Since:]3.1 \end{Desc}




Definition at line 34 of file kclipboard.h.

\subsection{Member Function Documentation}
\index{KClipboardSynchronizer@{KClipboard\-Synchronizer}!self@{self}}
\index{self@{self}!KClipboardSynchronizer@{KClipboard\-Synchronizer}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KClipboard\-Synchronizer} $\ast$ KClipboard\-Synchronizer::self ()\hspace{0.3cm}{\tt  [static]}}\label{classKClipboardSynchronizer_e0}


Returns the KClipboard\-Synchronizer singleton object. 

\begin{Desc}
\item[Returns:]the KClipboard\-Synchronizer singleton object. \end{Desc}


Definition at line 103 of file kclipboard.cpp.

Referenced by set\-Reverse\-Synchronizing(), and set\-Synchronizing().\index{KClipboardSynchronizer@{KClipboard\-Synchronizer}!setSynchronizing@{setSynchronizing}}
\index{setSynchronizing@{setSynchronizing}!KClipboardSynchronizer@{KClipboard\-Synchronizer}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KClipboard\-Synchronizer::set\-Synchronizing (bool {\em sync})\hspace{0.3cm}{\tt  [static]}}\label{classKClipboardSynchronizer_e1}


Configures KClipboard\-Synchronizer to synchronize the Selection to Clipboard whenever it changes. 

Default is false. \begin{Desc}
\item[See also:]{\bf is\-Synchronizing}{\rm (p.\,\pageref{classKClipboardSynchronizer_e2})} \end{Desc}


Definition at line 186 of file kclipboard.cpp.

References self(), and setup\-Signals().\index{KClipboardSynchronizer@{KClipboard\-Synchronizer}!isSynchronizing@{isSynchronizing}}
\index{isSynchronizing@{isSynchronizing}!KClipboardSynchronizer@{KClipboard\-Synchronizer}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KClipboard\-Synchronizer::is\-Synchronizing ()\hspace{0.3cm}{\tt  [inline, static]}}\label{classKClipboardSynchronizer_e2}


Checks whether Clipboard and Selection will be synchronized upon changes. 

\begin{Desc}
\item[Returns:]whether Clipboard and Selection will be synchronized upon changes. \end{Desc}
\begin{Desc}
\item[See also:]{\bf set\-Synchronizing}{\rm (p.\,\pageref{classKClipboardSynchronizer_e1})} \end{Desc}


Definition at line 63 of file kclipboard.h.\index{KClipboardSynchronizer@{KClipboard\-Synchronizer}!setReverseSynchronizing@{setReverseSynchronizing}}
\index{setReverseSynchronizing@{setReverseSynchronizing}!KClipboardSynchronizer@{KClipboard\-Synchronizer}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KClipboard\-Synchronizer::set\-Reverse\-Synchronizing (bool {\em enable})\hspace{0.3cm}{\tt  [static]}}\label{classKClipboardSynchronizer_e3}


Configures KClipboard\-Synchronizer to copy the Clipboard buffer to the Selection buffer whenever the Clipboard changes. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em enable}]true to enable implicit selection, false otherwise. Default is true. \end{description}
\end{Desc}
\begin{Desc}
\item[See also:]\#selection\-Setting \end{Desc}


Definition at line 192 of file kclipboard.cpp.

References self(), and setup\-Signals().\index{KClipboardSynchronizer@{KClipboard\-Synchronizer}!isReverseSynchronizing@{isReverseSynchronizing}}
\index{isReverseSynchronizing@{isReverseSynchronizing}!KClipboardSynchronizer@{KClipboard\-Synchronizer}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KClipboard\-Synchronizer::is\-Reverse\-Synchronizing ()\hspace{0.3cm}{\tt  [inline, static]}}\label{classKClipboardSynchronizer_e4}


Checks whether the Clipboard buffer will be copied to the Selection buffer upon changes. 

\begin{Desc}
\item[Returns:]whether the Clipboard buffer will be copied to the Selection buffer upon changes. \end{Desc}
\begin{Desc}
\item[See also:]\#set\-Selection\-Setting \end{Desc}


Definition at line 86 of file kclipboard.h.

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
kclipboard.h\item 
kclipboard.cpp\end{CompactItemize}
