diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
commit | 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch) | |
tree | 5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /kitchensync/src/configgui.cpp | |
parent | 2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff) | |
download | tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip |
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4,
however Qt3 builds are OK. Any alterations this commit makes to kdepim
behaviour under Qt3 are unintentional and should be fixed.
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kitchensync/src/configgui.cpp')
-rw-r--r-- | kitchensync/src/configgui.cpp | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/kitchensync/src/configgui.cpp b/kitchensync/src/configgui.cpp index 6e2aa5d70..2fb7ef18d 100644 --- a/kitchensync/src/configgui.cpp +++ b/kitchensync/src/configgui.cpp @@ -49,8 +49,8 @@ #include <tqlabel.h> #include <tqtextedit.h> -ConfigGui::ConfigGui( const QSync::Member &member, TQWidget *parent ) - : TQWidget( parent ), mMember( member ) +ConfigGui::ConfigGui( const QSync::Member &member, TQWidget *tqparent ) + : TQWidget( tqparent ), mMember( member ) { mTopLayout = new TQVBoxLayout( this ); mTopLayout->setSpacing( KDialog::spacingHint() ); @@ -76,49 +76,49 @@ TQString ConfigGui::instanceName() const } ConfigGui *ConfigGui::Factory::create( const QSync::Member &member, - TQWidget *parent ) + TQWidget *tqparent ) { TQString name = member.pluginName(); if ( name == "file-sync" ) { - return new ConfigGuiFile( member, parent ); + return new ConfigGuiFile( member, tqparent ); } else if ( name == "palm-sync" ) { - return new ConfigGuiPalm( member, parent ); + return new ConfigGuiPalm( member, tqparent ); } else if ( name == "irmc-sync" ) { - return new ConfigGuiIRMC( member, parent ); + return new ConfigGuiIRMC( member, tqparent ); } else if ( name == "syncml-obex-client" ) { - return new ConfigGuiSyncmlObex( member, parent ); + return new ConfigGuiSyncmlObex( member, tqparent ); } else if ( name == "syncml-http-server" ) { - return new ConfigGuiSyncmlHttp( member, parent ); + return new ConfigGuiSyncmlHttp( member, tqparent ); } else if ( name == "opie-sync" ) { - return new ConfigGuiOpie( member, parent ); + return new ConfigGuiOpie( member, tqparent ); } else if ( name == "gnokii-sync" ) { - return new ConfigGuiGnokii( member, parent ); + return new ConfigGuiGnokii( member, tqparent ); } else if ( name == "gpe-sync" ) { - return new ConfigGuiGpe( member, parent ); + return new ConfigGuiGpe( member, tqparent ); } else if ( name == "google-calendar" ) { - return new ConfigGuiGoogleCalendar( member, parent ); + return new ConfigGuiGoogleCalendar( member, tqparent ); } else if ( name == "ldap-sync" ) { - return new ConfigGuiLdap( member, parent ); + return new ConfigGuiLdap( member, tqparent ); } else if ( name == "kdepim-sync" ) { - return new ConfigGuiBlank( member, parent ); + return new ConfigGuiBlank( member, tqparent ); } else if ( name == "jescs-sync" ) { - return new ConfigGuiJescs( member, parent ); + return new ConfigGuiJescs( member, tqparent ); } else if ( name == "evo2-sync" ) { - return new ConfigGuiEvo2( member, parent ); + return new ConfigGuiEvo2( member, tqparent ); } else if ( name == "moto-sync" ) { - return new ConfigGuiMoto( member, parent ); + return new ConfigGuiMoto( member, tqparent ); } else if ( name == "synce-plugin" ) { - return new ConfigGuiSynce( member, parent ); + return new ConfigGuiSynce( member, tqparent ); } else if ( name == "sunbird-sync" ) { - return new ConfigGuiSunbird( member, parent ); + return new ConfigGuiSunbird( member, tqparent ); } else { - return new ConfigGuiXml( member, parent ); + return new ConfigGuiXml( member, tqparent ); } } -ConfigGuiXml::ConfigGuiXml( const QSync::Member &member, TQWidget *parent ) - : ConfigGui( member, parent ) +ConfigGuiXml::ConfigGuiXml( const QSync::Member &member, TQWidget *tqparent ) + : ConfigGui( member, tqparent ) { mTextEdit = new TQTextEdit( this ); topLayout()->addWidget( mTextEdit ); |