summaryrefslogtreecommitdiff
path: root/inputmethods/multikey
authorhash <hash>2002-08-22 08:17:08 (UTC)
committer hash <hash>2002-08-22 08:17:08 (UTC)
commit79ab58b57c084256584fc391532e51de982a40bd (patch) (side-by-side diff)
tree7931362a5a4bcef858a1a6a86e80162befe35f4b /inputmethods/multikey
parent2ff3290b552c575ff7222df29235651968f484aa (diff)
downloadopie-79ab58b57c084256584fc391532e51de982a40bd.zip
opie-79ab58b57c084256584fc391532e51de982a40bd.tar.gz
opie-79ab58b57c084256584fc391532e51de982a40bd.tar.bz2
made color buttons more color-config-urable
Diffstat (limited to 'inputmethods/multikey') (more/less context) (ignore whitespace changes)
-rw-r--r--inputmethods/multikey/configdlg.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/inputmethods/multikey/configdlg.cpp b/inputmethods/multikey/configdlg.cpp
index 9ea59a4..9576579 100644
--- a/inputmethods/multikey/configdlg.cpp
+++ b/inputmethods/multikey/configdlg.cpp
@@ -166,3 +166,3 @@ ConfigDlg::ConfigDlg () : QTabWidget ()
*/
- keycolor_button->setBackgroundColor(QColor(color[0].toInt(), color[1].toInt(), color[2].toInt()));
+ keycolor_button->setPalette(QPalette(QColor(color[0].toInt(), color[1].toInt(), color[2].toInt())));
@@ -174,3 +174,3 @@ ConfigDlg::ConfigDlg () : QTabWidget ()
color = config.readListEntry("keycolor_pressed", QChar(','));
- keycolor_pressed_button->setBackgroundColor(QColor(color[0].toInt(), color[1].toInt(), color[2].toInt()));
+ keycolor_pressed_button->setPalette(QPalette((QColor(color[0].toInt(), color[1].toInt(), color[2].toInt()))));
@@ -181,3 +181,3 @@ ConfigDlg::ConfigDlg () : QTabWidget ()
color = config.readListEntry("keycolor_lines", QChar(','));
- keycolor_lines_button->setBackgroundColor(QColor(color[0].toInt(), color[1].toInt(), color[2].toInt()));
+ keycolor_lines_button->setPalette(QPalette((QColor(color[0].toInt(), color[1].toInt(), color[2].toInt()))));
@@ -189,3 +189,3 @@ ConfigDlg::ConfigDlg () : QTabWidget ()
color = config.readListEntry("textcolor", QChar(','));
- textcolor_button->setBackgroundColor(QColor(color[0].toInt(), color[1].toInt(), color[2].toInt()));
+ textcolor_button->setPalette(QPalette((QColor(color[0].toInt(), color[1].toInt(), color[2].toInt()))));