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

kjsembed

  • sources
  • kde-4.12
  • kdelibs
  • kjsembed
  • examples
  • kjsconsole
console.h
Go to the documentation of this file.
1 /* This file is part of the KDE libraries
2  Copyright (C) 2005, 2006 Ian Reinhart Geiser <geiseri@kde.org>
3  Copyright (C) 2005, 2006 Matt Broadstone <mbroadst@gmail.com>
4  Copyright (C) 2005, 2006 Richard J. Moore <rich@kde.org>
5  Copyright (C) 2005, 2006 Erik L. Bunce <kde@bunce.us>
6 
7  This library is free software; you can redistribute it and/or
8  modify it under the terms of the GNU Library General Public
9  License as published by the Free Software Foundation; either
10  version 2 of the License, or (at your option) any later version.
11 
12  This library is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15  Library General Public License for more details.
16 
17  You should have received a copy of the GNU Library General Public License
18  along with this library; see the file COPYING.LIB. If not, write to
19  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20  Boston, MA 02110-1301, USA.
21 */
22 #ifndef CONSOLE_H
23 #define CONSOLE_H
24 #include <QtGui/QMainWindow>
25 #include <QtGui/QStandardItem>
26 
27 #include "kjsembed.h"
28 
29 class KJSObjectModel;
30 
31 class Console : public QMainWindow
32 {
33  Q_OBJECT
34  public:
35  Console( QWidget *parent = 0);
36  ~Console();
37 
38  public Q_SLOTS:
39  void on_mExecute_clicked();
40  void on_actionOpenScript_activated();
41  void on_actionCloseScript_activated();
42  void on_actionQuit_activated();
43  void on_actionRun_activated();
44  void on_actionRunTo_activated();
45  void on_actionStep_activated();
46  void on_actionStop_activated();
47 
48  private:
49  void updateModel(const QModelIndex &parent, KJS::Object &obj );
50 
51  KJSEmbed::Engine mKernel;
52  KJSObjectModel *m_model;
53  QModelIndex m_root;
54 };
55 #endif
Console::on_actionQuit_activated
void on_actionQuit_activated()
Definition: console.cpp:111
KJSObjectModel
Definition: kjs_object_model.h:35
Console::on_actionStep_activated
void on_actionStep_activated()
Definition: console.cpp:140
Console
Definition: console.h:31
QWidget
Console::on_mExecute_clicked
void on_mExecute_clicked()
Definition: console.cpp:60
parent
QObject * parent
Definition: qaction_binding.cpp:48
Console::on_actionOpenScript_activated
void on_actionOpenScript_activated()
Definition: console.cpp:83
Console::Console
Console(QWidget *parent=0)
Definition: console.cpp:41
Console::on_actionCloseScript_activated
void on_actionCloseScript_activated()
Definition: console.cpp:107
Console::on_actionRunTo_activated
void on_actionRunTo_activated()
Definition: console.cpp:137
Console::~Console
~Console()
Definition: console.cpp:54
Console::on_actionStop_activated
void on_actionStop_activated()
Definition: console.cpp:144
QMainWindow
KJSEmbed::Engine
The main interface for running embedded Javascript.
Definition: kjsembed.h:58
Console::on_actionRun_activated
void on_actionRun_activated()
Definition: console.cpp:116
kjsembed.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:47:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kjsembed

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

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

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