summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-31 03:28:26 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-05 20:47:55 +0200
commitc58391350226dadfda26377c9277ff0d9eb11e2c (patch)
tree84fbc66fd68b114e5c68aba03e019cc19854c624
parent14e8f258438c5e68aca16fbd3a12b58a497311b8 (diff)
downloadkvirc-c58391350226dadfda26377c9277ff0d9eb11e2c.tar.gz
kvirc-c58391350226dadfda26377c9277ff0d9eb11e2c.zip
Fix FTBFS
(cherry picked from commit 2285efe5dc2c83eda4578527b65f759f6382d094)
-rwxr-xr-xsrc/modules/options/mkcreateinstanceproc.sh11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/modules/options/mkcreateinstanceproc.sh b/src/modules/options/mkcreateinstanceproc.sh
index c426230e..5e504fa0 100755
--- a/src/modules/options/mkcreateinstanceproc.sh
+++ b/src/modules/options/mkcreateinstanceproc.sh
@@ -56,7 +56,7 @@ typedef struct _KviOptionsWidgetInstanceEntry KviOptionsWidgetInstanceEntry;
typedef struct _KviOptionsWidgetInstanceEntry
{
- KviOptionsWidget * (*createProc)(QWidget *);
+ KviOptionsWidget * (*createProc)(TQWidget *);
KviOptionsWidget * pWidget; // singleton
int iIcon;
QString szName;
@@ -73,9 +73,10 @@ typedef struct _KviOptionsWidgetInstanceEntry
} KviOptionsWidgetInstanceEntry;
-class KviOptionsInstanceManager : public QObject
+class KviOptionsInstanceManager : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
KviOptionsInstanceManager();
virtual ~KviOptionsInstanceManager();
@@ -83,14 +84,14 @@ protected:
KviPointerList<KviOptionsWidgetInstanceEntry> * m_pInstanceTree;
public:
KviPointerList<KviOptionsWidgetInstanceEntry> * instanceEntryTree(){ return m_pInstanceTree; };
- KviOptionsWidget * getInstance(KviOptionsWidgetInstanceEntry * e,QWidget * par);
+ KviOptionsWidget * getInstance(KviOptionsWidgetInstanceEntry * e,TQWidget * par);
KviOptionsWidgetInstanceEntry * findInstanceEntry(const char * clName);
void cleanup(KviModule * m);
protected:
KviOptionsWidgetInstanceEntry * findInstanceEntry(const char * clName,KviPointerList<KviOptionsWidgetInstanceEntry> * l);
- KviOptionsWidgetInstanceEntry * findInstanceEntry(const QObject * ptr,KviPointerList<KviOptionsWidgetInstanceEntry> * l);
+ KviOptionsWidgetInstanceEntry * findInstanceEntry(const TQObject * ptr,KviPointerList<KviOptionsWidgetInstanceEntry> * l);
void deleteInstanceTree(KviPointerList<KviOptionsWidgetInstanceEntry> * l);
-protected Q_SLOTS:
+protected slots:
void widgetDestroyed();
};