summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-26 11:37:59 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-26 11:37:59 +0900
commit87c77000cf1838c2695e7944d4f205ffb9fb44b4 (patch)
tree50ce8565cafe169542b07275b1e3add59e80fe1b /src
parentee077affc0b8b1df873d13d00e66e8044e5d505b (diff)
downloadkvirc-87c77000cf1838c2695e7944d4f205ffb9fb44b4.tar.gz
kvirc-87c77000cf1838c2695e7944d4f205ffb9fb44b4.zip
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src')
-rwxr-xr-xsrc/modules/options/mkcreateinstanceproc.sh20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/modules/options/mkcreateinstanceproc.sh b/src/modules/options/mkcreateinstanceproc.sh
index d2a1d0ae..ac4926b5 100755
--- a/src/modules/options/mkcreateinstanceproc.sh
+++ b/src/modules/options/mkcreateinstanceproc.sh
@@ -59,13 +59,13 @@ typedef struct _KviOptionsWidgetInstanceEntry
KviOptionsWidget * (*createProc)(TQWidget *);
KviOptionsWidget * pWidget; // singleton
int iIcon;
- QString szName;
- QString szNameNoLocale;
+ TQString szName;
+ TQString szNameNoLocale;
const char * szClassName;
int iPriority;
- QString szKeywords;
- QString szKeywordsNoLocale;
- QString szGroup;
+ TQString szKeywords;
+ TQString szKeywordsNoLocale;
+ TQString szGroup;
bool bIsContainer;
bool bIsNotContained;
KviPointerList<KviOptionsWidgetInstanceEntry> * pChildList;
@@ -160,7 +160,7 @@ EOF
for aclass in $CLASS_LIST; do
echo -n "KviOptionsWidget * class$aclass" >> $TARGET
- echo "_createInstanceProc(QWidget * parent)" >> $TARGET
+ echo "_createInstanceProc(TQWidget * parent)" >> $TARGET
echo "{" >> $TARGET
echo " return new $aclass(parent);" >> $TARGET
echo "}" >> $TARGET
@@ -183,7 +183,7 @@ done
cat >> instances.cpp <<EOF
KviOptionsInstanceManager::KviOptionsInstanceManager()
-: QObject(0)
+: TQObject(0)
{
//tqDebug("Instantiating");
@@ -343,7 +343,7 @@ void KviOptionsInstanceManager::widgetDestroyed()
}
-KviOptionsWidget * KviOptionsInstanceManager::getInstance(KviOptionsWidgetInstanceEntry * e,QWidget * par)
+KviOptionsWidget * KviOptionsInstanceManager::getInstance(KviOptionsWidgetInstanceEntry * e,TQWidget * par)
{
if(!e)return 0;
if(!(e->pWidget))
@@ -354,7 +354,7 @@ KviOptionsWidget * KviOptionsInstanceManager::getInstance(KviOptionsWidgetInstan
}
if(e->pWidget->parent() != par)
{
- QWidget * oldPar = (QWidget *)e->pWidget->parent();
+ TQWidget * oldPar = (TQWidget *)e->pWidget->parent();
e->pWidget->reparent(par,TQPoint(0,0));
delete oldPar;
}
@@ -394,7 +394,7 @@ KviOptionsWidget * KviOptionsInstanceManager::getInstance(KviOptionsWidgetInstan
return e->pWidget;
}
-KviOptionsWidgetInstanceEntry * KviOptionsInstanceManager::findInstanceEntry(const QObject * ptr,KviPointerList<KviOptionsWidgetInstanceEntry> * l)
+KviOptionsWidgetInstanceEntry * KviOptionsInstanceManager::findInstanceEntry(const TQObject * ptr,KviPointerList<KviOptionsWidgetInstanceEntry> * l)
{
if(l)
{