[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/3.5/kdebase/kate/interfaces
From: Dominik Haumann <dhdev () gmx ! de>
Date: 2005-08-24 11:06:32
Message-ID: 1124881592.037680.9531.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 452796 by dhaumann:
* fix lack of interface exports. Export the mainwindow's centralWidget.
M +6 -0 mainwindow.cpp
M +8 -1 mainwindow.h
--- branches/KDE/3.5/kdebase/kate/interfaces/mainwindow.cpp #452795:452796
@@ -67,6 +67,11 @@
return d->win->viewManager ()->viewManager ();
}
+class QWidget *MainWindow::centralWidget() const
+{
+ return d->win->centralWidget();
+}
+
ToolViewManager *MainWindow::toolViewManager () const
{
return d->win->toolViewManager ();
@@ -74,3 +79,4 @@
}
+// kate: space-indent on; indent-width 2; replace-tabs on;
--- branches/KDE/3.5/kdebase/kate/interfaces/mainwindow.h #452795:452796
@@ -46,7 +46,12 @@
Kate::ViewManager *viewManager () const;
public :
-
+ /**
+ * Access the widget (in the middle of the 4 sidebars) in which the editor
+ * component and the KateTabBar are embedded. This widget is a QVBox, so
+ * other child widgets can be embedded unter the editor widget.
+ */
+ class QWidget *centralWidget() const;
class ToolViewManager *toolViewManager() const;
private:
@@ -56,3 +61,5 @@
}
#endif
+
+// kate: space-indent on; indent-width 2; replace-tabs on;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic