Import upstream version 0.99.2
[fmit.git] / src / modules / DialView.h
index 35ebbf7..b5aad49 100644 (file)
@@ -6,12 +6,12 @@
 // it under the terms of the GNU General Public License as published by
 // the Free Software Foundation; either version 2 of the License, or
 // (at your option) any later version.
-// 
+//
 // "fmit" is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 // GNU General Public License for more details.
-// 
+//
 // You should have received a copy of the GNU General Public License
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
@@ -29,7 +29,7 @@ class DialView : public QFrame, public View
 {
        Q_OBJECT
 
-       virtual void drawContents(QPainter* p);
+       virtual void paintEvent(QPaintEvent* event);
        virtual void mouseReleaseEvent(QMouseEvent* e){View::mouseReleaseEvent(e);}
        void drawTextTickCent(QPainter& p, int bigw, int bigh, int r);
        void drawTicksCent(QPainter& p, int bigw, int bigh, int r, int ticks_size, int h);