Hi. I've got some problems with my program code. Here it goes:
ConvertDialog.h:
Qt Code:
  1. #ifndef CONVERTDIALOG_H
  2. #define CONVERTDIALOG_H
  3.  
  4. #include "ui_ConvertDialog.h"
  5.  
  6.  
  7.  
  8. class convertDialog : public QDialog, public Ui::convertDialog
  9. {
  10. Q_OBJECT
  11.  
  12. public:
  13. convertDialog(QWidget *parent = 0);
  14.  
  15. public slots:
  16.  
  17. bool settingUp();
  18.  
  19.  
  20. private:
  21.  
  22. Ui::convertDialog ui;
  23. };
  24.  
  25. #endif
To copy to clipboard, switch view to plain text mode 
Dialog.h
Qt Code:
  1. #ifndef DIALOG_H
  2. #define DIALOG_H
  3.  
  4. #include "ui_dialog.h"
  5.  
  6.  
  7.  
  8. class Dialog : public QDialog, public Ui::Dialog
  9. {
  10. Q_OBJECT
  11.  
  12. public:
  13. Dialog(QWidget *parent = 0);
  14.  
  15. void displayConvertDialog();
  16.  
  17.  
  18.  
  19.  
  20.  
  21. private:
  22.  
  23. Ui::Dialog ui;
  24. };
  25.  
  26. #endif
To copy to clipboard, switch view to plain text mode