diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 2af11d9103e8eb8aa289bc1e13bbeb995ce627c6 (patch) | |
tree | 33f627862caa5ef77ec2993f9c0b76cac73d7ab4 /ksquirrel/ksquirrelpart | |
parent | 79128018a1b71d8fa9218e925a2409abb6fce7d2 (diff) | |
download | ksquirrel-2af11d91.tar.gz ksquirrel-2af11d91.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ksquirrel@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksquirrel/ksquirrelpart')
29 files changed, 40 insertions, 40 deletions
diff --git a/ksquirrel/ksquirrelpart/ksquirrelpart.cpp b/ksquirrel/ksquirrelpart/ksquirrelpart.cpp index 160f6fd..f22b923 100644 --- a/ksquirrel/ksquirrelpart/ksquirrelpart.cpp +++ b/ksquirrel/ksquirrelpart/ksquirrelpart.cpp @@ -39,8 +39,8 @@ typedef KParts::GenericFactory<KSquirrelPart> KSquirrelFactory; K_EXPORT_COMPONENT_FACTORY(libksquirrelpart, KSquirrelFactory) KSquirrelPart::KSquirrelPart(TQWidget *parentWidget, const char *, - TQObject* tqparent, const char *name, - const TQStringList &) : KParts::ReadOnlyPart(tqparent, name) + TQObject* parent, const char *name, + const TQStringList &) : KParts::ReadOnlyPart(parent, name) { kdDebug() << "+KSquirrelPart" << endl; diff --git a/ksquirrel/ksquirrelpart/sq_bcglabel.cpp b/ksquirrel/ksquirrelpart/sq_bcglabel.cpp index 968dbd9..39c5f62 100644 --- a/ksquirrel/ksquirrelpart/sq_bcglabel.cpp +++ b/ksquirrel/ksquirrelpart/sq_bcglabel.cpp @@ -17,7 +17,7 @@ #include "sq_bcglabel.h" -SQ_BCGLabel::SQ_BCGLabel(TQWidget *tqparent, const char *name, WFlags f) : TQLabel(tqparent, name, f | TQt::WNoAutoErase) +SQ_BCGLabel::SQ_BCGLabel(TQWidget *parent, const char *name, WFlags f) : TQLabel(parent, name, f | TQt::WNoAutoErase) { setScaledContents(false); diff --git a/ksquirrel/ksquirrelpart/sq_bcglabel.h b/ksquirrel/ksquirrelpart/sq_bcglabel.h index 7c9bc86..d8546a9 100644 --- a/ksquirrel/ksquirrelpart/sq_bcglabel.h +++ b/ksquirrel/ksquirrelpart/sq_bcglabel.h @@ -27,7 +27,7 @@ class SQ_BCGLabel : public TQLabel { public: - SQ_BCGLabel(TQWidget *tqparent, const char *name = 0, WFlags f = 0); + SQ_BCGLabel(TQWidget *parent, const char *name = 0, WFlags f = 0); ~SQ_BCGLabel(); }; diff --git a/ksquirrel/ksquirrelpart/sq_config.cpp b/ksquirrel/ksquirrelpart/sq_config.cpp index 9cc2b82..8e6e0fa 100644 --- a/ksquirrel/ksquirrelpart/sq_config.cpp +++ b/ksquirrel/ksquirrelpart/sq_config.cpp @@ -23,7 +23,7 @@ SQ_Config * SQ_Config::m_instance = 0; -SQ_Config::SQ_Config(TQObject *tqparent) : TQObject(tqparent) +SQ_Config::SQ_Config(TQObject *parent) : TQObject(parent) { m_instance = this; diff --git a/ksquirrel/ksquirrelpart/sq_config.h b/ksquirrel/ksquirrelpart/sq_config.h index 4415d18..438a8e7 100644 --- a/ksquirrel/ksquirrelpart/sq_config.h +++ b/ksquirrel/ksquirrelpart/sq_config.h @@ -30,7 +30,7 @@ class KConfig; class SQ_Config : public TQObject { public: - SQ_Config(TQObject *tqparent = 0); + SQ_Config(TQObject *parent = 0); ~SQ_Config(); static SQ_Config* instance() { return m_instance; } diff --git a/ksquirrel/ksquirrelpart/sq_diroperator.cpp b/ksquirrel/ksquirrelpart/sq_diroperator.cpp index 129180f..00eabf6 100644 --- a/ksquirrel/ksquirrelpart/sq_diroperator.cpp +++ b/ksquirrel/ksquirrelpart/sq_diroperator.cpp @@ -25,7 +25,7 @@ SQ_DirOperator * SQ_DirOperator::m_inst = 0; -SQ_DirOperator::SQ_DirOperator(TQObject *tqparent) : TQObject(tqparent) +SQ_DirOperator::SQ_DirOperator(TQObject *parent) : TQObject(parent) { m_inst = this; @@ -75,12 +75,12 @@ void SQ_DirOperator::slotDownloadPercents(int p) SQ_GLWidget::window()->setDownloadPercents(p); } -void SQ_DirOperator::del(const KURL &u, TQWidget *tqparent) +void SQ_DirOperator::del(const KURL &u, TQWidget *parent) { KURL::List list; list.append(u); - KonqOperations::del(tqparent, KonqOperations::DEL, list); + KonqOperations::del(parent, KonqOperations::DEL, list); } #include "sq_diroperator.moc" diff --git a/ksquirrel/ksquirrelpart/sq_diroperator.h b/ksquirrel/ksquirrelpart/sq_diroperator.h index 2c2106c..a54d745 100644 --- a/ksquirrel/ksquirrelpart/sq_diroperator.h +++ b/ksquirrel/ksquirrelpart/sq_diroperator.h @@ -32,14 +32,14 @@ class SQ_DirOperator : public TQObject TQ_OBJECT public: - SQ_DirOperator(TQObject *tqparent = 0); + SQ_DirOperator(TQObject *parent = 0); ~SQ_DirOperator(); static SQ_DirOperator* instance() { return m_inst; } void execute(KFileItem *item); - void del(const KURL &u, TQWidget *tqparent = 0); + void del(const KURL &u, TQWidget *parent = 0); private: void executePrivate(KFileItem *); diff --git a/ksquirrel/ksquirrelpart/sq_downloader.cpp b/ksquirrel/ksquirrelpart/sq_downloader.cpp index 07759dc..31fecc5 100644 --- a/ksquirrel/ksquirrelpart/sq_downloader.cpp +++ b/ksquirrel/ksquirrelpart/sq_downloader.cpp @@ -30,7 +30,7 @@ #define SQ_PREDOWNLOAD_SIZE 50 -SQ_Downloader::SQ_Downloader(TQObject *tqparent, const char *name) : TQObject(tqparent, name), job(0), m_error(false) +SQ_Downloader::SQ_Downloader(TQObject *parent, const char *name) : TQObject(parent, name), job(0), m_error(false) { tmp = new KTempFile; tmp->setAutoDelete(true); diff --git a/ksquirrel/ksquirrelpart/sq_downloader.h b/ksquirrel/ksquirrelpart/sq_downloader.h index 949af80..dbb03f3 100644 --- a/ksquirrel/ksquirrelpart/sq_downloader.h +++ b/ksquirrel/ksquirrelpart/sq_downloader.h @@ -34,7 +34,7 @@ class SQ_Downloader : public TQObject TQ_OBJECT public: - SQ_Downloader(TQObject *tqparent = 0, const char *name = 0); + SQ_Downloader(TQObject *parent = 0, const char *name = 0); ~SQ_Downloader(); void start(KFileItem *fi); diff --git a/ksquirrel/ksquirrelpart/sq_errorstring.cpp b/ksquirrel/ksquirrelpart/sq_errorstring.cpp index dcbdb90..cd5a047 100644 --- a/ksquirrel/ksquirrelpart/sq_errorstring.cpp +++ b/ksquirrel/ksquirrelpart/sq_errorstring.cpp @@ -25,7 +25,7 @@ SQ_ErrorString * SQ_ErrorString::m_instance = 0; -SQ_ErrorString::SQ_ErrorString(TQObject *tqparent) : TQObject(tqparent) +SQ_ErrorString::SQ_ErrorString(TQObject *parent) : TQObject(parent) { m_instance = this; diff --git a/ksquirrel/ksquirrelpart/sq_errorstring.h b/ksquirrel/ksquirrelpart/sq_errorstring.h index 469fe47..b0df250 100644 --- a/ksquirrel/ksquirrelpart/sq_errorstring.h +++ b/ksquirrel/ksquirrelpart/sq_errorstring.h @@ -33,7 +33,7 @@ class SQ_ErrorString : public TQObject { public: - SQ_ErrorString(TQObject *tqparent = 0); + SQ_ErrorString(TQObject *parent = 0); ~SQ_ErrorString(); /* diff --git a/ksquirrel/ksquirrelpart/sq_externaltool.cpp b/ksquirrel/ksquirrelpart/sq_externaltool.cpp index adc0fda..cd5a5f7 100644 --- a/ksquirrel/ksquirrelpart/sq_externaltool.cpp +++ b/ksquirrel/ksquirrelpart/sq_externaltool.cpp @@ -45,7 +45,7 @@ Tool::Tool(const TQString &pix, const TQString &nam, const TQString &com) command = com; } -SQ_ExternalTool::SQ_ExternalTool(TQObject *tqparent) : TQObject(tqparent), TQValueVector<Tool>() +SQ_ExternalTool::SQ_ExternalTool(TQObject *parent) : TQObject(parent), TQValueVector<Tool>() { m_instance = this; menu = new SQ_PopupMenu(0, "External tools"); diff --git a/ksquirrel/ksquirrelpart/sq_externaltool.h b/ksquirrel/ksquirrelpart/sq_externaltool.h index a2c0e8a..1def26b 100644 --- a/ksquirrel/ksquirrelpart/sq_externaltool.h +++ b/ksquirrel/ksquirrelpart/sq_externaltool.h @@ -46,7 +46,7 @@ class SQ_ExternalTool : public TQObject, public TQValueVector<Tool> TQ_OBJECT public: - SQ_ExternalTool(TQObject *tqparent = 0); + SQ_ExternalTool(TQObject *parent = 0); ~SQ_ExternalTool(); /* diff --git a/ksquirrel/ksquirrelpart/sq_filedialog.cpp b/ksquirrel/ksquirrelpart/sq_filedialog.cpp index 6e8fb82..3b883b5 100644 --- a/ksquirrel/ksquirrelpart/sq_filedialog.cpp +++ b/ksquirrel/ksquirrelpart/sq_filedialog.cpp @@ -19,8 +19,8 @@ #include "sq_filedialog.h" -SQ_FileDialog::SQ_FileDialog(const TQString &path, TQWidget *tqparent) - : KFileDialog(path, TQString(), tqparent, "select_a_file", true) +SQ_FileDialog::SQ_FileDialog(const TQString &path, TQWidget *parent) + : KFileDialog(path, TQString(), parent, "select_a_file", true) {} SQ_FileDialog::~SQ_FileDialog() diff --git a/ksquirrel/ksquirrelpart/sq_filedialog.h b/ksquirrel/ksquirrelpart/sq_filedialog.h index 3c68956..6286c1b 100644 --- a/ksquirrel/ksquirrelpart/sq_filedialog.h +++ b/ksquirrel/ksquirrelpart/sq_filedialog.h @@ -27,7 +27,7 @@ class SQ_FileDialog : public KFileDialog { public: - SQ_FileDialog(const TQString &path, TQWidget *tqparent); + SQ_FileDialog(const TQString &path, TQWidget *parent); ~SQ_FileDialog(); TQString nameFilter() const; diff --git a/ksquirrel/ksquirrelpart/sq_glview.cpp b/ksquirrel/ksquirrelpart/sq_glview.cpp index 1624b7c..316a670 100644 --- a/ksquirrel/ksquirrelpart/sq_glview.cpp +++ b/ksquirrel/ksquirrelpart/sq_glview.cpp @@ -23,7 +23,7 @@ SQ_GLView * SQ_GLView::m_inst = 0; /***************************************/ -SQ_TextSetter::SQ_TextSetter(TQObject *tqparent) : TQObject(tqparent) +SQ_TextSetter::SQ_TextSetter(TQObject *parent) : TQObject(parent) { dest = "---"; } diff --git a/ksquirrel/ksquirrelpart/sq_glview.h b/ksquirrel/ksquirrelpart/sq_glview.h index 6f06a38..7fbe8b4 100644 --- a/ksquirrel/ksquirrelpart/sq_glview.h +++ b/ksquirrel/ksquirrelpart/sq_glview.h @@ -28,7 +28,7 @@ class SQ_TextSetter : public TQObject TQ_OBJECT public: - SQ_TextSetter(TQObject *tqparent = 0); + SQ_TextSetter(TQObject *parent = 0); ~SQ_TextSetter(); void setText(const TQString &); diff --git a/ksquirrel/ksquirrelpart/sq_glwidget.cpp b/ksquirrel/ksquirrelpart/sq_glwidget.cpp index 5c2fa4c..4891e6f 100644 --- a/ksquirrel/ksquirrelpart/sq_glwidget.cpp +++ b/ksquirrel/ksquirrelpart/sq_glwidget.cpp @@ -105,7 +105,7 @@ static const float SQ_ONSCREEN_LAYER = 10000.0; /* ***************************************************************************************** */ -SQ_GLWidget::SQ_GLWidget(TQWidget *tqparent, const char *name) : TQGLWidget(tqparent, name) +SQ_GLWidget::SQ_GLWidget(TQWidget *parent, const char *name) : TQGLWidget(parent, name) { kdDebug() << "+SQ_GLWidget" << endl; diff --git a/ksquirrel/ksquirrelpart/sq_glwidget.h b/ksquirrel/ksquirrelpart/sq_glwidget.h index 2c9ee58..bb092a9 100644 --- a/ksquirrel/ksquirrelpart/sq_glwidget.h +++ b/ksquirrel/ksquirrelpart/sq_glwidget.h @@ -127,7 +127,7 @@ class SQ_GLWidget : public TQGLWidget TQ_OBJECT public: - SQ_GLWidget(TQWidget *tqparent = 0, const char *name = 0); + SQ_GLWidget(TQWidget *parent = 0, const char *name = 0); ~SQ_GLWidget(); void setDownloadPercents(int); diff --git a/ksquirrel/ksquirrelpart/sq_glwidget_helpers.cpp b/ksquirrel/ksquirrelpart/sq_glwidget_helpers.cpp index f501478..6b770f8 100644 --- a/ksquirrel/ksquirrelpart/sq_glwidget_helpers.cpp +++ b/ksquirrel/ksquirrelpart/sq_glwidget_helpers.cpp @@ -36,8 +36,8 @@ #include "sq_glwidget_helpers.h" -SQ_ToolButtonPopup::SQ_ToolButtonPopup(const TQPixmap &pix, const TQString &textLabel, KToolBar *tqparent) - : KToolBarButton(pix, -1, tqparent, 0, textLabel) +SQ_ToolButtonPopup::SQ_ToolButtonPopup(const TQPixmap &pix, const TQString &textLabel, KToolBar *parent) + : KToolBarButton(pix, -1, parent, 0, textLabel) { setFixedWidth(SQ_ToolButton::fixedWidth()); } @@ -46,8 +46,8 @@ SQ_ToolButtonPopup::~SQ_ToolButtonPopup() {} SQ_ToolButton::SQ_ToolButton(const TQIconSet &iconSet, const TQString &textLabel, - TQObject *receiver, const char *slot, KToolBar *tqparent, const char *name) - : TQToolButton(iconSet, textLabel, TQString(), receiver, slot, tqparent, name) + TQObject *receiver, const char *slot, KToolBar *parent, const char *name) + : TQToolButton(iconSet, textLabel, TQString(), receiver, slot, parent, name) { setFixedWidth(SQ_ToolButton::fixedWidth()); } diff --git a/ksquirrel/ksquirrelpart/sq_glwidget_helpers.h b/ksquirrel/ksquirrelpart/sq_glwidget_helpers.h index 12dacfa..18e1956 100644 --- a/ksquirrel/ksquirrelpart/sq_glwidget_helpers.h +++ b/ksquirrel/ksquirrelpart/sq_glwidget_helpers.h @@ -29,7 +29,7 @@ struct RGBA; class SQ_ToolButtonPopup : public KToolBarButton { public: - SQ_ToolButtonPopup(const TQPixmap &pix, const TQString &textLabel, KToolBar *tqparent); + SQ_ToolButtonPopup(const TQPixmap &pix, const TQString &textLabel, KToolBar *parent); ~SQ_ToolButtonPopup(); }; @@ -37,7 +37,7 @@ class SQ_ToolButton : public TQToolButton { public: SQ_ToolButton(const TQIconSet &iconSet, const TQString &textLabel, TQObject *receiver, - const char *slot, KToolBar *tqparent, const char *name = 0); + const char *slot, KToolBar *parent, const char *name = 0); ~SQ_ToolButton(); static int fixedWidth(); diff --git a/ksquirrel/ksquirrelpart/sq_iconloader.cpp b/ksquirrel/ksquirrelpart/sq_iconloader.cpp index 91feec2..05fbd12 100644 --- a/ksquirrel/ksquirrelpart/sq_iconloader.cpp +++ b/ksquirrel/ksquirrelpart/sq_iconloader.cpp @@ -27,7 +27,7 @@ SQ_IconLoader * SQ_IconLoader::m_instance = 0; -SQ_IconLoader::SQ_IconLoader(TQObject *tqparent) : TQObject(tqparent) +SQ_IconLoader::SQ_IconLoader(TQObject *parent) : TQObject(parent) { m_instance = this; diff --git a/ksquirrel/ksquirrelpart/sq_iconloader.h b/ksquirrel/ksquirrelpart/sq_iconloader.h index 2c40530..a49ee11 100644 --- a/ksquirrel/ksquirrelpart/sq_iconloader.h +++ b/ksquirrel/ksquirrelpart/sq_iconloader.h @@ -32,7 +32,7 @@ class SQ_IconLoader : public TQObject { public: - SQ_IconLoader(TQObject *tqparent = 0); + SQ_IconLoader(TQObject *parent = 0); ~SQ_IconLoader(); TQPixmap loadIcon(const TQString &name, KIcon::Group group = KIcon::Desktop, int size = 16) const; diff --git a/ksquirrel/ksquirrelpart/sq_label.cpp b/ksquirrel/ksquirrelpart/sq_label.cpp index 70ecff8..a55a6eb 100644 --- a/ksquirrel/ksquirrelpart/sq_label.cpp +++ b/ksquirrel/ksquirrelpart/sq_label.cpp @@ -21,7 +21,7 @@ #define MARGIN 15 -SQ_Label::SQ_Label(TQWidget *tqparent, const char *name) : TQWidget(tqparent, name), single(false) +SQ_Label::SQ_Label(TQWidget *parent, const char *name) : TQWidget(parent, name), single(false) {} SQ_Label::~SQ_Label() diff --git a/ksquirrel/ksquirrelpart/sq_label.h b/ksquirrel/ksquirrelpart/sq_label.h index a1fed65..6d0edd5 100644 --- a/ksquirrel/ksquirrelpart/sq_label.h +++ b/ksquirrel/ksquirrelpart/sq_label.h @@ -23,7 +23,7 @@ class SQ_Label : public TQWidget { public: - SQ_Label(TQWidget *tqparent = 0, const char *name = 0); + SQ_Label(TQWidget *parent = 0, const char *name = 0); ~SQ_Label(); void setText(const TQString <, const TQString &rt); diff --git a/ksquirrel/ksquirrelpart/sq_libraryhandler.cpp b/ksquirrel/ksquirrelpart/sq_libraryhandler.cpp index a264d33..23c84da 100644 --- a/ksquirrel/ksquirrelpart/sq_libraryhandler.cpp +++ b/ksquirrel/ksquirrelpart/sq_libraryhandler.cpp @@ -46,8 +46,8 @@ static const int buffer_size = 10; SQ_LibraryHandler * SQ_LibraryHandler::m_instance = 0; // SQ_LibraryHandler -SQ_LibraryHandler::SQ_LibraryHandler(TQObject *tqparent) - : TQObject(tqparent), TQValueVector<SQ_LIBRARY>() +SQ_LibraryHandler::SQ_LibraryHandler(TQObject *parent) + : TQObject(parent), TQValueVector<SQ_LIBRARY>() { m_instance = this; diff --git a/ksquirrel/ksquirrelpart/sq_libraryhandler.h b/ksquirrel/ksquirrelpart/sq_libraryhandler.h index 05bd4c9..de00e3d 100644 --- a/ksquirrel/ksquirrelpart/sq_libraryhandler.h +++ b/ksquirrel/ksquirrelpart/sq_libraryhandler.h @@ -37,7 +37,7 @@ class KURL; class SQ_LibraryHandler : public TQObject, public TQValueVector<SQ_LIBRARY> { public: - SQ_LibraryHandler(TQObject *tqparent = 0); + SQ_LibraryHandler(TQObject *parent = 0); ~SQ_LibraryHandler(); enum Support { Maybe = 0, Yes, No }; diff --git a/ksquirrel/ksquirrelpart/sq_popupmenu.cpp b/ksquirrel/ksquirrelpart/sq_popupmenu.cpp index 0dafd91..8bafe01 100644 --- a/ksquirrel/ksquirrelpart/sq_popupmenu.cpp +++ b/ksquirrel/ksquirrelpart/sq_popupmenu.cpp @@ -21,8 +21,8 @@ #include "sq_popupmenu.h" -SQ_PopupMenu::SQ_PopupMenu(TQWidget *tqparent, const char *name) - : KPopupMenu(tqparent, name), title(0) +SQ_PopupMenu::SQ_PopupMenu(TQWidget *parent, const char *name) + : KPopupMenu(parent, name), title(0) {} SQ_PopupMenu::~SQ_PopupMenu() diff --git a/ksquirrel/ksquirrelpart/sq_popupmenu.h b/ksquirrel/ksquirrelpart/sq_popupmenu.h index 0714d64..5df3d88 100644 --- a/ksquirrel/ksquirrelpart/sq_popupmenu.h +++ b/ksquirrel/ksquirrelpart/sq_popupmenu.h @@ -27,7 +27,7 @@ class SQ_PopupMenu : public KPopupMenu { public: - SQ_PopupMenu(TQWidget *tqparent = 0, const char *name = 0); + SQ_PopupMenu(TQWidget *parent = 0, const char *name = 0); ~SQ_PopupMenu(); void insertTitle(const TQString &t); |