diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-05 22:07:15 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-05 22:07:15 +0000 |
commit | 421b60af92c83b889f8903c2898f2bd07186fcd8 (patch) | |
tree | ad873a24c9438baed4942fda795430a4c3dc9a9a /configdialog/kbfxconfigdlgplugins.ui.h | |
parent | 39e896bddf25bf34cbf8be814d959181e2c1d1dd (diff) | |
download | kbfx-421b60af92c83b889f8903c2898f2bd07186fcd8.tar.gz kbfx-421b60af92c83b889f8903c2898f2bd07186fcd8.zip |
TQt4 port kbfx
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kbfx@1230544 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'configdialog/kbfxconfigdlgplugins.ui.h')
-rw-r--r-- | configdialog/kbfxconfigdlgplugins.ui.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/configdialog/kbfxconfigdlgplugins.ui.h b/configdialog/kbfxconfigdlgplugins.ui.h index 40153d9..176af80 100644 --- a/configdialog/kbfxconfigdlgplugins.ui.h +++ b/configdialog/kbfxconfigdlgplugins.ui.h @@ -2,7 +2,7 @@ ** ui.h extension file, included from the uic-generated form implementation. ** ** If you want to add, delete, or rename functions or slots, use -** Qt Designer to update this file, preserving your code. +** TQt Designer to update this file, preserving your code. ** ** You should not define a constructor or destructor in this file. ** Instead, write your code in functions called init() and destroy(). @@ -25,16 +25,16 @@ void KbfxConfigDlgPlugins::ChangeForm() KbfxPluginSelector-> availableListBox()-> insertStringList ( KbfxListPlugins ( 0 ) ); // list Left Panel Plugins } -QStringList KbfxConfigDlgPlugins::KbfxListPlugins ( int panel ) +TQStringList KbfxConfigDlgPlugins::KbfxListPlugins ( int panel ) { - QStringList _plugins; + TQStringList _plugins; _plugins.clear(); bool _not_present; - QStringList::Iterator it_available; - QStringList::Iterator it_requested; + TQStringList::Iterator it_available; + TQStringList::Iterator it_requested; KbfxPlasmaPluginLoader *_tmp = new KbfxPlasmaPluginLoader(); - QStringList allPlugins = _tmp -> scanPlugins(); + TQStringList allPlugins = _tmp -> scanPlugins(); delete _tmp; for ( it_available = allPlugins.begin(); it_available != allPlugins.end(); ++it_available ) @@ -45,7 +45,7 @@ QStringList KbfxConfigDlgPlugins::KbfxListPlugins ( int panel ) for ( it_requested = ConfigInit ().m_pluginsLeft.begin (); it_requested != ConfigInit ().m_pluginsLeft.end (); ++it_requested ) { - if ( ( *it_available ).contains ( *it_requested ) > 0 ) + if ( ( *it_available ).tqcontains ( *it_requested ) > 0 ) { _not_present = FALSE; break; @@ -57,7 +57,7 @@ QStringList KbfxConfigDlgPlugins::KbfxListPlugins ( int panel ) for ( it_requested = ConfigInit ().m_pluginsRight.begin (); it_requested != ConfigInit ().m_pluginsRight.end (); ++it_requested ) { - if ( ( *it_available ).contains ( *it_requested ) > 0 ) + if ( ( *it_available ).tqcontains ( *it_requested ) > 0 ) { _not_present = FALSE; break; @@ -88,7 +88,7 @@ void KbfxConfigDlgPlugins::KbfxPluginInfoButton_clicked() void KbfxConfigDlgPlugins::KbfxSaveSelectedPlugins() { int _selectedPanel = KbfxPanel->currentItem(); - QStringList _plugins; + TQStringList _plugins; _plugins.clear(); int it; int _num = KbfxPluginSelector-> selectedListBox()->count(); @@ -129,28 +129,28 @@ void KbfxConfigDlgPlugins::KbfxPanelSelected ( int _sel ) -void KbfxConfigDlgPlugins::KbfxPluginSelector_movedDown ( QListBoxItem * ) +void KbfxConfigDlgPlugins::KbfxPluginSelector_movedDown ( TQListBoxItem * ) { /* save current selection */ KbfxSaveSelectedPlugins(); } -void KbfxConfigDlgPlugins::KbfxPluginSelector_movedUp ( QListBoxItem * ) +void KbfxConfigDlgPlugins::KbfxPluginSelector_movedUp ( TQListBoxItem * ) { /* save current selection */ KbfxSaveSelectedPlugins(); } -void KbfxConfigDlgPlugins::KbfxPluginSelector_removed ( QListBoxItem * ) +void KbfxConfigDlgPlugins::KbfxPluginSelector_removed ( TQListBoxItem * ) { /* save current selection */ KbfxSaveSelectedPlugins(); } -void KbfxConfigDlgPlugins::KbfxPluginSelector_added ( QListBoxItem * ) +void KbfxConfigDlgPlugins::KbfxPluginSelector_added ( TQListBoxItem * ) { /* save current selection */ KbfxSaveSelectedPlugins(); |