[Libreoffice-commits] core.git: Branch 'feature/aboutconfig' - cui/source

Efe Gürkan YALAMAN efeyalaman at gmail.com
Sun Jul 21 02:39:12 PDT 2013


 cui/source/options/optaboutconfig.cxx |   16 +++++++++++++++-
 cui/source/options/optaboutconfig.hxx |    4 +++-
 2 files changed, 18 insertions(+), 2 deletions(-)

New commits:
commit 5a3b21b5fb579bcf86eff172862b1c23c499b361
Author: Efe Gürkan YALAMAN <efeyalaman at gmail.com>
Date:   Sun Jul 21 12:35:13 2013 +0300

    starting to initial implementation
    
    Change-Id: Ibe2e61b599bd47708cefaa03fdba03e6428c6ed6

diff --git a/cui/source/options/optaboutconfig.cxx b/cui/source/options/optaboutconfig.cxx
index a130753..864c681 100644
--- a/cui/source/options/optaboutconfig.cxx
+++ b/cui/source/options/optaboutconfig.cxx
@@ -9,6 +9,7 @@
 
 #include "optaboutconfig.hxx"
 #include "optHeaderTabListbox.hxx"
+#include <svtools/accessibilityoption.hxx>
 
 using namespace svx;
 
@@ -17,8 +18,17 @@ using namespace svx;
 #define ITEMID_STATUS   3
 #define ITEMID_VALUE    4
 
+struct CuiAboutConfigTabPage_Impl
+{
+    SvtAccessibilityOptions     m_aAccConfig;
+    CuiAccessibilityOptionsTabPage_Impl()
+        : m_aAccConfig(){}
+    //FIXME use this struct for all options possible.
+}
+
 CuiAboutConfigTabPage::CuiAboutConfigTabPage( Window* pParent, const SfxItemSet& rItemSet )
-    :SfxTabPage( pParent, "AboutConfig", "cui/ui/aboutconfigdialog.ui", rItemSet)
+    :SfxTabPage( pParent, "AboutConfig", "cui/ui/aboutconfigdialog.ui", rItemSet),
+    m_pImpl(new CuiAboutConfigTabPage_Impl)
 {
     get(m_pDefaultBtn,"default");
     get(m_pEditBtn, "edit");
@@ -57,4 +67,8 @@ SfxTabPage* CuiAboutConfigTabPage::Create( Window* pParent, const SfxItemSet& rI
 {
     return ( new CuiAboutConfigTabPage( pParent, rItemSet) );
 }
+
+sal_Bool CuiAboutConfigTabPage::FillItemSet()
+{
+}
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/options/optaboutconfig.hxx b/cui/source/options/optaboutconfig.hxx
index 6848a8f..a924877 100644
--- a/cui/source/options/optaboutconfig.hxx
+++ b/cui/source/options/optaboutconfig.hxx
@@ -18,7 +18,7 @@ namespace svx
 {
     class OptHeaderTabListBox;
 }
-class CuiAboutConfigTabPage;
+struct CuiAboutConfigTabPage_Impl;
 
 class CuiAboutConfigTabPage : public SfxTabPage
 {
@@ -28,6 +28,8 @@ private:
     PushButton* m_pEditBtn;
 
     ::svx::OptHeaderTabListBox* pPrefBox;
+
+    CuiAboutConfigTabPage_Impl* m_pImpl;
 public:
    CuiAboutConfigTabPage( Window* pParent, const SfxItemSet& rItemSet );
    ~CuiAboutConfigTabPage();


More information about the Libreoffice-commits mailing list