This file is indexed.

/usr/include/BALL/VIEW/WIDGETS/canvasWidget.h is in libballview1.4-dev 1.4.3~beta1-3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
// -*- Mode: C++; tab-width: 2; -*-
// vi: set ts=2:
//

#ifndef BALL_VIEW_WIDGETS_CANVASWIDGET_H
#define BALL_VIEW_WIDGETS_CANVASWIDGET_H

#ifndef BALL_COMMON_GLOBAL_H
# include <BALL/COMMON/global.h>
#endif

#include <QCanvasWidget>
#include <QtGui/QPixmap>
#include <QtGui/QPainter>
#include <vector>

namespace BALL
{
  namespace VIEW
  {      
		///
    class BALL_VIEW_EXPORT CanvasWidget
      : public QCanvasView
    {
      Q_OBJECT    

      public:
      
			///
      class BALL_VIEW_EXPORT PixmapItem
				: public QCanvasRectangle
      {
				public:
					
				PixmapItem(QCanvas* canvas, const QPixmap& pixmap);
				
				PixmapItem(const PixmapItem& pixitem);

				virtual ~PixmapItem();
	
				QPixmap& getPixmap();

				protected:

				void drawShape(QPainter& p);

				QPixmap pixmap_;
	
      }; //end of class PixmapItem

			///
      CanvasWidget (QWidget *parent  = 0, 
										const char* name = 0, 
										Qt::WFlags f         = 0);
                

      //Destructor
      virtual ~CanvasWidget();  
      
      ///
      void showObjects();
      
    public slots:

      virtual void zoomIn();

      virtual void zoomOut();

      virtual void zoom(float xfactor,float yfactor);

      virtual void zoomToFit();

    protected:  

      //Copyconstructor doesn't work because of the QT private copy constructors
			CanvasWidget(const CanvasWidget& /*cw*/)
				: QCanvasView() {};

      QCanvas canvas_;
      std::vector<QCanvasItem*> objects_; //e.g PixItem, Polygonzuege
      
    };//end of class CanvasWidget

  }
}

#endif