summaryrefslogtreecommitdiffstats
path: root/kcontrol/iccconfig/iccconfig.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-05-02 07:28:33 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-05-02 07:28:33 +0000
commit09699fd899efc9ba7a1bb1a1b3f3172ef9b6fc19 (patch)
treec06aaf735ee21b38f829114d53202909767768c1 /kcontrol/iccconfig/iccconfig.h
parentff4898fd413b863640a3b474ea0bb0c1b699f734 (diff)
downloadtdebase-09699fd899efc9ba7a1bb1a1b3f3172ef9b6fc19.tar.gz
tdebase-09699fd899efc9ba7a1bb1a1b3f3172ef9b6fc19.zip
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
Diffstat (limited to 'kcontrol/iccconfig/iccconfig.h')
-rw-r--r--kcontrol/iccconfig/iccconfig.h27
1 files changed, 22 insertions, 5 deletions
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 <[email protected]>
+ * Copyright (c) 2009-2010 Timothy Pearson <[email protected]>
*
* 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 <dcopobject.h>
-#include <kcmodule.h>
+#include <libkrandr/libkrandr.h>
#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