diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2016-11-21 11:08:48 +0100 | 
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-11-21 11:08:48 +0100 | 
| commit | daa0cc1348c40d7f654621f6a82b01934129a79f (patch) | |
| tree | 96b91d2dea2a065c541d995da84a5c9df95f7f8f /tracker-test | |
| parent | 9fb8b48027ac8c03628955da2b186de88745e348 (diff) | |
tracker/{test,steamvr}: fix duplicate class names
It breaks translation.
Diffstat (limited to 'tracker-test')
| -rw-r--r-- | tracker-test/test.cpp | 8 | ||||
| -rw-r--r-- | tracker-test/test.h | 8 | 
2 files changed, 8 insertions, 8 deletions
| diff --git a/tracker-test/test.cpp b/tracker-test/test.cpp index eba1f603..78c72178 100644 --- a/tracker-test/test.cpp +++ b/tracker-test/test.cpp @@ -77,7 +77,7 @@ void test_tracker::data(double *data)          }  } -dialog::dialog() +test_dialog::test_dialog()  {      ui.setupUi(this); @@ -85,15 +85,15 @@ dialog::dialog()      connect(ui.buttonBox, SIGNAL(rejected()), this, SLOT(doCancel()));  } -void dialog::doOK() +void test_dialog::doOK()  {      //s.b->save();      close();  } -void dialog::doCancel() +void test_dialog::doCancel()  {      close();  } -OPENTRACK_DECLARE_TRACKER(test_tracker, dialog, metadata) +OPENTRACK_DECLARE_TRACKER(test_tracker, test_dialog, test_metadata) diff --git a/tracker-test/test.h b/tracker-test/test.h index fd446f98..8338e8f3 100644 --- a/tracker-test/test.h +++ b/tracker-test/test.h @@ -22,13 +22,13 @@ private:      Timer t;  }; -class dialog: public ITrackerDialog +class test_dialog : public ITrackerDialog  {      Q_OBJECT      Ui::test_ui ui;  public: -    dialog(); +    test_dialog();      void register_tracker(ITracker *) override {}      void unregister_tracker() override {}  private slots: @@ -36,10 +36,10 @@ private slots:      void doCancel();  }; -class metadata : public Metadata +class test_metadata : public Metadata  {  public: -    QString name() { return QString(QCoreApplication::translate("metadata", "Testing - sine wave")); } +    QString name() { return QString(QCoreApplication::translate("test_metadata", "Testing - sine wave")); }      QIcon icon() { return QIcon(":/images/facetracknoir.png"); }  }; | 
