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

jovie

  • sources
  • kde-4.12
  • kdeaccessibility
  • jovie
  • jovie
jovietrayicon.h
Go to the documentation of this file.
1 /***************************************************** vim:set ts=4 sw=4 sts=4:
2  JovieTrayIcon tray icon for jovie text to speech service
3  -------------------------------
4  Copyright 2004-2006 by Gary Cramblitt <garycramblitt@comcast.net>
5  Copyright 2010 by Jeremy Whiting <jpwhiting@kde.org>
6 
7  -------------------
8  Original author: Gary Cramblitt <garycramblitt@comcast.net>
9  Current Maintainer: Jeremy Whiting <jpwhiting@kde.org>
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  This program is distributed in the hope that it will be useful,
17  but WITHOUT ANY WARRANTY; without even the implied warranty of
18  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19  GNU General Public License for more details.
20 
21  You should have received a copy of the GNU General Public License
22  along with this program; if not, write to the Free Software
23  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
24  ******************************************************************************/
25 
26 #ifndef _JOVIETRAYICON_H
27 #define _JOVIETRAYICON_H
28 
29 // KDE includes.
30 #include <kmenu.h>
31 #include <kstatusnotifieritem.h>
32 #include "talkercode.h"
33 #include "talkerlistmodel.h"
34 class QEvent;
35 class KAction;
36 
37 class JovieTrayIcon: public KStatusNotifierItem
38 {
39  Q_OBJECT
40 
41  public:
42  explicit JovieTrayIcon(QWidget *parent=0);
43  ~JovieTrayIcon();
44 
45  protected Q_SLOTS:
46  void slotActivateRequested(bool active, const QPoint &pos);
47  virtual void contextMenuAboutToShow();
48  void slotUpdateTalkersMenu();
49 
50  private slots:
51 
52  void speakClipboardSelected();
53  void stopSelected();
54  void pauseSelected();
55  void resumeSelected();
56  void repeatSelected();
57  void configureSelected();
58  void configureKeysSelected();
59  void aboutSelected();
60  void helpSelected();
61  void talkerSelected();
62  private:
63  void setupIcons();
64  KAction* actStop;
65  KAction* actPause;
66  KAction* actResume;
67  KAction* actRepeat;
68  KAction* actSpeakClipboard;
69  KAction* actConfigure;
70  QMenu* talkersMenu;
71  friend class Jovie;
72 };
73 
74 #endif // _JOVIETRAYICON_H
JovieTrayIcon::~JovieTrayIcon
~JovieTrayIcon()
Definition: jovietrayicon.cpp:126
QWidget
Jovie
Jovie – the KDE Text-to-Speech API.
Definition: jovie.h:46
talkercode.h
JovieTrayIcon::slotActivateRequested
void slotActivateRequested(bool active, const QPoint &pos)
Definition: jovietrayicon.cpp:152
JovieTrayIcon::JovieTrayIcon
JovieTrayIcon(QWidget *parent=0)
Definition: jovietrayicon.cpp:56
talkerlistmodel.h
JovieTrayIcon
Definition: jovietrayicon.h:37
JovieTrayIcon::contextMenuAboutToShow
virtual void contextMenuAboutToShow()
Definition: jovietrayicon.cpp:167
KStatusNotifierItem
JovieTrayIcon::slotUpdateTalkersMenu
void slotUpdateTalkersMenu()
Definition: jovietrayicon.cpp:130
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:32:25 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

jovie

Skip menu "jovie"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdeaccessibility API Reference

Skip menu "kdeaccessibility API Reference"
  • jovie

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