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

kig

Public Slots | Public Member Functions | Protected Member Functions | List of all members
Kig Class Reference

#include <kig.h>

Inherits MainWindow.

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 readProperties (const KConfigGroup &)
 
void saveProperties (KConfigGroup &)
 

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.

Constructor & Destructor Documentation

Kig::Kig ( )

Default Constructor.

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

Copyright (C) 2002 Dominique Devriese devri.nosp@m.ese@.nosp@m.kde.o.nosp@m.rg

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 97 of file kig.cpp.

Member Function Documentation

void Kig::dragEnterEvent ( QDragEnterEvent *  e)
protectedvirtual

The user started dragging something onto us...

Parameters
e

Definition at line 197 of file kig.cpp.

void Kig::dropEvent ( QDropEvent *  e)
protectedvirtual

The user dropped something onto us...

Parameters
e

Definition at line 202 of file kig.cpp.

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

Open file in this window.

Parameters
filefile to open

Definition at line 139 of file kig.cpp.

virtual void Kig::openUrl ( const QString &  s)
inlinevirtualslot

this opens the file specified in s in a new window

Parameters
sthe url of the file to open

Definition at line 56 of file kig.h.

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

Definition at line 158 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 192 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 130 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 122 of file kig.cpp.


The documentation for this class was generated from the following files:
  • kig.h
  • kig.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:35:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kig

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

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

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