diff options
Diffstat (limited to 'configdialog/kbfxconfigdlglayout.ui.h')
-rw-r--r-- | configdialog/kbfxconfigdlglayout.ui.h | 156 |
1 files changed, 78 insertions, 78 deletions
diff --git a/configdialog/kbfxconfigdlglayout.ui.h b/configdialog/kbfxconfigdlglayout.ui.h index 3d595d6..d57e9e0 100644 --- a/configdialog/kbfxconfigdlglayout.ui.h +++ b/configdialog/kbfxconfigdlglayout.ui.h @@ -457,97 +457,97 @@ void KbfxConfigDlgLayout::KbfxExportFileAction() TQString KbfxExportLayoutRcDialogURL = KFileDialog::getExistingDirectory ( TQString(), 0, - tr2i18n ( "Select folder to export kbfxtqlayoutrc file" ) ).append ( "/kbfxtqlayoutrc" ); + tr2i18n ( "Select folder to export kbfxlayoutrc file" ) ).append ( "/kbfxlayoutrc" ); - if ( KbfxExportLayoutRcDialogURL == "/kbfxtqlayoutrc") return; + if ( KbfxExportLayoutRcDialogURL == "/kbfxlayoutrc") return; kdDebug() << "Selected export file is: " << KbfxExportLayoutRcDialogURL << endl; /* write tqlayout theme configuration file */ - KConfig *tqlayoutconfig = new KConfig ( KbfxExportLayoutRcDialogURL ); + KConfig *layoutconfig = new KConfig ( KbfxExportLayoutRcDialogURL ); - tqlayoutconfig->setGroup ( "KbfxButton" ); - tqlayoutconfig->writeEntry ( "FadeTime", ConfigInit().m_fadeTime ); + layoutconfig->setGroup ( "KbfxButton" ); + layoutconfig->writeEntry ( "FadeTime", ConfigInit().m_fadeTime ); /* // No need for this to be exported because it is user/installation specific - 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->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->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; + 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; 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 ), |