[DEV] update new property interface
This commit is contained in:
parent
499dfcffe6
commit
badb11d80d
@ -115,10 +115,10 @@ appl::Buffer::Iterator appl::Buffer::selectStop() {
|
||||
}
|
||||
|
||||
appl::Buffer::Buffer() :
|
||||
signalIsModify(*this, "is-modify"),
|
||||
signalIsSave(*this, "is-save"),
|
||||
signalSelectChange(*this, "select-change"),
|
||||
signalChangeName(*this, "change-name"),
|
||||
signalIsModify(this, "is-modify", ""),
|
||||
signalIsSave(this, "is-save", ""),
|
||||
signalSelectChange(this, "select-change", ""),
|
||||
signalChangeName(this, "change-name", ""),
|
||||
m_hasFileName(false),
|
||||
m_fileName(""),
|
||||
m_isModify(false),
|
||||
|
@ -20,10 +20,10 @@
|
||||
#define __class__ "BufferManager"
|
||||
|
||||
appl::BufferManager::BufferManager() :
|
||||
signalNewBuffer(*this, "new-buffer"),
|
||||
signalSelectFile(*this, "select-buffer"),
|
||||
signalTextSelectionChange(*this, "text-selection-change"),
|
||||
signalRemoveBuffer(*this, "remove-buffer") {
|
||||
signalNewBuffer(this, "new-buffer", ""),
|
||||
signalSelectFile(this, "select-buffer", ""),
|
||||
signalTextSelectionChange(this, "text-selection-change", ""),
|
||||
signalRemoveBuffer(this, "remove-buffer", "") {
|
||||
addObjectType("appl::BufferManager");
|
||||
}
|
||||
|
||||
|
@ -13,9 +13,9 @@
|
||||
#define __class__ "TagFileList"
|
||||
|
||||
appl::TagFileList::TagFileList() :
|
||||
signalSelect(*this, "select"),
|
||||
signalValidate(*this, "validate"),
|
||||
signalUnSelect(*this, "unselect") {
|
||||
signalSelect(this, "select", ""),
|
||||
signalValidate(this, "validate", ""),
|
||||
signalUnSelect(this, "unselect", "") {
|
||||
addObjectType("appl::TagFileList");
|
||||
m_selectedLine = -1;
|
||||
setMouseLimit(1);
|
||||
|
@ -25,18 +25,9 @@
|
||||
#undef __class__
|
||||
#define __class__ "TagFileSelection"
|
||||
|
||||
|
||||
static const char * const applEventctagsSelection = "appl-event-ctags-validate";
|
||||
static const char * const applEventctagsCancel = "appl-event-ctags-cancel";
|
||||
static const char * const applEventCtagsListValidate = "appl-event-ctags-list-validate";
|
||||
static const char * const applEventCtagsListSelect = "appl-event-ctags-list-selected";
|
||||
static const char * const applEventCtagsListUnSelect = "appl-event-ctags-list-un-selected";
|
||||
|
||||
|
||||
|
||||
appl::TagFileSelection::TagFileSelection() :
|
||||
signalSelect(*this, "select"),
|
||||
signalCancel(*this, "cancel") {
|
||||
signalSelect(this, "select", ""),
|
||||
signalCancel(this, "cancel", "") {
|
||||
addObjectType("appl::TagFileSelection");
|
||||
}
|
||||
|
||||
|
@ -15,8 +15,8 @@
|
||||
#define __class__ "WorkerCloseFile"
|
||||
|
||||
appl::WorkerCloseFile::WorkerCloseFile() :
|
||||
signalCloseDone(*this, "close-file-done"),
|
||||
signalAbort(*this, "close-file-abort"),
|
||||
signalCloseDone(this, "close-file-done", ""),
|
||||
signalAbort(this, "close-file-abort", ""),
|
||||
m_buffer(nullptr),
|
||||
m_worker(nullptr),
|
||||
m_bufferManager(nullptr) {
|
||||
|
@ -15,8 +15,8 @@
|
||||
|
||||
|
||||
appl::WorkerSaveFile::WorkerSaveFile() :
|
||||
signalSaveDone(*this, "save-file-done"),
|
||||
signalAbort(*this, "save-file-abort") {
|
||||
signalSaveDone(this, "save-file-done", ""),
|
||||
signalAbort(this, "save-file-abort", "") {
|
||||
addObjectType("appl::WorkerSaveFile");
|
||||
// load buffer manager:
|
||||
m_bufferManager = appl::BufferManager::create();
|
||||
|
@ -24,10 +24,10 @@ class myParamGlobal : public ewol::Object {
|
||||
eproperty::Value<bool> m_displaySpaceChar;
|
||||
public :
|
||||
myParamGlobal() :
|
||||
m_displayEOL(*this, "eol", false, "Display end of line character"),
|
||||
m_AutoIndent(*this, "auto-indent", true, "Auto indent when create new line"),
|
||||
m_displayTabChar(*this, "display-tab", true, "Display the Tab char"),
|
||||
m_displaySpaceChar(*this, "display-space", true, "Display the space char") {
|
||||
m_displayEOL(this, "eol", false, "Display end of line character"),
|
||||
m_AutoIndent(this, "auto-indent", true, "Auto indent when create new line"),
|
||||
m_displayTabChar(this, "display-tab", true, "Display the Tab char"),
|
||||
m_displaySpaceChar(this, "display-space", true, "Display the space char") {
|
||||
m_static = true; // Note : set the object static notification( Must be set or assert at the end of process)
|
||||
propertyName.set("edn_global_param");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user