]> git.lyx.org Git - lyx.git/commitdiff
A couple more TODO shootdowns
authorJohn Levon <levon@movementarian.org>
Fri, 12 Jul 2002 01:59:01 +0000 (01:59 +0000)
committerJohn Levon <levon@movementarian.org>
Fri, 12 Jul 2002 01:59:01 +0000 (01:59 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4610 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt2/ChangeLog
src/frontends/qt2/QtView.C
src/frontends/qt2/QtView.h
src/frontends/qt2/TODO

index 8f74431df9754d6ae59f6b3ab1d2b71204494220..349b55bb03de60353fe8596ef5ec9872aa1e25d8 100644 (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>
 
        * Makefile.am:
index 2e057feaddc2f14d79be50d1a09457009304d322..d0828906cd772481e5815c82b04f85c6b9a6903d 100644 (file)
@@ -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();
 }
index d33fbbe3e636754aa7e7b5bda4629e99532c1412..a781af1cf8872aef2267f56ae43e1db43a140f13 100644 (file)
@@ -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);
index 0c6d6d18063c07104d8952c4a7f235c44993e97a..f065aaf4a12bd5ef514b5d2da443ce174ff8dcab 100644 (file)
@@ -138,9 +138,6 @@ QTexinfo
 QtView
 
        - decide what to do about prohibit/allowInput 
-       - fix show() 
-       - remove redraw() and others
-       - add minibuffer
        - add autosave timeout