From 09699fd899efc9ba7a1bb1a1b3f3172ef9b6fc19 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 2 May 2010 07:28:33 +0000 Subject: Added new, enchanced ICC configuration with new per-user settings git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1121795 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kcontrol/iccconfig/iccconfig.h | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) (limited to 'kcontrol/iccconfig/iccconfig.h') diff --git a/kcontrol/iccconfig/iccconfig.h b/kcontrol/iccconfig/iccconfig.h index 0736968b4..a12c9a49d 100644 --- a/kcontrol/iccconfig/iccconfig.h +++ b/kcontrol/iccconfig/iccconfig.h @@ -1,7 +1,7 @@ /** * iccconfig.h * - * Copyright (c) 2009 Timothy Pearson + * Copyright (c) 2009-2010 Timothy Pearson * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -27,7 +27,7 @@ #include -#include +#include #include "iccconfigbase.h" @@ -62,9 +62,26 @@ private: KConfig *config; bool _ok; - KPopupMenu * _popUpKardChooser; - - + Display *randr_display; + ScreenInfo *randr_screen_info; + int numberOfProfiles; + int numberOfScreens; + QStringList cfgScreenInfo; + QStringList cfgProfiles; + void updateDisplayedInformation (); + QString extractFileName(QString displayName, QString profileName); + QString *iccFileArray; + int findProfileIndex(QString profileName); + int findScreenIndex(QString screenName); + QString m_defaultProfile; + +private slots: + void selectProfile (int slotNumber); + void selectScreen (int slotNumber); + void updateArray (void); + void addProfile (void); + void renameProfile (void); + void deleteProfile (void); }; #endif -- cgit v1.2.1