This file is indexed.

/usr/include/odinqt/jdxblockwidget.h is in libodin-dev 1.8.8-2ubuntu1.

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
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
/***************************************************************************
                          jdxblockwidget.h  -  description
                             -------------------
    begin                : Mon Aug 5 2005
    copyright            : (C) 2000-2014 by Thies H. Jochimsen
    email                : thies@jochimsen.de
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   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.                                   *
 *                                                                         *
 ***************************************************************************/

#ifndef JDXBLOCKWIDGET_H
#define JDXBLOCKWIDGET_H

#include <qgroupbox.h>

#include "odinqt.h"

#include <odinpara/jdxblock.h>

class JDXwidgetDialog; // forward declaration

////////////////////////////////////////////////////////////

class JcampDxBlockGrid : public QWidget  {

 Q_OBJECT

 public:
  JcampDxBlockGrid(JcampDxBlock& block,unsigned int columns=1,QWidget *parent=0,const char* omittext="");

 signals:
  // public:
  void valueChanged();

  // private:
  void updateSubWidget();
  void deleteSubDialogs();

 public slots:
  void updateWidget();
  void deleteDialogs();
  void swapSliderTracking() {}
  void emitValueChanged() {emit valueChanged();}


 private:
  friend class JcampDxBlockScrollView;

  void createDialog();

  GuiGridLayout* grid;

  JcampDxBlock& val;
  STD_list<JDXwidgetDialog*> subdialogs;

};

////////////////////////////////////////////////////////////

class JcampDxBlockScrollView : public QObject {
 Q_OBJECT

 public:
  JcampDxBlockScrollView(JcampDxBlock& block, unsigned int columns=1, QWidget *parent=0, const char* omittext="");
  ~JcampDxBlockScrollView();

//  QSize gridsize() const {return jdxgrid->frameSize();}

  QWidget* get_widget() {return scroll->get_widget();}

 signals:
  void valueChanged();

 public slots:
  void updateWidget() {jdxgrid->updateWidget();}
  void deleteDialogs() {jdxgrid->deleteDialogs();}
  void swapSliderTracking() {jdxgrid->swapSliderTracking();}
  void emitValueChanged() {emit valueChanged();}

 private:
  friend class JcampDxBlockWidget;

  void createDialog() {jdxgrid->createDialog();}

  GuiScroll* scroll;
  JcampDxBlockGrid* jdxgrid;

};

////////////////////////////////////////////////////////////

class JcampDxBlockWidget : public QGroupBox  {

 Q_OBJECT

 public:
  JcampDxBlockWidget(JcampDxBlock& jdxblock,unsigned int columns=1,QWidget *parent=0,bool doneButton=false,bool is_dialog=false,const char* omittext="", bool storeLoadButtons=false, bool readonly=false);
  ~JcampDxBlockWidget();

//  QSize gridsize() const {if(jdxscroll) return jdxscroll->gridsize(); else return QSize();}

 signals:
  void valueChanged();
  void doneButtonPressed();


 public slots:
  void updateWidget() {if(jdxscroll) jdxscroll->updateWidget();}
  void deleteDialogs() {if(jdxscroll) jdxscroll->deleteDialogs();}
  void swapSliderTracking() {if(jdxscroll) jdxscroll->swapSliderTracking();}
  void createDialog();
  void emitValueChanged() {emit valueChanged();}

 private slots:
  void emitDone();
  void storeBlock();
  void loadBlock();

 private:

  GuiGridLayout *grid;
  GuiButton *pb_done;
  GuiButton *pb_edit;
  GuiButton *pb_store;
  GuiButton *pb_load;

  JcampDxBlock& parblock;

  JcampDxBlockScrollView* jdxscroll;

  GuiListView* noeditlist;
  STD_vector<GuiListItem*> noedititems;
};

////////////////////////////////////////////////////////////





class JDXwidgetDialog : public QObject, public GuiDialog  {
   Q_OBJECT
public:
  JDXwidgetDialog(JcampDxBlock& ldr,unsigned int columns=1,QWidget *parent=0, bool modal=false, bool readonly=false);
  ~JDXwidgetDialog();

 public slots:
  void updateWidget();
  void emitChanged();

 private:
  GuiGridLayout *grid;
  JcampDxBlockWidget *jdx;


private slots:
  void callDone();

signals:
  void finished();
  void valueChanged();


};


#endif