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 | ea3848d71d9559414d14d0a8b8bb1ebb684f46c2 (patch) | |
tree | 859d20a007be94df4bf0b78cdf3720bfee903892 /kipi-plugins/htmlexport | |
parent | 94ec53c96c3d5dc4a427e7dc4bbaa863add5cfa4 (diff) | |
download | kipi-plugins-ea3848d71d9559414d14d0a8b8bb1ebb684f46c2.tar.gz kipi-plugins-ea3848d71d9559414d14d0a8b8bb1ebb684f46c2.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/libraries/kipi-plugins@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kipi-plugins/htmlexport')
-rw-r--r-- | kipi-plugins/htmlexport/abstractthemeparameter.h | 2 | ||||
-rw-r--r-- | kipi-plugins/htmlexport/colorthemeparameter.cpp | 4 | ||||
-rw-r--r-- | kipi-plugins/htmlexport/colorthemeparameter.h | 2 | ||||
-rw-r--r-- | kipi-plugins/htmlexport/intthemeparameter.cpp | 4 | ||||
-rw-r--r-- | kipi-plugins/htmlexport/intthemeparameter.h | 2 | ||||
-rw-r--r-- | kipi-plugins/htmlexport/listthemeparameter.cpp | 4 | ||||
-rw-r--r-- | kipi-plugins/htmlexport/listthemeparameter.h | 2 | ||||
-rw-r--r-- | kipi-plugins/htmlexport/plugin.cpp | 12 | ||||
-rw-r--r-- | kipi-plugins/htmlexport/plugin.h | 2 | ||||
-rw-r--r-- | kipi-plugins/htmlexport/stringthemeparameter.cpp | 4 | ||||
-rw-r--r-- | kipi-plugins/htmlexport/stringthemeparameter.h | 2 | ||||
-rw-r--r-- | kipi-plugins/htmlexport/wizard.cpp | 6 | ||||
-rw-r--r-- | kipi-plugins/htmlexport/wizard.h | 2 |
13 files changed, 24 insertions, 24 deletions
diff --git a/kipi-plugins/htmlexport/abstractthemeparameter.h b/kipi-plugins/htmlexport/abstractthemeparameter.h index 5127232..97d8a88 100644 --- a/kipi-plugins/htmlexport/abstractthemeparameter.h +++ b/kipi-plugins/htmlexport/abstractthemeparameter.h @@ -54,7 +54,7 @@ public: * This method should return a TQWidget representing the parameter, * initialized with value. */ - virtual TQWidget* createWidget(TQWidget* tqparent, const TQString& value) const = 0; + virtual TQWidget* createWidget(TQWidget* parent, const TQString& value) const = 0; /** * The opposite of createWidget: given a widget previously created with diff --git a/kipi-plugins/htmlexport/colorthemeparameter.cpp b/kipi-plugins/htmlexport/colorthemeparameter.cpp index 9df77e0..ad80719 100644 --- a/kipi-plugins/htmlexport/colorthemeparameter.cpp +++ b/kipi-plugins/htmlexport/colorthemeparameter.cpp @@ -31,8 +31,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Cambridge, MA 02110-1301, USA namespace KIPIHTMLExport { -TQWidget* ColorThemeParameter::createWidget(TQWidget* tqparent, const TQString& value) const { - KColorButton* button = new KColorButton(tqparent); +TQWidget* ColorThemeParameter::createWidget(TQWidget* parent, const TQString& value) const { + KColorButton* button = new KColorButton(parent); TQColor color(value); button->setColor(color); return button; diff --git a/kipi-plugins/htmlexport/colorthemeparameter.h b/kipi-plugins/htmlexport/colorthemeparameter.h index 5a62395..44dab93 100644 --- a/kipi-plugins/htmlexport/colorthemeparameter.h +++ b/kipi-plugins/htmlexport/colorthemeparameter.h @@ -36,7 +36,7 @@ namespace KIPIHTMLExport { */ class ColorThemeParameter : public AbstractThemeParameter { public: - virtual TQWidget* createWidget(TQWidget* tqparent, const TQString& value) const; + virtual TQWidget* createWidget(TQWidget* parent, const TQString& value) const; virtual TQString valueFromWidget(TQWidget*) const; }; diff --git a/kipi-plugins/htmlexport/intthemeparameter.cpp b/kipi-plugins/htmlexport/intthemeparameter.cpp index 87472bd..17388e2 100644 --- a/kipi-plugins/htmlexport/intthemeparameter.cpp +++ b/kipi-plugins/htmlexport/intthemeparameter.cpp @@ -59,8 +59,8 @@ void IntThemeParameter::init(const TQCString& internalName, const KConfigBase* c } -TQWidget* IntThemeParameter::createWidget(TQWidget* tqparent, const TQString& value) const { - TQSpinBox* spinBox = new TQSpinBox(tqparent); +TQWidget* IntThemeParameter::createWidget(TQWidget* parent, const TQString& value) const { + TQSpinBox* spinBox = new TQSpinBox(parent); spinBox->setValue(value.toInt()); spinBox->setMinValue(d->mMinValue); spinBox->setMaxValue(d->mMaxValue); diff --git a/kipi-plugins/htmlexport/intthemeparameter.h b/kipi-plugins/htmlexport/intthemeparameter.h index 802ccde..4aa354c 100644 --- a/kipi-plugins/htmlexport/intthemeparameter.h +++ b/kipi-plugins/htmlexport/intthemeparameter.h @@ -40,7 +40,7 @@ public: ~IntThemeParameter(); virtual void init(const TQCString& internalName, const KConfigBase* configFile); - virtual TQWidget* createWidget(TQWidget* tqparent, const TQString& value) const; + virtual TQWidget* createWidget(TQWidget* parent, const TQString& value) const; virtual TQString valueFromWidget(TQWidget*) const; private: diff --git a/kipi-plugins/htmlexport/listthemeparameter.cpp b/kipi-plugins/htmlexport/listthemeparameter.cpp index 7a49b6d..8bae470 100644 --- a/kipi-plugins/htmlexport/listthemeparameter.cpp +++ b/kipi-plugins/htmlexport/listthemeparameter.cpp @@ -63,8 +63,8 @@ void ListThemeParameter::init(const TQCString& internalName, const KConfigBase* } } -TQWidget* ListThemeParameter::createWidget(TQWidget* tqparent, const TQString& widgetDefaultValue) const { - TQComboBox* comboBox = new TQComboBox(tqparent); +TQWidget* ListThemeParameter::createWidget(TQWidget* parent, const TQString& widgetDefaultValue) const { + TQComboBox* comboBox = new TQComboBox(parent); TQStringList::ConstIterator it = d->mOrderedValueList.begin(), diff --git a/kipi-plugins/htmlexport/listthemeparameter.h b/kipi-plugins/htmlexport/listthemeparameter.h index eae31d8..8de2e1f 100644 --- a/kipi-plugins/htmlexport/listthemeparameter.h +++ b/kipi-plugins/htmlexport/listthemeparameter.h @@ -36,7 +36,7 @@ public: ~ListThemeParameter(); virtual void init(const TQCString& internalName, const KConfigBase* configFile); - virtual TQWidget* createWidget(TQWidget* tqparent, const TQString& value) const; + virtual TQWidget* createWidget(TQWidget* parent, const TQString& value) const; virtual TQString valueFromWidget(TQWidget*) const; private: diff --git a/kipi-plugins/htmlexport/plugin.cpp b/kipi-plugins/htmlexport/plugin.cpp index 659e10f..0fc8e76 100644 --- a/kipi-plugins/htmlexport/plugin.cpp +++ b/kipi-plugins/htmlexport/plugin.cpp @@ -49,8 +49,8 @@ struct Plugin::Private { }; -Plugin::Plugin(TQObject *tqparent, const char*, const TQStringList&) -: KIPI::Plugin(Factory::instance(), tqparent, "HTMLExport") +Plugin::Plugin(TQObject *parent, const char*, const TQStringList&) +: KIPI::Plugin(Factory::instance(), parent, "HTMLExport") { d=new Private; d->mAction=0; @@ -72,17 +72,17 @@ void Plugin::setup( TQWidget* widget ) { void Plugin::slotActivate() { - KIPI::Interface* interface = dynamic_cast< KIPI::Interface* >( tqparent() ); + KIPI::Interface* interface = dynamic_cast< KIPI::Interface* >( parent() ); Q_ASSERT(interface); GalleryInfo info; info.readConfig(); - TQWidget* tqparent=KApplication::kApplication()->mainWidget(); - Wizard wizard(tqparent, interface, &info); + TQWidget* parent=KApplication::kApplication()->mainWidget(); + Wizard wizard(parent, interface, &info); if (wizard.exec()==TQDialog::Rejected) return; info.writeConfig(); - KIPI::BatchProgressDialog* progressDialog=new KIPI::BatchProgressDialog(tqparent, i18n("Generating gallery...")); + KIPI::BatchProgressDialog* progressDialog=new KIPI::BatchProgressDialog(parent, i18n("Generating gallery...")); Generator generator(interface, &info, progressDialog); progressDialog->show(); diff --git a/kipi-plugins/htmlexport/plugin.h b/kipi-plugins/htmlexport/plugin.h index cab9e82..a29bf23 100644 --- a/kipi-plugins/htmlexport/plugin.h +++ b/kipi-plugins/htmlexport/plugin.h @@ -36,7 +36,7 @@ class Plugin : public KIPI::Plugin { TQ_OBJECT public: - Plugin(TQObject *tqparent, const char* name, const TQStringList &args); + Plugin(TQObject *parent, const char* name, const TQStringList &args); virtual ~Plugin(); KIPI::Category category( KAction* action ) const; diff --git a/kipi-plugins/htmlexport/stringthemeparameter.cpp b/kipi-plugins/htmlexport/stringthemeparameter.cpp index 8ad7f1c..1be630e 100644 --- a/kipi-plugins/htmlexport/stringthemeparameter.cpp +++ b/kipi-plugins/htmlexport/stringthemeparameter.cpp @@ -29,8 +29,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Cambridge, MA 02110-1301, USA namespace KIPIHTMLExport { -TQWidget* StringThemeParameter::createWidget(TQWidget* tqparent, const TQString& value) const { - TQLineEdit* edit = new TQLineEdit(tqparent); +TQWidget* StringThemeParameter::createWidget(TQWidget* parent, const TQString& value) const { + TQLineEdit* edit = new TQLineEdit(parent); edit->setText(value); return edit; diff --git a/kipi-plugins/htmlexport/stringthemeparameter.h b/kipi-plugins/htmlexport/stringthemeparameter.h index 26bbe6c..765bfe1 100644 --- a/kipi-plugins/htmlexport/stringthemeparameter.h +++ b/kipi-plugins/htmlexport/stringthemeparameter.h @@ -31,7 +31,7 @@ namespace KIPIHTMLExport { */ class StringThemeParameter : public AbstractThemeParameter { public: - virtual TQWidget* createWidget(TQWidget* tqparent, const TQString& value) const; + virtual TQWidget* createWidget(TQWidget* parent, const TQString& value) const; virtual TQString valueFromWidget(TQWidget*) const; }; diff --git a/kipi-plugins/htmlexport/wizard.cpp b/kipi-plugins/htmlexport/wizard.cpp index 6833f4c..acc7f6e 100644 --- a/kipi-plugins/htmlexport/wizard.cpp +++ b/kipi-plugins/htmlexport/wizard.cpp @@ -159,14 +159,14 @@ struct Wizard::Private { } // Add spacer at the end, so that widgets aren't spread on the whole - // tqparent height + // parent height TQSpacerItem* spacer = new TQSpacerItem(1, 1, TQSizePolicy::Minimum, TQSizePolicy::Expanding); tqlayout->addItem(spacer, tqlayout->numRows(), 0); } }; -Wizard::Wizard(TQWidget* tqparent, KIPI::Interface* interface, GalleryInfo* info) -: KWizard(tqparent) +Wizard::Wizard(TQWidget* parent, KIPI::Interface* interface, GalleryInfo* info) +: KWizard(parent) { d=new Private; d->mInfo=info; diff --git a/kipi-plugins/htmlexport/wizard.h b/kipi-plugins/htmlexport/wizard.h index d7e0bbd..f59358c 100644 --- a/kipi-plugins/htmlexport/wizard.h +++ b/kipi-plugins/htmlexport/wizard.h @@ -39,7 +39,7 @@ class Wizard : public KWizard { Q_OBJECT TQ_OBJECT public: - Wizard(TQWidget* tqparent, KIPI::Interface* interface, GalleryInfo* info); + Wizard(TQWidget* parent, KIPI::Interface* interface, GalleryInfo* info); ~Wizard(); protected slots: |