From aaf73a455154162298dbfae4d66bd1d4e5fad88c Mon Sep 17 00:00:00 2001 From: John Levon Date: Fri, 12 Jul 2002 01:59:01 +0000 Subject: [PATCH] A couple more TODO shootdowns git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4610 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt2/ChangeLog | 5 +++++ src/frontends/qt2/QtView.C | 14 +------------- src/frontends/qt2/QtView.h | 12 +++--------- src/frontends/qt2/TODO | 3 --- 4 files changed, 9 insertions(+), 25 deletions(-) diff --git a/src/frontends/qt2/ChangeLog b/src/frontends/qt2/ChangeLog index 8f74431df9..349b55bb03 100644 --- a/src/frontends/qt2/ChangeLog +++ b/src/frontends/qt2/ChangeLog @@ -1,3 +1,8 @@ +2002-07-12 John Levon + + * QtView.h: + * QtView.C: remove unused methods + 2002-07-12 John Levon * Makefile.am: diff --git a/src/frontends/qt2/QtView.C b/src/frontends/qt2/QtView.C index 2e057feadd..d0828906cd 100644 --- a/src/frontends/qt2/QtView.C +++ b/src/frontends/qt2/QtView.C @@ -93,21 +93,9 @@ void QtView::closeEvent(QCloseEvent *) } -void QtView::redraw() -{ - // FIXME: does this make any sense for us ? - repaint(); -} - - -void QtView::setPosition(unsigned int x, unsigned int y) +void QtView::show(int x, int y, string const & title) { move(x, y); -} - - -void QtView::show(int, int, string const & title) -{ setCaption(title.c_str()); QMainWindow::show(); } diff --git a/src/frontends/qt2/QtView.h b/src/frontends/qt2/QtView.h index d33fbbe3e6..a781af1cf8 100644 --- a/src/frontends/qt2/QtView.h +++ b/src/frontends/qt2/QtView.h @@ -34,25 +34,19 @@ public: ~QtView(); - /// set the x,y of the top level window - virtual void setPosition(unsigned int, unsigned int); - /** * show - display the top-level window - * @param place general placement (FIXME: GUII) - * @param border border border type (FIXME: GUII) + * @param x x position + * @param y y position * @param title window title */ - virtual void show(int, int, string const & t = string("LyX")); + void show(int x, int y, string const & t = string("LyX")); /// start modal operation virtual void prohibitInput() const; /// end modal operation virtual void allowInput() const; - /// redraw the main form. - void redraw(); - public slots: /// menu item has been selected void activated(int id); diff --git a/src/frontends/qt2/TODO b/src/frontends/qt2/TODO index 0c6d6d1806..f065aaf4a1 100644 --- a/src/frontends/qt2/TODO +++ b/src/frontends/qt2/TODO @@ -138,9 +138,6 @@ QTexinfo QtView - decide what to do about prohibit/allowInput - - fix show() - - remove redraw() and others - - add minibuffer - add autosave timeout