Databasehandlingdialogclasses
0.5.3
knoda
knodawin.h
1
// ****************************************************************************
2
// copyright (c) 2000-2005 Horst Knorr <hk_classes@knoda.org>
3
// This file is part of knoda -Knorr's Datenbank.
4
// This file may be distributed and/or modified under the terms of the
5
// GNU General Public License version 2 as published by the Free Software
6
// Foundation and appearing in the file COPYING included in the
7
// packaging of this file.
8
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
9
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
10
// ****************************************************************************
11
//$Revision: 1.18 $
12
#ifndef KNODAMAINWINDOW_H
13
#define KNODAMAINWINDOW_H
14
#include <kmainwindow.h>
15
#include <hk_class.h>
16
class
hk_connection;
17
class
knodamainwindowbase
;
18
class
KAction;
19
20
class
knodamainwindow
:
public
KMainWindow,
public
hk_class
21
{
22
Q_OBJECT
23
public
:
24
25
knodamainwindow
( QWidget* parent = 0,
const
char
* name = 0, WFlags fl = 0,
const
QString& database=
""
,
const
QString& form=
""
);
26
virtual
~
knodamainwindow
();
27
void
set_connection(hk_connection* c);
28
29
public
slots:
30
void
close_slot(
void
);
31
protected
:
32
void
closeEvent(QCloseEvent*event);
33
virtual
void
showEvent(QShowEvent*);
34
private
:
35
knodamainwindowbase
* p_mainwindow;
36
KAction* p_closeaction;
37
};
38
#endif
knodamainwindow
Definition:
knodawin.h:20
knodamainwindowbase
Definition:
knodawinbase.h:46
Generated by
1.8.13