KDE PIM / Developers / API Docs / kitchensync

KSync::KonnectorBar Class Reference

The konnector bar is meant to represent the connection state of a Konnector and allow toggling connection/disconnection of a konnector Either it is connected or not. More...

#include <konnectorbar.h>

Inherits QHBox.

List of all members.

Public Types

Signals

Public Member Functions


Detailed Description

The konnector bar is meant to represent the connection state of a Konnector and allow toggling connection/disconnection of a konnector Either it is connected or not.

Version:
0.1
Author:
Holger 'zecke' Freyther <freyther@kde.org>


Constructor & Destructor Documentation

KonnectorBar::KonnectorBar QWidget *  parent  ) 
 

The Constructor to construct a KonnectorBox Constructor.

Parameters:
parent The parent widget

KonnectorBar::~KonnectorBar  ) 
 

d'tor


Member Function Documentation

void KonnectorBar::setName const QString &  name  ) 
 

Set the name of the Konnector.

The string will be displayed

Parameters:
name The name of the Konnector

QString KonnectorBar::name  )  const
 

Return the name of the current Konnector.

Returns:
the name of the konnector

void KonnectorBar::setState bool  b  ) 
 

Set the state of the connection.

Parameters:
b The state true if connected, false if not connected

bool KonnectorBar::state  )  const
 

Returns:
the state

bool KonnectorBar::isOn  )  const
 

Returns:
if is connected

void KSync::KonnectorBar::toggled bool  b  )  [signal]
 

if the KonnectarBar got toggled

Parameters:
b the state of the connection

The documentation for this class was generated from the following files: