mirror of https://github.com/jhol/qtdmm.git
MainWid: Use Q3Process compatibility class
This commit is contained in:
parent
41478ffcaf
commit
8271a8d030
|
@ -47,7 +47,7 @@ MainWid::MainWid( QWidget *parent, const char *name ) :
|
|||
setIcon( QPixmap((const char **)icon_xpm ) );
|
||||
|
||||
m_dmm = new DMM( this );
|
||||
m_external = new QProcess( this );
|
||||
m_external = new Q3Process( this );
|
||||
|
||||
m_configDlg = new ConfigDlg( this );
|
||||
m_configDlg->hide();
|
||||
|
@ -541,7 +541,7 @@ MainWid::startExternalSLOT()
|
|||
args.append( m_configDlg->externalCommand() );
|
||||
m_external->setArguments( args );
|
||||
|
||||
if (!m_external->launch(""))
|
||||
if (!m_external->launch(QString("")))
|
||||
{
|
||||
QString msg;
|
||||
msg.sprintf( tr("<font size=+2><b>Launch error</b></font><p>"
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
#include <ui_uimainwid.h>
|
||||
|
||||
#include <qprinter.h>
|
||||
#include <Q3Process>
|
||||
|
||||
class DMM;
|
||||
class PrintDlg;
|
||||
|
@ -87,7 +88,7 @@ protected:
|
|||
ConfigDlg *m_configDlg;
|
||||
PrintDlg *m_printDlg;
|
||||
QPrinter m_printer;
|
||||
QProcess *m_external;
|
||||
Q3Process *m_external;
|
||||
DisplayWid *m_display;
|
||||
double m_dval;
|
||||
TipDlg *m_tipDlg;
|
||||
|
|
Loading…
Reference in New Issue