diff options
author | Rafael Dominguez <venccsralph@gmail.com> | 2012-08-21 18:00:39 -0430 |
---|---|---|
committer | Rafael Dominguez <venccsralph@gmail.com> | 2012-08-23 21:44:05 -0430 |
commit | 9c94045bd2802a3f7e8c286b4082a55fe43a666d (patch) | |
tree | 5211a34f8ab9207b1fb8a0ee8348af514fbb71dc /sfx2/inc | |
parent | 33b1750f4ae8a9bc26f29440726c24f551041d94 (diff) |
Rename class from TemplateOnlineView to TemplateRemoteView.
Change-Id: I3d1cc00274c4f758cb4e8e6a09cea9cb63b0a733
Diffstat (limited to 'sfx2/inc')
-rw-r--r-- | sfx2/inc/sfx2/templateremoteview.hxx (renamed from sfx2/inc/sfx2/templateonlineview.hxx) | 18 | ||||
-rw-r--r-- | sfx2/inc/sfx2/templateremoteviewitem.hxx (renamed from sfx2/inc/sfx2/templateonlineviewitem.hxx) | 12 | ||||
-rw-r--r-- | sfx2/inc/templatedlg.hxx | 4 |
3 files changed, 17 insertions, 17 deletions
diff --git a/sfx2/inc/sfx2/templateonlineview.hxx b/sfx2/inc/sfx2/templateremoteview.hxx index d64f94762ebe..bbea147415b5 100644 --- a/sfx2/inc/sfx2/templateonlineview.hxx +++ b/sfx2/inc/sfx2/templateremoteview.hxx @@ -7,23 +7,23 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef __SFX2_TEMPLATEONLINEVIEW_HXX__ -#define __SFX2_TEMPLATEONLINEVIEW_HXX__ +#ifndef __SFX2_TEMPLATEREMOTEVIEW_HXX__ +#define __SFX2_TEMPLATEREMOTEVIEW_HXX__ #include <sfx2/templateabstractview.hxx> #include <sfx2/templateproperties.hxx> #include <com/sun/star/ucb/XCommandEnvironment.hpp> -class TemplateOnlineViewItem; +class TemplateRemoteViewItem; -class TemplateOnlineView : public TemplateAbstractView +class TemplateRemoteView : public TemplateAbstractView { public: - TemplateOnlineView (Window *pParent, WinBits nWinStyle, bool bDisableTransientChildren); + TemplateRemoteView (Window *pParent, WinBits nWinStyle, bool bDisableTransientChildren); - virtual ~TemplateOnlineView (); + virtual ~TemplateRemoteView (); // Load repositories from user settings. virtual void Populate (); @@ -38,7 +38,7 @@ public: bool loadRepository (const sal_uInt16 nRepositoryId, bool bRefresh); - const std::vector<TemplateOnlineViewItem*>& getRepositories () const { return maRepositories; } + const std::vector<TemplateRemoteViewItem*>& getRepositories () const { return maRepositories; } bool insertRepository (const OUString &rName, const OUString &rURL); @@ -54,11 +54,11 @@ private: bool mbIsSynced; Link maChangeNameHdl; - std::vector<TemplateOnlineViewItem*> maRepositories; + std::vector<TemplateRemoteViewItem*> maRepositories; com::sun::star::uno::Reference< com::sun::star::ucb::XCommandEnvironment > m_xCmdEnv; }; -#endif // __SFX2_TEMPLATEONLINEVIEW_HXX__ +#endif // __SFX2_TEMPLATEREMOTEVIEW_HXX__ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sfx2/inc/sfx2/templateonlineviewitem.hxx b/sfx2/inc/sfx2/templateremoteviewitem.hxx index 07996b382946..396b9652e4ee 100644 --- a/sfx2/inc/sfx2/templateonlineviewitem.hxx +++ b/sfx2/inc/sfx2/templateremoteviewitem.hxx @@ -7,19 +7,19 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef __SFX2_TEMPLATEONLINEVIEWITEM_HXX__ -#define __SFX2_TEMPLATEONLINEVIEWITEM_HXX__ +#ifndef __SFX2_TEMPLATEREMOTEVIEWITEM_HXX__ +#define __SFX2_TEMPLATEREMOTEVIEWITEM_HXX__ #include <sfx2/thumbnailviewitem.hxx> #include <sfx2/templateproperties.hxx> -class TemplateOnlineViewItem : public ThumbnailViewItem +class TemplateRemoteViewItem : public ThumbnailViewItem { public: - TemplateOnlineViewItem (ThumbnailView &rView, Window *pParent); + TemplateRemoteViewItem (ThumbnailView &rView, Window *pParent); - virtual ~TemplateOnlineViewItem (); + virtual ~TemplateRemoteViewItem (); void setURL (const rtl::OUString &rURL) { maUrl = rURL; } @@ -37,6 +37,6 @@ private: std::vector<TemplateItemProperties> maTemplates; }; -#endif // __SFX2_TEMPLATEONLINEVIEWITEM_HXX__ +#endif // __SFX2_TEMPLATEREMOTEVIEWITEM_HXX__ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sfx2/inc/templatedlg.hxx b/sfx2/inc/templatedlg.hxx index 7d6940cf9428..5ba2a8741d4b 100644 --- a/sfx2/inc/templatedlg.hxx +++ b/sfx2/inc/templatedlg.hxx @@ -20,7 +20,7 @@ class PopupMenu; class SfxTemplateInfoDlg; class TemplateAbstractView; class TemplateLocalView; -class TemplateOnlineView; +class TemplateRemoteView; class TemplateSearchView; class ThumbnailView; class ThumbnailViewItem; @@ -132,7 +132,7 @@ private: TemplateSearchView *mpSearchView; TemplateAbstractView *mpCurView; TemplateLocalView *maView; - TemplateOnlineView *mpOnlineView; + TemplateRemoteView *mpOnlineView; PopupMenu *mpActionMenu; PopupMenu *mpRepositoryMenu; PopupMenu *mpTemplateDefaultMenu; |