]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt2/QLImage.h
better selection and scrolling behaviour
[lyx.git] / src / frontends / qt2 / QLImage.h
index ec30c356a5d2deef47fa88cb78d33e04597a5506..2e0f7f7f2512ed8e7e6f06de43d50e91fed7a5d4 100644 (file)
@@ -1,11 +1,13 @@
 // -*- C++ -*-
 /**
  * \file QLImage.h
- * Copyright 2002 the LyX Team
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- * \author Angus Leeming, a.leeming@ic.ac.uk
- * \author John Levon <moz@compsoc.man.ac.uk>
+ * \author Angus Leeming
+ * \author John Levon
+ *
+ * Full author contact details are available in file CREDITS
  */
 
 #ifndef QLIMAGE_H
 #endif
 
 #include "graphics/GraphicsImage.h"
+
 #include <qpixmap.h>
+
 namespace grfx {
 
-class QLImage : public Image
-{
+class QLImage : public Image {
 public:
        /// Access to this class is through this static method.
        static ImagePtr newImage();
@@ -35,9 +36,6 @@ public:
        /// Create a copy
        virtual Image * clone() const;
 
-       /// FIXME
-       virtual Pixmap getPixmap() const;
-
        QPixmap const & qpixmap() const { return xformed_pixmap_; }
 
        /// Get the image width
@@ -46,7 +44,10 @@ public:
        /// Get the image height
        virtual unsigned int getHeight() const;
 
-       /** 
+       // FIXME
+       virtual bool isDrawable() const { return true; }
+
+       /**
         * Load the image file into memory.
         * The process is asynchronous, so this method starts the loading.
         * When finished, the Image::finishedLoading signal is emitted.
@@ -69,7 +70,6 @@ public:
 
        /// Scale the image using params.
        virtual void scale(Params const & params);
-
 private:
        /// Access to the class is through newImage() and clone.
        QLImage();