File: iannix_spec.cpp

package info (click to toggle)
iannix 0.9.20~dfsg0-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 9,992 kB
  • sloc: cpp: 42,061; ansic: 12,322; javascript: 10,738; makefile: 29
file content (35 lines) | stat: -rw-r--r-- 1,430 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*
    This file is part of IanniX, a graphical real-time open-source sequencer for digital art
    Copyright (C) 2010-2015 — IanniX Association

    Project Manager: Thierry Coduys (http://www.le-hub.org)
    Development:     Guillaume Jacquemin (https://www.buzzinglight.com)

    This file was written by Guillaume Jacquemin.

    IanniX is a free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/

#include "iannix_spec.h"

ExecuteSource NxObjectDispatchProperty::source = ExecuteSourceGui;

void NxObjectDispatchProperty::propertyChanged(const char *_property) {
    QString property = _property;
    if(!propertiesToSerialize[source].contains(property))
        propertiesToSerialize[source].append(property);
    if(!propertiesToSerialize[ExecuteSourceCopyPaste].contains(property))
        propertiesToSerialize[ExecuteSourceCopyPaste].append(property);
}