Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

KVNC Class Reference

#include </home/clem/local/src/opie/noncore/comm/keypebble/kvnc.h>

Collaboration diagram for KVNC:

Collaboration graph
[legend]
List of all members.

Public Slots

void newConnection ()
void deleteBookmark ()
void openConnection (QListBoxItem *)
void openConnection (QString)
void openConnection (void)
void toggleFullScreen ()
void closeConnection ()
static QString appName ()

Public Member Functions

 KVNC (QWidget *parent=0, const char *name=0, WFlags f=0)
 ~KVNC ()

Protected Slots

void showMenu ()
void connected ()
void loggedIn ()
void disconnected ()
void statusMessage (const QString &)
void error (const QString &)

Protected Member Functions

void setupActions ()

Private Attributes

bool fullscreen
KRFBCanvascanvas
QPopupMenu * cornerMenu
QPushButton * cornerButton
QAction * fullScreenAction
QAction * optionsAction
QAction * disconnectAction
QAction * ctlAltDelAction
QAction * connectAction
QAction * rightClickAction
QAction * doubleClickAction
QToolBar * bar
KVNCBookmarkDlgbookmarkSelector
QWidgetStack * stack
KRFBServercurServer

Detailed Description

Top level window for Keystone.

Author:
Richard Moore, rich@kde.org
Version:
Id
kvnc.h,v 1.5 2003/10/27 19:06:54 mickeyl Exp

Definition at line 22 of file kvnc.h.


Constructor & Destructor Documentation

KVNC::KVNC QWidget *  parent = 0,
const char *  name = 0,
WFlags  f = 0
 

Definition at line 48 of file kvnc.cpp.

References bar, bookmarkSelector, canvas, connected(), KRFBCanvas::connection(), cornerButton, d, deleteBookmark(), disconnected(), error(), fullscreen, get_unique_id(), Opie::Core::OResource::loadPixmap(), loggedIn(), menu_xpm, newConnection(), QString::null, o, openConnection(), setupActions(), showMenu(), Opie::Core::OResource::SmallIcon, stack, statusMessage(), and tr.

KVNC::~KVNC  ) 
 

Definition at line 109 of file kvnc.cpp.


Member Function Documentation

static QString KVNC::appName  )  [inline, static, slot]
 

Definition at line 37 of file kvnc.h.

References QString::fromLatin1().

void KVNC::closeConnection  )  [slot]
 

Definition at line 217 of file kvnc.cpp.

References canvas, KRFBCanvas::closeConnection(), fullscreen, and toggleFullScreen().

Referenced by setupActions().

void KVNC::connected  )  [protected, slot]
 

Definition at line 233 of file kvnc.cpp.

References bar, canvas, ctlAltDelAction, disconnectAction, doubleClickAction, fullScreenAction, rightClickAction, stack, statusMessage(), and tr.

Referenced by KVNC().

void KVNC::deleteBookmark  )  [slot]
 

Definition at line 278 of file kvnc.cpp.

References bookmarkSelector, KVNCBookmarkDlg::deleteBookmark(), and KVNCBookmarkDlg::selectedBookmark().

Referenced by KVNC().

void KVNC::disconnected  )  [protected, slot]
 

Definition at line 252 of file kvnc.cpp.

References bar, bookmarkSelector, ctlAltDelAction, disconnectAction, doubleClickAction, fullscreen, fullScreenAction, rightClickAction, stack, statusMessage(), toggleFullScreen(), and tr.

Referenced by KVNC().

void KVNC::error const QString  )  [protected, slot]
 

Definition at line 273 of file kvnc.cpp.

References statusMessage(), tr, and warning().

Referenced by KVNC().

void KVNC::loggedIn  )  [protected, slot]
 

Definition at line 246 of file kvnc.cpp.

References statusMessage(), and tr.

Referenced by KVNC().

void KVNC::newConnection  )  [slot]
 

Definition at line 114 of file kvnc.cpp.

References KVNCBookmarkDlg::addBookmark(), bookmarkSelector, canvas, curServer, QPEApplication::execDialog(), QString::isEmpty(), KRFBServer::name, and KRFBCanvas::openConnection().

Referenced by KVNC().

