summaryrefslogtreecommitdiffstats
path: root/kpilot/Documentation
diff options
context:
space:
mode:
Diffstat (limited to 'kpilot/Documentation')
-rw-r--r--kpilot/Documentation/ConduitProgrammingTutorial/mal-factory.cc8
-rw-r--r--kpilot/Documentation/ConduitProgrammingTutorial/mal-factory.h8
2 files changed, 8 insertions, 8 deletions
diff --git a/kpilot/Documentation/ConduitProgrammingTutorial/mal-factory.cc b/kpilot/Documentation/ConduitProgrammingTutorial/mal-factory.cc
index caa2ab20..a55a0e64 100644
--- a/kpilot/Documentation/ConduitProgrammingTutorial/mal-factory.cc
+++ b/kpilot/Documentation/ConduitProgrammingTutorial/mal-factory.cc
@@ -40,7 +40,7 @@ const char *MALConduitFactory::fProxyPort = "Proxy Port";
const char *MALConduitFactory::fProxyUser = "Proxy User";
const char *MALConduitFactory::fProxyPassword = "Proxy Password";
-MALConduitFactory::MALConduitFactory(QObject *p, const char *n) :
+MALConduitFactory::MALConduitFactory(TQObject *p, const char *n) :
KLibFactory(p,n)
{
FUNCTIONSETUP;
@@ -70,10 +70,10 @@ MALConduitFactory::~MALConduitFactory()
KPILOT_DELETE(fAbout);
}
-/* virtual */ QObject *MALConduitFactory::createObject( QObject *p,
+/* virtual */ TQObject *MALConduitFactory::createObject( TQObject *p,
const char *n,
const char *c,
- const QStringList &a)
+ const TQStringList &a)
{
FUNCTIONSETUP;
@@ -86,7 +86,7 @@ MALConduitFactory::~MALConduitFactory()
if (qstrcmp(c,"ConduitConfig")==0)
{
- QWidget *w = dynamic_cast<QWidget *>(p);
+ TQWidget *w = dynamic_cast<TQWidget *>(p);
if (w)
{
diff --git a/kpilot/Documentation/ConduitProgrammingTutorial/mal-factory.h b/kpilot/Documentation/ConduitProgrammingTutorial/mal-factory.h
index b92b9cb9..f38cb5c8 100644
--- a/kpilot/Documentation/ConduitProgrammingTutorial/mal-factory.h
+++ b/kpilot/Documentation/ConduitProgrammingTutorial/mal-factory.h
@@ -17,7 +17,7 @@ class MALConduitFactory : public KLibFactory
Q_OBJECT
public:
- MALConduitFactory(QObject * = 0L,const char * = 0L);
+ MALConduitFactory(TQObject * = 0L,const char * = 0L);
virtual ~MALConduitFactory();
static KAboutData *about() { return fAbout; } ;
@@ -34,10 +34,10 @@ public:
static const char *malPassword() {return fMALPassword;};
protected:
- virtual QObject* createObject( QObject* parent = 0,
+ virtual TQObject* createObject( TQObject* parent = 0,
const char* name = 0,
- const char* classname = "QObject",
- const QStringList &args = QStringList() );
+ const char* classname = "TQObject",
+ const TQStringList &args = TQStringList() );
private:
KInstance *fInstance;
static KAboutData *fAbout;