summaryrefslogtreecommitdiffstats
path: root/sip/kresources
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-03 22:23:44 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-03 22:23:44 -0600
commit203ba231d0276943aae36111f9ec1e949f3c6a4c (patch)
treef039f7a5b5fc2da88a96876971bac580d87f6788 /sip/kresources
parentfd35f4a8382b7d223bc0325b9ca3f88515778aa0 (diff)
downloadpytde-203ba231d0276943aae36111f9ec1e949f3c6a4c.tar.gz
pytde-203ba231d0276943aae36111f9ec1e949f3c6a4c.zip
Initial TQt conversion
Diffstat (limited to 'sip/kresources')
-rw-r--r--sip/kresources/configdialog.sip4
-rw-r--r--sip/kresources/configwidget.sip4
-rw-r--r--sip/kresources/factory.sip14
-rw-r--r--sip/kresources/resource.sip20
-rw-r--r--sip/kresources/selectdialog.sip10
5 files changed, 26 insertions, 26 deletions
diff --git a/sip/kresources/configdialog.sip b/sip/kresources/configdialog.sip
index 744e14b..d49cf85 100644
--- a/sip/kresources/configdialog.sip
+++ b/sip/kresources/configdialog.sip
@@ -36,13 +36,13 @@ class ConfigDialog : KDialogBase
public:
- ConfigDialog (QWidget*, const QString&, KRES::Resource*, const char* = 0);
+ ConfigDialog (TQWidget*, const TQString&, KRES::Resource*, const char* = 0);
void setInEditMode (bool);
protected slots:
void accept ();
void setReadOnly (bool);
- void slotNameChanged (const QString&);
+ void slotNameChanged (const TQString&);
}; // class ConfigDialog
diff --git a/sip/kresources/configwidget.sip b/sip/kresources/configwidget.sip
index 822fe5a..7a5f6f6 100644
--- a/sip/kresources/configwidget.sip
+++ b/sip/kresources/configwidget.sip
@@ -28,7 +28,7 @@
namespace KRES
{
-class ConfigWidget : QWidget
+class ConfigWidget : TQWidget
{
%TypeHeaderCode
#include <configwidget.h>
@@ -36,7 +36,7 @@ class ConfigWidget : QWidget
public:
- ConfigWidget (QWidget* = 0, const char* = 0);
+ ConfigWidget (TQWidget* = 0, const char* = 0);
virtual void setInEditMode (bool);
public slots:
diff --git a/sip/kresources/factory.sip b/sip/kresources/factory.sip
index 8a35b79..b854414 100644
--- a/sip/kresources/factory.sip
+++ b/sip/kresources/factory.sip
@@ -36,15 +36,15 @@ class Factory
public:
- static KRES::Factory* self (const QString&);
- KRES::ConfigWidget* configWidget (const QString&, QWidget* = 0);
- KRES::Resource* resource (const QString&, const KConfig*);
- QStringList typeNames () const;
- QString typeName (const QString&) const;
- QString typeDescription (const QString&) const;
+ static KRES::Factory* self (const TQString&);
+ KRES::ConfigWidget* configWidget (const TQString&, TQWidget* = 0);
+ KRES::Resource* resource (const TQString&, const KConfig*);
+ TQStringList typeNames () const;
+ TQString typeName (const TQString&) const;
+ TQString typeDescription (const TQString&) const;
protected:
- Factory (const QString&);
+ Factory (const TQString&);
}; // class Factory
diff --git a/sip/kresources/resource.sip b/sip/kresources/resource.sip
index 3c044b7..c4a067f 100644
--- a/sip/kresources/resource.sip
+++ b/sip/kresources/resource.sip
@@ -28,7 +28,7 @@
namespace KRES
{
-class Resource : QObject
+class Resource : TQObject
{
%TypeHeaderCode
#include <kconfig.h>
@@ -37,18 +37,18 @@ class Resource : QObject
public:
- typedef QValueList<KRES::Resource*> List;
+ typedef TQValueList<KRES::Resource*> List;
Resource (const KConfig*);
virtual void writeConfig (KConfig*);
bool open ();
void close ();
bool isOpen () const;
- QString identifier () const;
- QString type () const;
+ TQString identifier () const;
+ TQString type () const;
virtual void setReadOnly (bool);
virtual bool readOnly () const;
- virtual void setResourceName (const QString&);
- virtual QString resourceName () const;
+ virtual void setResourceName (const TQString&);
+ virtual TQString resourceName () const;
void setActive (bool);
bool isActive () const;
virtual void dump () const;
@@ -56,8 +56,8 @@ public:
protected:
virtual bool doOpen ();
virtual void doClose ();
- void setIdentifier (const QString&);
- void setType (const QString&);
+ void setIdentifier (const TQString&);
+ void setType (const TQString&);
}; // class Resource
@@ -71,10 +71,10 @@ class PluginFactoryBase : KLibFactory
public:
virtual KRES::Resource* resource (const KConfig*) = 0;
- virtual KRES::ConfigWidget* configWidget (QWidget*) = 0;
+ virtual KRES::ConfigWidget* configWidget (TQWidget*) = 0;
protected:
- virtual QObject* createObject (QObject*, const char*, const char*, const QStringList&);
+ virtual TQObject* createObject (TQObject*, const char*, const char*, const TQStringList&);
}; // class PluginFactoryBase
diff --git a/sip/kresources/selectdialog.sip b/sip/kresources/selectdialog.sip
index fff14f6..c0d8872 100644
--- a/sip/kresources/selectdialog.sip
+++ b/sip/kresources/selectdialog.sip
@@ -40,9 +40,9 @@ class SelectDialog
public:
- SelectDialog (QPtrList<KRES::Resource>, QWidget* = 0, const char* = 0);
+ SelectDialog (TQPtrList<KRES::Resource>, TQWidget* = 0, const char* = 0);
KRES::Resource* resource ();
- static KRES::Resource* getResource (QPtrList<KRES::Resource>, QWidget* = 0);
+ static KRES::Resource* getResource (TQPtrList<KRES::Resource>, TQWidget* = 0);
//force
private:
@@ -58,7 +58,7 @@ private:
%If (KDE_3_2_0 - )
-%MappedType QPtrList<KRES::Resource>
+%MappedType TQPtrList<KRES::Resource>
//converts a Python list of KRES::Resource
{
%TypeHeaderCode
@@ -79,7 +79,7 @@ private:
// Get it.
- QPtrList<KRES::Resource> *cpplist = (QPtrList<KRES::Resource> *)sipCpp;
+ TQPtrList<KRES::Resource> *cpplist = (TQPtrList<KRES::Resource> *)sipCpp;
KRES::Resource *cpp;
PyObject *inst;
@@ -101,7 +101,7 @@ private:
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QPtrList<KRES::Resource> *cpplist = new QPtrList<KRES::Resource>;
+ TQPtrList<KRES::Resource> *cpplist = new TQPtrList<KRES::Resource>;
PyObject *elem;
KRES::Resource *cpp;