12 #ifndef HK_KDEINTERPRETERDIALOG_H 13 #define HK_KDEINTERPRETERDIALOG_H 16 #include <kparts/mainwindow.h> 17 #include <kate/view.h> 18 #include <kate/document.h> 20 #include "hk_dsvisible.h" 21 #include "hk_datasource.h" 22 #include "hk_database.h" 52 enum DialogCode { Rejected, Accepted };
58 int exec(
int rownumber,
const hk_string& warningmessage);
59 int result(
void){
return rescode;}
61 void set_code(
const hk_string&,
bool has_changed=
true);
63 bool has_changed(
void){
return p_has_changed;}
64 void set_caption(hk_visible*,
const hk_string &action);
69 virtual void help_clicked();
74 virtual void closeEvent ( QCloseEvent* e);
75 void keyPressEvent ( QKeyEvent * e );
76 void setResult(
int r ) { rescode = r; }
80 virtual void done(
int);
81 virtual void accept();
83 virtual void select_all();
84 virtual void clear_selection();
85 virtual void toggle_insert();
86 void slot_has_changed(
void);
87 void slot_undo_changed(
void);
95 Kate::View* p_designkate;
96 Kate::Document* p_katepart;
97 bool highlighting_set;
102 #endif //HK_KDEINTERPRETERDIALOG_H virtual void reject()
Definition: hk_kdeinterpreterdialog.cpp:268
KDE high level widget to define queries and see the result.
Definition: hk_kdeinterpreterdialog.h:45
Definition: hk_kdeinterpreterdialog.cpp:42
void set_autoclose(bool c)
Definition: hk_kdeinterpreterdialog.h:57
shows data in a grid without columnheaders.
Definition: hk_kdegrid.h:45