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 hk_kdeworkspace;
00019 class KAction;
00020
00021 class knodamainwindow :public KMainWindow, public hk_class
00022 {
00023 Q_OBJECT
00024 public:
00025
00026 knodamainwindow( QWidget* parent = 0,hk_kdeworkspace* w=0, const char* name = 0, WFlags fl = 0,const QString& database="",const QString& form="" );
00027 virtual ~knodamainwindow();
00028 void set_connection(hk_connection* c);
00029
00030 public slots:
00031 void close_slot(void);
00032 protected:
00033 virtual void showEvent(QShowEvent*);
00034 private:
00035 knodamainwindowbase* p_mainwindow;
00036 KAction* p_closeaction;
00037 };
00038 #endif