diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-05 22:07:15 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-05 22:07:15 +0000 |
commit | 421b60af92c83b889f8903c2898f2bd07186fcd8 (patch) | |
tree | ad873a24c9438baed4942fda795430a4c3dc9a9a /configdialog/kbfxconfigdlglayout.ui.h | |
parent | 39e896bddf25bf34cbf8be814d959181e2c1d1dd (diff) | |
download | kbfx-421b60af92c83b889f8903c2898f2bd07186fcd8.tar.gz kbfx-421b60af92c83b889f8903c2898f2bd07186fcd8.zip |
TQt4 port kbfx
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kbfx@1230544 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'configdialog/kbfxconfigdlglayout.ui.h')
-rw-r--r-- | configdialog/kbfxconfigdlglayout.ui.h | 252 |
1 files changed, 126 insertions, 126 deletions
diff --git a/configdialog/kbfxconfigdlglayout.ui.h b/configdialog/kbfxconfigdlglayout.ui.h index 0ce4a70..3d595d6 100644 --- a/configdialog/kbfxconfigdlglayout.ui.h +++ b/configdialog/kbfxconfigdlglayout.ui.h @@ -2,7 +2,7 @@ ** 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. +** TQt 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(). @@ -187,7 +187,7 @@ void KbfxConfigDlgLayout::KbfxLayoutProperty_activated( int index ) break; } default: /* default action switch does nothing */ - kdDebug() << "Default action switch for saving layout changed..." << endl; + kdDebug() << "Default action switch for saving tqlayout changed..." << endl; } KbfxShowAll (); @@ -205,14 +205,14 @@ void KbfxConfigDlgLayout::KbfxLayoutProperty_activated( int index ) textLabel8->setText ( tr2i18n ( "Face Box Width" ) ); checkBox1->setText ( tr2i18n ( "Hide User Name" ) ); checkBox2->hide(); - lineEdit1->setText ( QString::number ( ConfigInit().m_facePos_x ) ); - lineEdit2->setText ( QString::number ( ConfigInit().m_facePos_y ) ); - lineEdit3->setText ( QString::number ( ConfigInit().m_userNamePos_x ) ); - lineEdit4->setText ( QString::number ( ConfigInit().m_userNamePos_y ) ); - lineEdit5->setText ( QString::number ( ConfigInit().m_faceIconX ) ); - lineEdit6->setText ( QString::number ( ConfigInit().m_faceIconY ) ); - lineEdit7->setText ( QString::number ( ConfigInit().m_faceIconH ) ); - lineEdit8->setText ( QString::number ( ConfigInit().m_faceIconW ) ); + lineEdit1->setText ( TQString::number ( ConfigInit().m_facePos_x ) ); + lineEdit2->setText ( TQString::number ( ConfigInit().m_facePos_y ) ); + lineEdit3->setText ( TQString::number ( ConfigInit().m_userNamePos_x ) ); + lineEdit4->setText ( TQString::number ( ConfigInit().m_userNamePos_y ) ); + lineEdit5->setText ( TQString::number ( ConfigInit().m_faceIconX ) ); + lineEdit6->setText ( TQString::number ( ConfigInit().m_faceIconY ) ); + lineEdit7->setText ( TQString::number ( ConfigInit().m_faceIconH ) ); + lineEdit8->setText ( TQString::number ( ConfigInit().m_faceIconW ) ); checkBox1->setChecked ( ConfigInit().m_faceBoxHideText ); previous_state = 0; break; @@ -233,15 +233,15 @@ void KbfxConfigDlgLayout::KbfxLayoutProperty_activated( int index ) textLabel8->hide(); checkBox1->hide(); checkBox2->hide(); -// lineEdit1->setText ( QString::number ( ConfigInit().m_topBar_x ) ); -// lineEdit2->setText ( QString::number ( ConfigInit().m_topBar_y ) ); - lineEdit1->setText ( QString::number ( ConfigInit().m_topBar_h ) ); +// lineEdit1->setText ( TQString::number ( ConfigInit().m_topBar_x ) ); +// lineEdit2->setText ( TQString::number ( ConfigInit().m_topBar_y ) ); + lineEdit1->setText ( TQString::number ( ConfigInit().m_topBar_h ) ); lineEdit2->hide(); lineEdit3->hide(); lineEdit4->hide(); -// lineEdit5->setText ( QString::number ( ConfigInit().m_topBar_h ) ); -// lineEdit6->setText ( QString::number ( ConfigInit().m_topBar_w ) ); - lineEdit5->setText ( QString::number ( ConfigInit().m_topBar_w ) ); +// lineEdit5->setText ( TQString::number ( ConfigInit().m_topBar_h ) ); +// lineEdit6->setText ( TQString::number ( ConfigInit().m_topBar_w ) ); + lineEdit5->setText ( TQString::number ( ConfigInit().m_topBar_w ) ); lineEdit6->hide(); lineEdit7->hide(); lineEdit8->hide(); @@ -264,15 +264,15 @@ void KbfxConfigDlgLayout::KbfxLayoutProperty_activated( int index ) textLabel8->hide(); checkBox1->hide(); checkBox2->hide(); -// lineEdit1->setText ( QString::number ( ConfigInit().m_botBar_x ) ); -// lineEdit2->setText ( QString::number ( ConfigInit().m_botBar_y ) ); - lineEdit1->setText ( QString::number ( ConfigInit().m_botBar_h ) ); +// lineEdit1->setText ( TQString::number ( ConfigInit().m_botBar_x ) ); +// lineEdit2->setText ( TQString::number ( ConfigInit().m_botBar_y ) ); + lineEdit1->setText ( TQString::number ( ConfigInit().m_botBar_h ) ); lineEdit2->hide(); lineEdit3->hide(); lineEdit4->hide(); -// lineEdit5->setText ( QString::number ( ConfigInit().m_botBar_h ) ); -// lineEdit6->setText ( QString::number ( ConfigInit().m_botBar_w ) ); - lineEdit5->setText ( QString::number ( ConfigInit().m_botBar_w ) ); +// lineEdit5->setText ( TQString::number ( ConfigInit().m_botBar_h ) ); +// lineEdit6->setText ( TQString::number ( ConfigInit().m_botBar_w ) ); + lineEdit5->setText ( TQString::number ( ConfigInit().m_botBar_w ) ); lineEdit6->hide(); lineEdit7->hide(); lineEdit8->hide(); @@ -293,12 +293,12 @@ void KbfxConfigDlgLayout::KbfxLayoutProperty_activated( int index ) textLabel8->hide(); checkBox1->hide(); checkBox2->hide(); - lineEdit1->setText ( QString::number ( ConfigInit().m_scrollBarTopX ) ); - lineEdit2->setText ( QString::number ( ConfigInit().m_scrollBarTopY ) ); + lineEdit1->setText ( TQString::number ( ConfigInit().m_scrollBarTopX ) ); + lineEdit2->setText ( TQString::number ( ConfigInit().m_scrollBarTopY ) ); lineEdit3->hide(); lineEdit4->hide(); - lineEdit5->setText ( QString::number ( ConfigInit().m_scrollBarBotX ) ); - lineEdit6->setText ( QString::number ( ConfigInit().m_scrollBarBotY ) ); + lineEdit5->setText ( TQString::number ( ConfigInit().m_scrollBarBotX ) ); + lineEdit6->setText ( TQString::number ( ConfigInit().m_scrollBarBotY ) ); lineEdit7->hide(); lineEdit8->hide(); previous_state = 3; @@ -318,12 +318,12 @@ void KbfxConfigDlgLayout::KbfxLayoutProperty_activated( int index ) textLabel8->hide(); checkBox1->hide(); checkBox2->hide(); - lineEdit1->setText ( QString::number ( ConfigInit().m_listBox_x ) ); - lineEdit2->setText ( QString::number ( ConfigInit().m_listBox_y ) ); + lineEdit1->setText ( TQString::number ( ConfigInit().m_listBox_x ) ); + lineEdit2->setText ( TQString::number ( ConfigInit().m_listBox_y ) ); lineEdit3->hide(); lineEdit4->hide(); - lineEdit5->setText ( QString::number ( ConfigInit().m_listBox_h ) ); - lineEdit6->setText ( QString::number ( ConfigInit().m_listBox_w ) ); + lineEdit5->setText ( TQString::number ( ConfigInit().m_listBox_h ) ); + lineEdit6->setText ( TQString::number ( ConfigInit().m_listBox_w ) ); lineEdit7->hide(); lineEdit8->hide(); previous_state = 3; @@ -341,12 +341,12 @@ void KbfxConfigDlgLayout::KbfxLayoutProperty_activated( int index ) textLabel8->hide(); checkBox1->hide(); checkBox2->hide(); - lineEdit1->setText ( QString::number ( ConfigInit().m_searchBox_x ) ); - lineEdit2->setText ( QString::number ( ConfigInit().m_searchBox_y ) ); + lineEdit1->setText ( TQString::number ( ConfigInit().m_searchBox_x ) ); + lineEdit2->setText ( TQString::number ( ConfigInit().m_searchBox_y ) ); lineEdit3->hide(); lineEdit4->hide(); - lineEdit5->setText ( QString::number ( ConfigInit().m_searchBox_h ) ); - lineEdit6->setText ( QString::number ( ConfigInit().m_searchBox_w ) ); + lineEdit5->setText ( TQString::number ( ConfigInit().m_searchBox_h ) ); + lineEdit6->setText ( TQString::number ( ConfigInit().m_searchBox_w ) ); lineEdit7->hide(); lineEdit8->hide(); previous_state = 4; @@ -364,13 +364,13 @@ void KbfxConfigDlgLayout::KbfxLayoutProperty_activated( int index ) textLabel8->hide(); checkBox1->setText ( tr2i18n ( "No Comments in Item" ) ); checkBox2->hide(); - lineEdit1->setText ( QString::number ( ConfigInit().m_itemView_x ) ); - lineEdit2->setText ( QString::number ( ConfigInit().m_itemView_y ) ); - lineEdit3->setText ( QString::number ( ConfigInit().m_iconSize ) ); + lineEdit1->setText ( TQString::number ( ConfigInit().m_itemView_x ) ); + lineEdit2->setText ( TQString::number ( ConfigInit().m_itemView_y ) ); + lineEdit3->setText ( TQString::number ( ConfigInit().m_iconSize ) ); lineEdit4->hide(); - lineEdit5->setText ( QString::number ( ConfigInit().m_itemView_h ) ); - lineEdit6->setText ( QString::number ( ConfigInit().m_itemView_w ) ); - lineEdit7->setText ( QString::number ( ConfigInit().m_commentMargine ) ); + lineEdit5->setText ( TQString::number ( ConfigInit().m_itemView_h ) ); + lineEdit6->setText ( TQString::number ( ConfigInit().m_itemView_w ) ); + lineEdit7->setText ( TQString::number ( ConfigInit().m_commentMargine ) ); lineEdit8->hide(); checkBox1->setChecked ( ConfigInit().m_noComments ); previous_state = 5; @@ -389,11 +389,11 @@ void KbfxConfigDlgLayout::KbfxLayoutProperty_activated( int index ) textLabel8->hide(); checkBox1->hide(); checkBox2->hide(); - lineEdit1->setText ( QString::number ( ConfigInit().m_toolBarButtonNormalSize ) ); + lineEdit1->setText ( TQString::number ( ConfigInit().m_toolBarButtonNormalSize ) ); lineEdit2->hide(); lineEdit3->hide(); lineEdit4->hide(); - lineEdit5->setText ( QString::number ( ConfigInit().m_toolBarButtonExpandSize ) ); + lineEdit5->setText ( TQString::number ( ConfigInit().m_toolBarButtonExpandSize ) ); lineEdit6->hide(); lineEdit7->hide(); lineEdit8->hide(); @@ -413,11 +413,11 @@ void KbfxConfigDlgLayout::KbfxLayoutProperty_activated( int index ) textLabel8->hide(); checkBox1->setText ( tr2i18n ( "Contracted Menues" ) ); checkBox2->hide(); - lineEdit1->setText ( QString::number ( ConfigInit().m_userMenuHeight ) ); + lineEdit1->setText ( TQString::number ( ConfigInit().m_userMenuHeight ) ); lineEdit2->hide(); lineEdit3->hide(); lineEdit4->hide(); - lineEdit5->setText ( QString::number ( ConfigInit().m_userMenuWidth ) ); + lineEdit5->setText ( TQString::number ( ConfigInit().m_userMenuWidth ) ); lineEdit6->hide(); lineEdit7->hide(); lineEdit8->hide(); @@ -426,7 +426,7 @@ void KbfxConfigDlgLayout::KbfxLayoutProperty_activated( int index ) break; } default: /* default action switch should never be reached */ - kdDebug() << "Default action switch for layout changed..." << endl; + kdDebug() << "Default action switch for tqlayout changed..." << endl; } } @@ -454,100 +454,100 @@ void KbfxConfigDlgLayout::KbfxShowAll() void KbfxConfigDlgLayout::KbfxExportFileAction() { - QString KbfxExportLayoutRcDialogURL = KFileDialog::getExistingDirectory ( - QString::null, + TQString KbfxExportLayoutRcDialogURL = KFileDialog::getExistingDirectory ( + TQString(), 0, - tr2i18n ( "Select folder to export kbfxlayoutrc file" ) ).append ( "/kbfxlayoutrc" ); + tr2i18n ( "Select folder to export kbfxtqlayoutrc file" ) ).append ( "/kbfxtqlayoutrc" ); - if ( KbfxExportLayoutRcDialogURL == "/kbfxlayoutrc") return; + if ( KbfxExportLayoutRcDialogURL == "/kbfxtqlayoutrc") return; kdDebug() << "Selected export file is: " << KbfxExportLayoutRcDialogURL << endl; - /* write layout theme configuration file */ - KConfig *layoutconfig = new KConfig ( KbfxExportLayoutRcDialogURL ); + /* write tqlayout theme configuration file */ + KConfig *tqlayoutconfig = new KConfig ( KbfxExportLayoutRcDialogURL ); - layoutconfig->setGroup ( "KbfxButton" ); - layoutconfig->writeEntry ( "FadeTime", ConfigInit().m_fadeTime ); + tqlayoutconfig->setGroup ( "KbfxButton" ); + tqlayoutconfig->writeEntry ( "FadeTime", ConfigInit().m_fadeTime ); /* // No need for this to be exported because it is user/installation specific - layoutconfig->writeEntry ( "Normal", ConfigInit().m_KbfxNormalButtonPath ); - layoutconfig->writeEntry ( "Hover", ConfigInit().m_KbfxHoverButtonPath ); - layoutconfig->writeEntry ( "Press", ConfigInit().m_KbfxPressedButtonPath ); - - layoutconfig->setGroup ( "ToolTip" ); - layoutconfig->writeEntry ( "Avatar", m_ToolTipAvatar ); - layoutconfig->writeEntry ( "Dudebox", m_SpinxTooltipDudebox ); - layoutconfig->writeEntry ( "Mask", m_SpinxTooltipMask ); - layoutconfig->writeEntry ( "Window", m_SpinxTooltipWindow ); - layoutconfig->writeEntry ( "Logo", m_SpinxTooltipLogo ); + tqlayoutconfig->writeEntry ( "Normal", ConfigInit().m_KbfxNormalButtonPath ); + tqlayoutconfig->writeEntry ( "Hover", ConfigInit().m_KbfxHoverButtonPath ); + tqlayoutconfig->writeEntry ( "Press", ConfigInit().m_KbfxPressedButtonPath ); + + tqlayoutconfig->setGroup ( "ToolTip" ); + tqlayoutconfig->writeEntry ( "Avatar", m_ToolTipAvatar ); + tqlayoutconfig->writeEntry ( "Dudebox", m_SpinxTooltipDudebox ); + tqlayoutconfig->writeEntry ( "Mask", m_SpinxTooltipMask ); + tqlayoutconfig->writeEntry ( "Window", m_SpinxTooltipWindow ); + tqlayoutconfig->writeEntry ( "Logo", m_SpinxTooltipLogo ); */ - layoutconfig->setGroup ( "TopBar" ); - layoutconfig->writeEntry ( "DudeX", ConfigInit().m_facePos_x ); - layoutconfig->writeEntry ( "DudeY", ConfigInit().m_facePos_y ); - layoutconfig->writeEntry ( "FaceX", ConfigInit().m_faceIconX ); - layoutconfig->writeEntry ( "FaceY", ConfigInit().m_faceIconY ); - layoutconfig->writeEntry ( "FaceH", ConfigInit().m_faceIconH ); - layoutconfig->writeEntry ( "FaceW", ConfigInit().m_faceIconW ); - layoutconfig->writeEntry ( "UserNameX", ConfigInit().m_userNamePos_x ); - layoutconfig->writeEntry ( "UserNameY", ConfigInit().m_userNamePos_y ); - layoutconfig->writeEntry ( "DisableUserName", ConfigInit().m_faceBoxHideText ); - layoutconfig->writeEntry ( "Height", ConfigInit().m_topBar_h ); - layoutconfig->writeEntry ( "Width", ConfigInit().m_topBar_w ); - layoutconfig->writeEntry ( "X", ConfigInit().m_topBar_x ); - layoutconfig->writeEntry ( "Y", ConfigInit().m_topBar_y ); - - layoutconfig->setGroup ( "BottomBar" ); - layoutconfig->writeEntry ( "Height", ConfigInit().m_botBar_h ); - layoutconfig->writeEntry ( "Width", ConfigInit().m_botBar_w ); - layoutconfig->writeEntry ( "X", ConfigInit().m_botBar_x ); - layoutconfig->writeEntry ( "Y", ConfigInit().m_botBar_y ); - - layoutconfig->setGroup ( "Scrollbars" ); - layoutconfig->writeEntry ( "ScrollBarBotX", ConfigInit().m_scrollBarBotX ); - layoutconfig->writeEntry ( "ScrollBarBotY", ConfigInit().m_scrollBarBotY ); - layoutconfig->writeEntry ( "ScrollBarTopX", ConfigInit().m_scrollBarTopX ); - layoutconfig->writeEntry ( "ScrollBarTopY", ConfigInit().m_scrollBarTopY ); - - layoutconfig->setGroup ( "ListBox" ); - layoutconfig->writeEntry ( "Height", ConfigInit().m_listBox_h ); - layoutconfig->writeEntry ( "Width", ConfigInit().m_listBox_w ); - layoutconfig->writeEntry ( "X", ConfigInit().m_listBox_x ); - layoutconfig->writeEntry ( "Y", ConfigInit().m_listBox_y ); - - layoutconfig->setGroup ( "SearchBox" ); - layoutconfig->writeEntry ( "Height", ConfigInit().m_searchBox_h ); - layoutconfig->writeEntry ( "Width", ConfigInit().m_searchBox_w ); - layoutconfig->writeEntry ( "X", ConfigInit().m_searchBox_x ); - layoutconfig->writeEntry ( "Y", ConfigInit().m_searchBox_y ); - layoutconfig->writeEntry ( "FixedPos", ConfigInit().m_searchBox_static ); - - layoutconfig->setGroup ( "ItemView" ); - layoutconfig->writeEntry ( "Height", ConfigInit().m_itemView_h ); - layoutconfig->writeEntry ( "Width", ConfigInit().m_itemView_w ); - layoutconfig->writeEntry ( "X", ConfigInit().m_itemView_x ); - layoutconfig->writeEntry ( "Y", ConfigInit().m_itemView_y ); - - layoutconfig->setGroup ( "ToolBar" ); - layoutconfig->writeEntry ( "ButtonNormalSize", ConfigInit().m_toolBarButtonNormalSize ); - layoutconfig->writeEntry ( "ButtonPressedSize", ConfigInit().m_toolBarButtonExpandSize ); - - layoutconfig->setGroup ( "MainMenu" ); - layoutconfig->writeEntry ( "UserMenuHeight", ConfigInit().m_userMenuHeight ); - layoutconfig->writeEntry ( "UserMenuWidth", ConfigInit().m_userMenuWidth ); - layoutconfig->writeEntry ( "ContractedMenu", ConfigInit().m_startHidden ); - - layoutconfig->setGroup ( "ItemProperties" ); - layoutconfig->writeEntry ( "NoComments", ConfigInit().m_noComments ); - layoutconfig->writeEntry ( "CommentMargin", ConfigInit().m_commentMargine ); - layoutconfig->writeEntry ( "IconSize", ConfigInit().m_iconSize ); - - layoutconfig->sync(); - - delete layoutconfig; + tqlayoutconfig->setGroup ( "TopBar" ); + tqlayoutconfig->writeEntry ( "DudeX", ConfigInit().m_facePos_x ); + tqlayoutconfig->writeEntry ( "DudeY", ConfigInit().m_facePos_y ); + tqlayoutconfig->writeEntry ( "FaceX", ConfigInit().m_faceIconX ); + tqlayoutconfig->writeEntry ( "FaceY", ConfigInit().m_faceIconY ); + tqlayoutconfig->writeEntry ( "FaceH", ConfigInit().m_faceIconH ); + tqlayoutconfig->writeEntry ( "FaceW", ConfigInit().m_faceIconW ); + tqlayoutconfig->writeEntry ( "UserNameX", ConfigInit().m_userNamePos_x ); + tqlayoutconfig->writeEntry ( "UserNameY", ConfigInit().m_userNamePos_y ); + tqlayoutconfig->writeEntry ( "DisableUserName", ConfigInit().m_faceBoxHideText ); + tqlayoutconfig->writeEntry ( "Height", ConfigInit().m_topBar_h ); + tqlayoutconfig->writeEntry ( "Width", ConfigInit().m_topBar_w ); + tqlayoutconfig->writeEntry ( "X", ConfigInit().m_topBar_x ); + tqlayoutconfig->writeEntry ( "Y", ConfigInit().m_topBar_y ); + + tqlayoutconfig->setGroup ( "BottomBar" ); + tqlayoutconfig->writeEntry ( "Height", ConfigInit().m_botBar_h ); + tqlayoutconfig->writeEntry ( "Width", ConfigInit().m_botBar_w ); + tqlayoutconfig->writeEntry ( "X", ConfigInit().m_botBar_x ); + tqlayoutconfig->writeEntry ( "Y", ConfigInit().m_botBar_y ); + + tqlayoutconfig->setGroup ( "Scrollbars" ); + tqlayoutconfig->writeEntry ( "ScrollBarBotX", ConfigInit().m_scrollBarBotX ); + tqlayoutconfig->writeEntry ( "ScrollBarBotY", ConfigInit().m_scrollBarBotY ); + tqlayoutconfig->writeEntry ( "ScrollBarTopX", ConfigInit().m_scrollBarTopX ); + tqlayoutconfig->writeEntry ( "ScrollBarTopY", ConfigInit().m_scrollBarTopY ); + + tqlayoutconfig->setGroup ( "ListBox" ); + tqlayoutconfig->writeEntry ( "Height", ConfigInit().m_listBox_h ); + tqlayoutconfig->writeEntry ( "Width", ConfigInit().m_listBox_w ); + tqlayoutconfig->writeEntry ( "X", ConfigInit().m_listBox_x ); + tqlayoutconfig->writeEntry ( "Y", ConfigInit().m_listBox_y ); + + tqlayoutconfig->setGroup ( "SearchBox" ); + tqlayoutconfig->writeEntry ( "Height", ConfigInit().m_searchBox_h ); + tqlayoutconfig->writeEntry ( "Width", ConfigInit().m_searchBox_w ); + tqlayoutconfig->writeEntry ( "X", ConfigInit().m_searchBox_x ); + tqlayoutconfig->writeEntry ( "Y", ConfigInit().m_searchBox_y ); + tqlayoutconfig->writeEntry ( "FixedPos", ConfigInit().m_searchBox_static ); + + tqlayoutconfig->setGroup ( "ItemView" ); + tqlayoutconfig->writeEntry ( "Height", ConfigInit().m_itemView_h ); + tqlayoutconfig->writeEntry ( "Width", ConfigInit().m_itemView_w ); + tqlayoutconfig->writeEntry ( "X", ConfigInit().m_itemView_x ); + tqlayoutconfig->writeEntry ( "Y", ConfigInit().m_itemView_y ); + + tqlayoutconfig->setGroup ( "ToolBar" ); + tqlayoutconfig->writeEntry ( "ButtonNormalSize", ConfigInit().m_toolBarButtonNormalSize ); + tqlayoutconfig->writeEntry ( "ButtonPressedSize", ConfigInit().m_toolBarButtonExpandSize ); + + tqlayoutconfig->setGroup ( "MainMenu" ); + tqlayoutconfig->writeEntry ( "UserMenuHeight", ConfigInit().m_userMenuHeight ); + tqlayoutconfig->writeEntry ( "UserMenuWidth", ConfigInit().m_userMenuWidth ); + tqlayoutconfig->writeEntry ( "ContractedMenu", ConfigInit().m_startHidden ); + + tqlayoutconfig->setGroup ( "ItemProperties" ); + tqlayoutconfig->writeEntry ( "NoComments", ConfigInit().m_noComments ); + tqlayoutconfig->writeEntry ( "CommentMargin", ConfigInit().m_commentMargine ); + tqlayoutconfig->writeEntry ( "IconSize", ConfigInit().m_iconSize ); + + tqlayoutconfig->sync(); + + delete tqlayoutconfig; KMessageBox::information ( 0, tr2i18n ( "<p align='center'>The Layout configuration of the KBFX Theme <strong>%1</strong> has been exported successfully!</p>" ).arg ( ConfigInit().m_SpinxThemeName ), |