void KVNC::openConnection void   )  [slot]
 

Definition at line 141 of file kvnc.cpp.

References bookmarkSelector, and KVNCBookmarkDlg::selectedBookmark().

Referenced by KVNC(), and openConnection().

void KVNC::openConnection QString   )  [slot]
 

Definition at line 127 of file kvnc.cpp.

References bookmarkSelector, canvas, curServer, QPEApplication::execDialog(), KVNCBookmarkDlg::getServer(), KRFBCanvas::openConnection(), and KVNCBookmarkDlg::writeBookmarks().

void KVNC::openConnection QListBoxItem *   )  [slot]
 

Definition at line 146 of file kvnc.cpp.

References openConnection().

void KVNC::setupActions  )  [protected]
 

Definition at line 152 of file kvnc.cpp.

References canvas, closeConnection(), cornerMenu, ctlAltDelAction, disconnectAction, doubleClickAction, fullScreenAction, QString::null, rightClickAction, toggleFullScreen(), and tr.

Referenced by KVNC().

void KVNC::showMenu  )  [protected, slot]
 

Definition at line 224 of file kvnc.cpp.

References cornerButton, cornerMenu, and s.

Referenced by KVNC().

void KVNC::statusMessage const QString  )  [protected, slot]
 

Definition at line 268 of file kvnc.cpp.

References Global::statusMessage().

Referenced by connected(), disconnected(), error(), KVNC(), and loggedIn().

void KVNC::toggleFullScreen  )  [slot]
 

Definition at line 187 of file kvnc.cpp.

References canvas, fullscreen, fullScreenAction, get_unique_id(), qApp, stack, and tr.

Referenced by closeConnection(), disconnected(), and setupActions().


Member Data Documentation

QToolBar* KVNC::bar [private]
 

Definition at line 63 of file kvnc.h.

Referenced by connected(), disconnected(), and KVNC().

KVNCBookmarkDlg* KVNC::bookmarkSelector [private]
 

Definition at line 65 of file kvnc.h.

Referenced by deleteBookmark(), disconnected(), KVNC(), newConnection(), and openConnection().

KRFBCanvas* KVNC::canvas [private]
 

Definition at line 53 of file kvnc.h.

Referenced by closeConnection(), connected(), KVNC(), newConnection(), openConnection(), setupActions(), and toggleFullScreen().

QAction* KVNC::connectAction [private]
 

Definition at line 59 of file kvnc.h.

QPushButton* KVNC::cornerButton [private]
 

Definition at line 55 of file kvnc.h.

Referenced by KVNC(), and showMenu().

QPopupMenu* KVNC::cornerMenu [private]
 

Definition at line 54 of file kvnc.h.

Referenced by setupActions(), and showMenu().

QAction* KVNC::ctlAltDelAction [private]
 

Definition at line 59 of file kvnc.h.

Referenced by connected(), disconnected(), and setupActions().

KRFBServer* KVNC::curServer [private]
 

Definition at line 67 of file kvnc.h.

Referenced by newConnection(), and openConnection().

QAction* KVNC::disconnectAction [private]
 

Definition at line 58 of file kvnc.h.

Referenced by connected(), disconnected(), and setupActions().

QAction* KVNC::doubleClickAction [private]
 

Definition at line 62 of file kvnc.h.

Referenced by connected(), disconnected(), and setupActions().

bool KVNC::fullscreen [private]
 

Definition at line 52 of file kvnc.h.

Referenced by closeConnection(), disconnected(), KVNC(), and toggleFullScreen().

QAction* KVNC::fullScreenAction [private]
 

Definition at line 56 of file kvnc.h.

Referenced by connected(), disconnected(), setupActions(), and toggleFullScreen().

QAction* KVNC::optionsAction [private]
 

Definition at line 57 of file kvnc.h.

QAction* KVNC::rightClickAction [private]
 

Definition at line 61 of file kvnc.h.

Referenced by connected(), disconnected(), and setupActions().

QWidgetStack* KVNC::stack [private]
 

Definition at line 66 of file kvnc.h.

Referenced by connected(), disconnected(), KVNC(), and toggleFullScreen().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:38:10 2005 for OPIE by  doxygen 1.4.2