Back to index

kdeartwork  4.3.2
Public Member Functions | Protected Member Functions
DemoWindow Class Reference

#include <demowin.h>

List of all members.

Public Member Functions

 DemoWindow ()

Protected Member Functions

virtual void keyPressEvent (QKeyEvent *e)

Detailed Description

Definition at line 22 of file demowin.h.


Constructor & Destructor Documentation

DemoWindow::DemoWindow ( ) [inline]

Definition at line 26 of file demowin.h.

                 : QWidget()
    {
        setFixedSize(600, 420);
    }

Member Function Documentation

virtual void DemoWindow::keyPressEvent ( QKeyEvent *  e) [inline, protected, virtual]

Definition at line 32 of file demowin.h.

    {
        if (e->text() == "q")
        {
            kapp->quit();
        }
    }

The documentation for this class was generated from the following file: