• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdenetwork API Reference
  • KDE Home
  • Contact Us
 

krfb

  • sources
  • kde-4.14
  • kdenetwork
  • krfb
  • krfb
trayicon.h
Go to the documentation of this file.
1 /***************************************************************************
2  trayicon.h - description
3  -------------------
4  begin : Tue Dec 11 2001
5  copyright : (C) 2001-2002 by Tim Jansen
6  email : tim@tjansen.de
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 
18 #ifndef TRAYICON_H
19 #define TRAYICON_H
20 
21 #include <KStatusNotifierItem>
22 #include <KToggleAction>
23 
24 class KDialog;
25 class RfbClient;
26 class ClientActions;
27 
33 class TrayIcon : public KStatusNotifierItem
34 {
35  Q_OBJECT
36 public:
37  TrayIcon(QWidget *mainWindow);
38 
39 public Q_SLOTS:
40  void onClientConnected(RfbClient *client);
41  void onClientDisconnected(RfbClient *client);
42  void showAbout();
43 
44 private:
45  KAction *m_aboutAction;
46  QHash<RfbClient*, ClientActions*> m_clientActions;
47 };
48 
49 #endif
QWidget
TrayIcon
Implements the trayicon.
Definition: trayicon.h:33
TrayIcon::onClientConnected
void onClientConnected(RfbClient *client)
Definition: trayicon.cpp:113
QHash< RfbClient *, ClientActions * >
TrayIcon::onClientDisconnected
void onClientDisconnected(RfbClient *client)
Definition: trayicon.cpp:128
RfbClient
Definition: krfb/rfbclient.h:26
KStatusNotifierItem
TrayIcon::showAbout
void showAbout()
Definition: trayicon.cpp:145
TrayIcon::TrayIcon
TrayIcon(QWidget *mainWindow)
Definition: trayicon.cpp:96
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:29:40 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

krfb

Skip menu "krfb"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

kdenetwork API Reference

Skip menu "kdenetwork API Reference"
  • kget
  • kopete
  •   kopete
  •   libkopete
  • krdc
  • krfb

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal