AlbumShaper 1.0a3
miscSettings.cpp
Go to the documentation of this file.
1//==============================================
2// copyright : (C) 2003-2005 by Will Stokes
3//==============================================
4// This program is free software; you can redistribute it
5// and/or modify it under the terms of the GNU General
6// Public License as published by the Free Software
7// Foundation; either version 2 of the License, or
8// (at your option) any later version.
9//==============================================
10
11//Systemwide include
12#include <qstring.h>
13
14//Projectwide includes
15#include "miscSettings.h"
16#include "configuration.h"
17
18//==============================================
20{
21 //true first time program is run, ensures "first run"
22 //dialog is only brought up once and never again
23 config->setBool( "misc", "firstRun", true );
24
25 //warn users they are running a CVS build if they are
26 config->setBool( "misc", "cvsWarn", true );
27
28 //DPI below which users will be warned during cropping
29 config->setInt( "misc", "minDPI", 250 );
30}
31//==============================================
Configuration object manages all user-specific application settings.
void setInt(QString group, QString key, int val)
Set int setting.
void setBool(QString group, QString key, bool val)
Set bool setting.
static void setDefaults(Configuration *config)