diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-26 11:37:59 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-27 23:21:11 +0900 |
commit | 776d38202f9be592e1b6b99dbc81a64ee584c5c0 (patch) | |
tree | 031b4a65a6968ec8bc35197bdb4e01df3ac0819f /src/modules | |
parent | 84057ea26e8662283fd441a21067bdf1f599e82e (diff) | |
download | kvirc-776d38202f9be592e1b6b99dbc81a64ee584c5c0.tar.gz kvirc-776d38202f9be592e1b6b99dbc81a64ee584c5c0.zip |
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* versionr14.1.1
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 87c77000cf1838c2695e7944d4f205ffb9fb44b4)
Diffstat (limited to 'src/modules')
-rwxr-xr-x | src/modules/options/mkcreateinstanceproc.sh | 20 |
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) { |