NCL Composer  0.1.5
 All Classes Functions Variables Pages
ComposerSettings.cpp
1 /* Copyright (c) 2011-2013 Telemidia/PUC-Rio.
2  * All rights reserved. This program and the accompanying materials
3  * are made available under the terms of the Eclipse Public License v1.0
4  * which accompanies this distribution, and is available at
5  * http://www.eclipse.org/legal/epl-v10.html
6  *
7  * Contributors:
8  * Telemidia/PUC-Rio - initial API and implementation
9  */
10 #include "util/ComposerSettings.h"
11 
12 namespace composer {
13  namespace core {
14  namespace util {
15 #ifdef Q_WS_MAC
16 GlobalSettings::GlobalSettings() : QSettings ("br.puc-rio.telemidia", "Composer")
17 #else
18 GlobalSettings::GlobalSettings() : QSettings(QSettings::IniFormat, QSettings::UserScope, "telemidia", "composer")
19 #endif
20 {
21 
22 }
23 
24 ProjectSettings::ProjectSettings(const QString &project) : QSettings(project + ".ini", QSettings::IniFormat)
25 {
26 
27 }
28 
29 } } } // end namespace