diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-03 20:16:47 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-03 20:16:47 +0000 |
commit | 495d08bc2db58ee7fc4ea55a7158f2f61b82fc56 (patch) | |
tree | daabcb652c07b9a17cad88ca50b63a2d91ead4a3 /kpager/config.cpp | |
parent | 50001f1757f97510e80cb1990e2f2d5b00144c2a (diff) | |
download | tdebase-495d08bc2db58ee7fc4ea55a7158f2f61b82fc56.tar.gz tdebase-495d08bc2db58ee7fc4ea55a7158f2f61b82fc56.zip |
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1211357 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpager/config.cpp')
-rw-r--r-- | kpager/config.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kpager/config.cpp b/kpager/config.cpp index 5ff0d3def..12e638688 100644 --- a/kpager/config.cpp +++ b/kpager/config.cpp @@ -121,9 +121,9 @@ void KPagerConfigDialog::setWindowDrawMode(int type) m_tmpWindowDrawMode=type; } -void KPagerConfigDialog::setLayout(int layout) +void KPagerConfigDialog::setLayout(int tqlayout) { - m_tmpLayoutType=layout; + m_tmpLayoutType=tqlayout; } void KPagerConfigDialog::loadConfiguration() @@ -133,14 +133,14 @@ void KPagerConfigDialog::loadConfiguration() m_chkShowBackground->setChecked(m_showBackground); m_chkShowWindows->setChecked(m_showWindows); m_grpWindowDrawMode->setButton(m_windowDrawMode); - m_grpLayoutType->setButton(m_layoutType); + m_grpLayoutType->setButton(m_tqlayoutType); m_chkWindowDragging->setChecked( m_windowDragging ); m_tmpShowName=m_showName; m_tmpShowNumber=m_showNumber; m_tmpShowBackground=m_showBackground; m_tmpShowWindows=m_showWindows; m_tmpWindowDrawMode=m_windowDrawMode; - m_tmpLayoutType=m_layoutType; + m_tmpLayoutType=m_tqlayoutType; m_tmpWindowDragging=m_windowDragging; } @@ -154,7 +154,7 @@ void KPagerConfigDialog::initConfiguration(void) m_showNumber=cfg->readBoolEntry("showNumber", Desktop::c_defShowNumber); m_showBackground=cfg->readBoolEntry("showBackground", Desktop::c_defShowBackground); m_showWindows=cfg->readBoolEntry("showWindows", Desktop::c_defShowWindows); - m_layoutType=cfg->readNumEntry("layoutType", KPager::c_defLayout); + m_tqlayoutType=cfg->readNumEntry("tqlayoutType", KPager::c_defLayout); m_windowDragging=cfg->readBoolEntry("windowDragging", true ); } @@ -165,7 +165,7 @@ void KPagerConfigDialog::slotOk() m_showBackground=m_tmpShowBackground; m_showWindows=m_tmpShowWindows; m_windowDrawMode=m_tmpWindowDrawMode; - m_layoutType=m_tmpLayoutType; + m_tqlayoutType=m_tmpLayoutType; m_windowDragging=m_tmpWindowDragging; accept(); } @@ -176,5 +176,5 @@ bool KPagerConfigDialog::m_showBackground=Desktop::c_defShowBackground; bool KPagerConfigDialog::m_showWindows=Desktop::c_defShowWindows; bool KPagerConfigDialog::m_windowDragging=Desktop::c_defWindowDragging; int KPagerConfigDialog::m_windowDrawMode=Desktop::c_defWindowDrawMode; -int KPagerConfigDialog::m_layoutType=KPager::c_defLayout; +int KPagerConfigDialog::m_tqlayoutType=KPager::c_defLayout; |