A couple more TODO shootdowns

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4610 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Levon 2002-07-12 01:59:01 +00:00
parent f6587aecad
commit aaf73a4551
4 changed files with 9 additions and 25 deletions

View File

@ -1,3 +1,8 @@
2002-07-12 John Levon <moz@compsoc.man.ac.uk>
* QtView.h:
* QtView.C: remove unused methods
2002-07-12 John Levon <moz@compsoc.man.ac.uk> 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
* Makefile.am: * Makefile.am:

View File

@ -93,21 +93,9 @@ void QtView::closeEvent(QCloseEvent *)
} }
void QtView::redraw() void QtView::show(int x, int y, string const & title)
{
// FIXME: does this make any sense for us ?
repaint();
}
void QtView::setPosition(unsigned int x, unsigned int y)
{ {
move(x, y); move(x, y);
}
void QtView::show(int, int, string const & title)
{
setCaption(title.c_str()); setCaption(title.c_str());
QMainWindow::show(); QMainWindow::show();
} }

View File

@ -34,25 +34,19 @@ public:
~QtView(); ~QtView();
/// set the x,y of the top level window
virtual void setPosition(unsigned int, unsigned int);
/** /**
* show - display the top-level window * show - display the top-level window
* @param place general placement (FIXME: GUII) * @param x x position
* @param border border border type (FIXME: GUII) * @param y y position
* @param title window title * @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 /// start modal operation
virtual void prohibitInput() const; virtual void prohibitInput() const;
/// end modal operation /// end modal operation
virtual void allowInput() const; virtual void allowInput() const;
/// redraw the main form.
void redraw();
public slots: public slots:
/// menu item has been selected /// menu item has been selected
void activated(int id); void activated(int id);

View File

@ -138,9 +138,6 @@ QTexinfo
QtView QtView
- decide what to do about prohibit/allowInput - decide what to do about prohibit/allowInput
- fix show()
- remove redraw() and others
- add minibuffer
- add autosave timeout - add autosave timeout