summaryrefslogtreecommitdiff
path: root/sfx2/inc
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2014-02-07 12:10:47 +0100
committerJan Holesovsky <kendy@collabora.com>2014-02-07 12:11:50 +0100
commitb29c078c7f193dd7dae74baf89fe1abb9264239c (patch)
tree3cdcfd16017f0be34f4e17ca3fd4f60f1b038fac /sfx2/inc
parentbd20500cf3d88d0bd81d7e57df01b0130e7166f6 (diff)
Convert template manager dialog to .ui + adapt code.
Change-Id: I854abb47c2d22206ed5581373b3e841f221672e3
Diffstat (limited to 'sfx2/inc')
-rw-r--r--sfx2/inc/templatedlg.hxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/sfx2/inc/templatedlg.hxx b/sfx2/inc/templatedlg.hxx
index b36e96e7e02f..d160053a5a32 100644
--- a/sfx2/inc/templatedlg.hxx
+++ b/sfx2/inc/templatedlg.hxx
@@ -18,6 +18,8 @@
#include <vcl/tabpage.hxx>
#include <com/sun/star/frame/XDesktop2.hpp>
+#include <sfx2/templateabstractview.hxx>
+
class Edit;
class PopupMenu;
class SfxTemplateInfoDlg;
@@ -59,8 +61,6 @@ private:
void writeSettings ();
- virtual void Resize ();
-
DECL_LINK(TBXViewHdl, void*);
DECL_LINK(TBXActionHdl, void*);
DECL_LINK(TBXTemplateHdl, void*);
@@ -134,10 +134,12 @@ private:
void syncRepositories () const;
+ /// Return filter according to the currently selected tab page.
+ FILTER_APPLICATION getCurrentFilter();
+
private:
- TabControl maTabControl;
- TabPage maTabPage;
+ TabControl *mpTabControl;
Edit *mpSearchEdit;
ToolBox *mpViewBar;