summaryrefslogtreecommitdiffstats
path: root/kpilot/Documentation
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kpilot/Documentation
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 caa2ab20d..a55a0e647 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 b92b9cb9e..f38cb5c83 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;