• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • kdeedu
  • Sitemap
  • Contact Us
 

kig

Kig Class Reference

#include <kig.h>

Inheritance diagram for Kig:

Inheritance graph
[legend]

List of all members.


Detailed Description

This is the application "Shell".

It has a menubar, toolbar, and statusbar but relies on the "Part" to do all the real work.

Definition at line 30 of file kig.h.


Public Slots

void load (const KUrl &file)
virtual void openUrl (const QString &s)
void openUrl (const KUrl &s)

Public Member Functions

 Kig ()
virtual ~Kig ()

Protected Member Functions

virtual void dragEnterEvent (QDragEnterEvent *e)
virtual void dropEvent (QDropEvent *e)
bool queryClose ()
void saveProperties (KConfigGroup &)
void readProperties (const KConfigGroup &)

Constructor & Destructor Documentation

Kig::Kig (  ) 

Default Constructor.

This file is part of Kig, a KDE program for Interactive Geometry.

.. Copyright (C) 2002 Dominique Devriese <devriese@kde.org>

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Definition at line 46 of file kig.cpp.

Kig::~Kig (  )  [virtual]

Default Destructor.

Definition at line 102 of file kig.cpp.


Member Function Documentation

void Kig::load ( const KUrl &  file  )  [slot]

Open file in this window.

Parameters:
file file to open

Definition at line 144 of file kig.cpp.

virtual void Kig::openUrl ( const QString &  s  )  [inline, virtual, slot]

this opens the file specified in s in a new window

Parameters:
s the url of the file to open

Definition at line 56 of file kig.h.

void Kig::openUrl ( const KUrl &  s  )  [slot]

Definition at line 163 of file kig.cpp.

void Kig::dragEnterEvent ( QDragEnterEvent *  e  )  [protected, virtual]

The user started dragging something onto us.

..

Parameters:
e 

Definition at line 220 of file kig.cpp.

void Kig::dropEvent ( QDropEvent *  e  )  [protected, virtual]

The user dropped something onto us.

..

Parameters:
e 

Definition at line 225 of file kig.cpp.

bool Kig::queryClose (  )  [protected]

this is called by the framework before closing the window, to allow the user to save his changes.

.. returning false cancels the close request...

Definition at line 197 of file kig.cpp.

void Kig::saveProperties ( KConfigGroup &  config  )  [protected]

This method is called when it is time for the app to save its properties for session management purposes.

Definition at line 127 of file kig.cpp.

void Kig::readProperties ( const KConfigGroup &  config  )  [protected]

This method is called when this app is restored.

The KConfig object points to the session management config file that was saved with saveProperties

Definition at line 135 of file kig.cpp.


The documentation for this class was generated from the following files:
  • kig.h
  • kig.cpp

kig

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

kdeedu

Skip menu "kdeedu"
  • kalzium
  • kanagram
  • kig
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  •   docs
  •   src
  • parley
Generated for kdeedu by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal