Changeset 12054 for trunk


Ignore:
Timestamp:
09/09/11 10:10:28 (13 years ago)
Author:
tbretz
Message:
Removed a global namespace definition from the header file.
Location:
trunk/FACT++/gui
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/gui/QCameraWidget.cc

    r12051 r12054  
    22#include <sstream>
    33#include <iostream>
     4
     5using namespace std;
    46
    57    QCameraWidget::QCameraWidget(QWidget *pparent) : BasicGlCamera(pparent)
  • trunk/FACT++/gui/QCameraWidget.h

    r11997 r12054  
    66#include <set>
    77
    8 
    9 using namespace std;
    10 
    118class QCameraWidget : public BasicGlCamera
    129{
    1310    Q_OBJECT
    1411
    15     typedef pair<double, double> Position;
    16     typedef vector<Position> Positions;
     12    typedef std::pair<double, double> Position;
     13    typedef std::vector<Position> Positions;
    1714
    1815    //FIXME this variable seems to be deprecated
    1916    Positions fGeom;
    2017
    21     vector<bool> fBold;
    22     vector<bool> fEnable;
     18    std::vector<bool> fBold;
     19    std::vector<bool> fEnable;
    2320
    24     vector<int> highlightedPatches;
    25     vector<int> highlightedPixels;
     21    std::vector<int> highlightedPatches;
     22    std::vector<int> highlightedPixels;
    2623
    2724
     
    5047     char *GetObjectInfo(int px, int py);
    5148
    52      void SetData(const valarray<double> &ddata);
    53      void SetData(const valarray<float> &ddata);
     49     void SetData(const std::valarray<double> &ddata);
     50     void SetData(const std::valarray<float> &ddata);
    5451
    5552
Note: See TracChangeset for help on using the changeset viewer.