QT Designer and Kdevelop - follow up

Phil phil at spiderweb.com.au
Fri Jan 12 21:54:20 GMT 2001


Since posting my early plea I have progressed a little further. I feel that I 
am very close to the answer and that the problem is in myclass.cpp (see 
below).

------
myclass.h

#ifndef MYCLASS_H
#define MYCLASS_H

#include "dial.h"

class myClass : public Form1
{
	Q_OBJECT
	public:
		myClass( QWidget* parent = 0, const char* name = 0,
    	               bool modal = FALSE, WFlags f = 0 ) :
    	Form1( parent, name, modal, f ) {}
		~myClass();
};

#endif

------
myclass.cpp

#include "myclass.h"

myClass::myClass( QWidget* parent, const char* name,
    	               bool modal, WFlags f ) :
    	Form1( parent, name, modal, f )
{
}
myClass::~myClass(){
}

------
main.cpp (the tail end)

  KApplication a;

  Form1 dialog( 0, "dialog name", true );
  a.setMainWidget( &dialog );

  int ret = dialog.exec();
  return ret;
}


-- 
Regards,
Phil
phil at spiderweb.com.au

-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list