gui.h

changeset 78
c190fe218506
parent 77
7c2f500405fe
child 79
f8917e9d07f6
--- a/gui.h	Mon Apr 08 19:24:23 2013 +0300
+++ b/gui.h	Tue Apr 09 14:06:40 2013 +0300
@@ -27,6 +27,7 @@
 #include <QToolBar>
 #include <QTextEdit>
 #include "gldraw.h"
+#include "config.h"
 
 // Stuff for dialogs
 #define IMPLEMENT_DIALOG_BUTTONS \
@@ -73,7 +74,7 @@
 private slots:
 	void slot_selectionChanged ();
 	
-	void slot_new ();
+	void slot_newFile ();
 	void slot_open ();
 	void slot_save ();
 	void slot_saveAs ();
@@ -87,7 +88,7 @@
 	void slot_newComment ();
 	void slot_newVertex ();
 	
-	void slot_inline ();
+	void slot_inlineContents ();
 	void slot_deepInline ();
 	void slot_splitQuads ();
 	void slot_setContents ();
@@ -96,7 +97,7 @@
 	void slot_cut ();
 	void slot_copy ();
 	void slot_paste ();
-	void slot_delete ();
+	void slot_del ();
 	
 	void slot_settings ();
 	
@@ -113,4 +114,13 @@
 	NUM_LDOL_Columns
 };
 
+// =============================================================================
+// Metadata for actions
+typedef struct {
+	QAction** const qAct;
+	keyseqconfig* const conf;
+} actionmeta;
+
+extern vector<actionmeta> g_ActionMeta;
+
 #endif
\ No newline at end of file

mercurial