Changeset 5051 in ntrip for trunk/GnssCenter


Ignore:
Timestamp:
Mar 28, 2013, 6:42:49 PM (11 years ago)
Author:
mervart
Message:
 
Location:
trunk/GnssCenter/inpedit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/GnssCenter/inpedit/inpedit.cpp

    r5033 r5051  
    2323using namespace GnssCenter;
    2424
    25 Q_EXPORT_PLUGIN2(gnsscenter_inpedit, GnssCenter::t_inpEdit)
     25Q_EXPORT_PLUGIN2(gnsscenter_inpedit, GnssCenter::t_inpEditFactory)
    2626
    2727// Constructor
  • trunk/GnssCenter/inpedit/inpedit.h

    r5015 r5051  
    1111
    1212class t_inpEdit : public QTabWidget, public t_pluginInterface {
    13  Q_OBJECT
    14  Q_INTERFACES(GnssCenter::t_pluginInterface)
    15 
    1613 public:
    1714  t_inpEdit();
     
    2017  virtual void setInputFile(const QString&);
    2118  virtual void show() {QTabWidget::show();}   
    22 
    2319 private:
    2420  void readFile();
     
    2723};
    2824
     25class t_inpEditFactory : public QObject, public t_pluginFactoryInterface {
     26 Q_OBJECT
     27 Q_INTERFACES(GnssCenter::t_pluginFactoryInterface)
     28 public:
     29  t_pluginInterface* create() {return new t_inpEdit();}
     30};
     31
    2932} // namespace GnssCenter
    3033
Note: See TracChangeset for help on using the changeset viewer.