src/configDialog.h

changeset 757
8ab9fa53142b
parent 756
844cda8c2aaf
child 780
b0d84fb70ea5
--- a/src/configDialog.h	Tue Apr 29 00:15:56 2014 +0300
+++ b/src/configDialog.h	Tue Apr 29 02:06:09 2014 +0300
@@ -27,8 +27,8 @@
 // =============================================================================
 class ShortcutListItem : public QListWidgetItem
 {
-	PROPERTY (public,	KeySequenceConfig*,	keyConfig,	setKeyConfig,	STOCK_WRITE)
-	PROPERTY (public,	QAction*,			action,		setAction,		STOCK_WRITE)
+	PROPERTY (public,	KeySequenceConfigEntry*,	keyConfig,	setKeyConfig,	STOCK_WRITE)
+	PROPERTY (public,	QAction*,					action,		setAction,		STOCK_WRITE)
 
 	public:
 		explicit ShortcutListItem (QListWidget* view = null, int type = Type) :
@@ -62,7 +62,7 @@
 		QList<QListWidgetItem*> quickColorItems;
 
 		void applySettings();
-		void addShortcut (KeySequenceConfig& cfg, QAction* act, int& i);
+		void addShortcut (KeySequenceConfigEntry& cfg, QAction* act, int& i);
 		void setButtonBackground (QPushButton* button, String value);
 		void pickColor (String& conf, QPushButton* button);
 		void updateQuickColorList (LDQuickColor* sel = null);
@@ -100,7 +100,7 @@
 
 	public:
 		explicit KeySequenceDialog (QKeySequence seq, QWidget* parent = null, Qt::WindowFlags f = 0);
-		static bool staticDialog (KeySequenceConfig* cfg, QWidget* parent = null);
+		static bool staticDialog (KeySequenceConfigEntry* cfg, QWidget* parent = null);
 
 		QLabel* lb_output;
 		QDialogButtonBox* bbx_buttons;

mercurial