diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-22 00:30:31 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-22 00:30:31 +0000 |
commit | 69cac65817d949cda2672ec4f0aa73d5e66a0ba1 (patch) | |
tree | 073fde0496ea90eb5bf5cffe66a8da43a9f55fbc /kopete/plugins/texteffect/texteffectpreferences.cpp | |
parent | 3467e6464beac3a162839bf7078e22e3a74d73e7 (diff) | |
download | tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.tar.gz tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.zip |
TQt4 port kdenetwork
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/plugins/texteffect/texteffectpreferences.cpp')
-rw-r--r-- | kopete/plugins/texteffect/texteffectpreferences.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kopete/plugins/texteffect/texteffectpreferences.cpp b/kopete/plugins/texteffect/texteffectpreferences.cpp index 9fb2994c..ddbe5f61 100644 --- a/kopete/plugins/texteffect/texteffectpreferences.cpp +++ b/kopete/plugins/texteffect/texteffectpreferences.cpp @@ -35,10 +35,10 @@ typedef KGenericFactory<TextEffectPreferences> TextEffectPreferencesFactory; K_EXPORT_COMPONENT_FACTORY( kcm_kopete_texteffect, TextEffectPreferencesFactory( "kcm_kopete_texteffect" ) ) -TextEffectPreferences::TextEffectPreferences(TQWidget *parent, +TextEffectPreferences::TextEffectPreferences(TQWidget *tqparent, const char* /*name*/, const TQStringList &args) - : KCModule(TextEffectPreferencesFactory::instance(), parent, args) + : KCModule(TextEffectPreferencesFactory::instance(), tqparent, args) { ( new TQVBoxLayout( this ) )->setAutoAdd( true ); @@ -106,7 +106,7 @@ void TextEffectPreferences::load() preferencesDialog->m_casewaves->setChecked(config->waves()); - // Call parent's save method + // Call tqparent's save method KCModule::load(); // Indicate that we have not changed ^_^ @@ -134,7 +134,7 @@ void TextEffectPreferences::save() // Notify the plugin that the settings have changed //TextEffectPlugin::plugin()->slotSettingsChanged(); - // Call parent's save method + // Call tqparent's save method KCModule::save(); // Indicate that we have not changed ^_^ @@ -157,7 +157,7 @@ void TextEffectPreferences::slotAddPressed() TQColor myColor; if( KColorDialog::getColor( myColor ) == KColorDialog::Accepted ) { - preferencesDialog->mColorsListBox->insertItem(myColor.name()); + preferencesDialog->mColorsListBox->insertItem(TQString(myColor.name())); } // Indicate that something has changed |