Skip to content

Commit

Permalink
Making use of qtgui's backgroundfileformat
Browse files Browse the repository at this point in the history
Signed-off-by: Adarsh Balasubramanian <[email protected]>
  • Loading branch information
badarsh2 committed Sep 28, 2018
1 parent 584d7d7 commit 84f72b7
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 196 deletions.
2 changes: 1 addition & 1 deletion avogadro/qtplugins/customelements/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ avogadro_plugin(CustomElements
ExtensionPlugin
customelements.h
CustomElements
"customelements.cpp;backgroundfileformat.cpp"
"customelements.cpp"
)
86 changes: 0 additions & 86 deletions avogadro/qtplugins/customelements/backgroundfileformat.cpp

This file was deleted.

107 changes: 0 additions & 107 deletions avogadro/qtplugins/customelements/backgroundfileformat.h

This file was deleted.

3 changes: 2 additions & 1 deletion avogadro/qtplugins/customelements/customelements.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
******************************************************************************/

#include "customelements.h"
#include "backgroundfileformat.h"

#include <avogadro/qtgui/backgroundfileformat.h>
#include <avogadro/qtgui/customelementdialog.h>
#include <avogadro/qtgui/fileformatdialog.h>
#include <avogadro/qtgui/molecule.h>
Expand All @@ -27,6 +27,7 @@
#include <QtWidgets/QMessageBox>
#include <QtWidgets/QProgressDialog>

using Avogadro::QtGui::BackgroundFileFormat;
using Avogadro::QtGui::Molecule;

namespace Avogadro {
Expand Down
4 changes: 3 additions & 1 deletion avogadro/qtplugins/customelements/customelements.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ class QThread;

namespace Avogadro {

namespace QtGui {
class BackgroundFileFormat;
}

namespace QtPlugins {

Expand Down Expand Up @@ -57,7 +59,7 @@ private slots:
QAction* m_reassignUsingTool;
QAction* m_reassignFromFile;
QThread* m_fileReadThread;
BackgroundFileFormat* m_threadedReader;
QtGui::BackgroundFileFormat* m_threadedReader;
QtGui::Molecule* m_fileReadMolecule;
QProgressDialog* m_progressDialog;

Expand Down

0 comments on commit 84f72b7

Please sign in to comment.