summaryrefslogtreecommitdiffstats
path: root/configdialog/kbfxconfigdlgstyle.ui.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-02-17 00:43:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-02-17 00:43:50 +0000
commitceea23677c61f20759ae986bd77b0d5c4d673edb (patch)
tree3fcec1702eaf9c14d1dd736e594f5df08dab4001 /configdialog/kbfxconfigdlgstyle.ui.h
downloadkbfx-ceea23677c61f20759ae986bd77b0d5c4d673edb.tar.gz
kbfx-ceea23677c61f20759ae986bd77b0d5c4d673edb.zip
Added old KDE3 version of kbfx
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kbfx@1091549 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'configdialog/kbfxconfigdlgstyle.ui.h')
-rw-r--r--configdialog/kbfxconfigdlgstyle.ui.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/configdialog/kbfxconfigdlgstyle.ui.h b/configdialog/kbfxconfigdlgstyle.ui.h
new file mode 100644
index 0000000..eb8001c
--- /dev/null
+++ b/configdialog/kbfxconfigdlgstyle.ui.h
@@ -0,0 +1,30 @@
+/****************************************************************************
+** ui.h extension file, included from the uic-generated form implementation.
+**
+** If you want to add, delete, or rename functions or slots, use
+** Qt Designer to update this file, preserving your code.
+**
+** You should not define a constructor or destructor in this file.
+** Instead, write your code in functions called init() and destroy().
+** These will automatically be called by the form's constructor and
+** destructor.
+*****************************************************************************/
+
+void KbfxConfigDlgStyle::KbfxStyleSelected ( int id )
+{
+ if ( id == 0 ) ConfigInit().m_KbfxMenuType="spinx";
+ if ( id == 1 ) ConfigInit().m_KbfxMenuType="kmenu";
+
+ kdDebug() << "Selected style: " << ConfigInit().m_KbfxMenuType << endl;
+}
+
+void KbfxConfigDlgStyle::ChangeForm()
+{
+ if ( ConfigInit().m_KbfxMenuType == "spinx" )
+ KbfxStyleGroupBox->setButton ( 0 );
+
+ if ( ConfigInit().m_KbfxMenuType == "kmenu" )
+ KbfxStyleGroupBox->setButton ( 1 );
+
+ kdDebug() << "Style: " << ConfigInit().m_KbfxMenuType << endl;
+}