Back to index

scribus-ng  1.3.4.dfsg+svn20071115
colorsetmanager.h
Go to the documentation of this file.
00001 /*
00002 For general Scribus (>=1.3.2) copyright and licensing information please refer
00003 to the COPYING file provided with the program. Following this notice may exist
00004 a copyright and/or license notice that predates the release of Scribus 1.3.2
00005 for which a new license (GPL+exception) is in place.
00006 */
00007 /***************************************************************************
00008        copyright            : (C) 2006 by Craig Bradney
00009        email                : cbradney@zip.com.au
00010 ***************************************************************************/
00011 
00012 #ifndef COLORSETMANAGER_H
00013 #define COLORSETMANAGER_H
00014 
00015 #include "prefsstructs.h"
00016 #include "scribusapi.h"
00017 
00018 class SCRIBUS_API ColorSetManager
00019 {
00020        public:
00021               ColorSetManager();
00022               ~ColorSetManager();
00023               
00024               void initialiseDefaultPrefs(struct ApplicationPrefs& appPrefs);
00025               void findPaletteLocations();
00026               void findPalettes();
00027               QStringList paletteNames();
00028               const QString& paletteFileFromName(const QString& paletteName);
00029               
00030        protected:
00031               QStringList paletteLocations;
00032               QMap<QString, QString> palettes;
00033 };
00034 #endif