00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef KNODAMAINWINDOW_H
00013 #define KNODAMAINWINDOW_H
00014 #include <kmainwindow.h>
00015 #include <hk_class.h>
00016 class hk_connection;
00017 class knodamainwindowbase;
00018 class KAction;
00019
00020 class knodamainwindow :public KMainWindow, public hk_class
00021 {
00022 Q_OBJECT
00023 public:
00024
00025 knodamainwindow( QWidget* parent = 0, const char* name = 0, WFlags fl = 0,const QString& database="",const QString& form="" );
00026 virtual ~knodamainwindow();
00027 void set_connection(hk_connection* c);
00028
00029 public slots:
00030 void close_slot(void);
00031 protected:
00032 void closeEvent(QCloseEvent*event);
00033 virtual void showEvent(QShowEvent*);
00034 private:
00035 knodamainwindowbase* p_mainwindow;
00036 KAction* p_closeaction;
00037 };
00038 #endif