summaryrefslogtreecommitdiffstats
path: root/khotkeys/kcontrol/tab_widget.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /khotkeys/kcontrol/tab_widget.cpp
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz
tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'khotkeys/kcontrol/tab_widget.cpp')
-rw-r--r--khotkeys/kcontrol/tab_widget.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/khotkeys/kcontrol/tab_widget.cpp b/khotkeys/kcontrol/tab_widget.cpp
index 2a484529a..243543519 100644
--- a/khotkeys/kcontrol/tab_widget.cpp
+++ b/khotkeys/kcontrol/tab_widget.cpp
@@ -51,16 +51,16 @@
namespace KHotKeys
{
-Tab_widget::Tab_widget( QWidget* parent_P, const char* name_P )
- : QTabWidget( parent_P, name_P )
+Tab_widget::Tab_widget( TQWidget* parent_P, const char* name_P )
+ : TQTabWidget( parent_P, name_P )
{
pages[ TAB_INFO ] = new Info_tab;
pages[ TAB_GENERAL_SETTINGS ] = new General_settings_tab;
pages[ TAB_GESTURES_SETTINGS ] = new Gestures_settings_tab;
General_tab* general_tab;
pages[ TAB_GENERAL ] = general_tab = new General_tab;
- connect( general_tab, SIGNAL( action_type_changed( int )),
- SLOT( set_action_type_slot( int )));
+ connect( general_tab, TQT_SIGNAL( action_type_changed( int )),
+ TQT_SLOT( set_action_type_slot( int )));
pages[ TAB_GROUP_GENERAL ] = new Action_group_tab;
pages[ TAB_CONDITIONS ] = new Condition_list_tab;
pages[ TAB_ACTIONS ] = new Action_list_tab;
@@ -76,7 +76,7 @@ Tab_widget::Tab_widget( QWidget* parent_P, const char* name_P )
for( tab_pos_t i = TAB_FIRST;
i < TAB_END;
++i )
- connect( this, SIGNAL( clear_pages_signal()), pages[ i ], SLOT( clear_data()));
+ connect( this, TQT_SIGNAL( clear_pages_signal()), pages[ i ], TQT_SLOT( clear_data()));
#ifdef HAVE_ARTS
if( haveArts())
show_pages(( TAB_INFO, TAB_GENERAL_SETTINGS, TAB_GESTURES_SETTINGS, TAB_VOICE_SETTINGS ));
@@ -127,7 +127,7 @@ void Tab_widget::save_current_action_changes()
}
else if( current_type == DATA )
{
- QString name, comment;
+ TQString name, comment;
bool enabled;
static_cast< General_tab* >( pages[ TAB_GENERAL ] )->get_data( name, comment, enabled );
switch( current_data_type )
@@ -441,18 +441,18 @@ void Tab_widget::show_pages( const Pages_set& pages_P )
{
removePage( pages[ i ] );
if( pages_P.is_set( i )) // don't clear page contents if it stays visible
- disconnect( this, SIGNAL( clear_pages_signal()), pages[ i ], SLOT( clear_data()));
+ disconnect( this, TQT_SIGNAL( clear_pages_signal()), pages[ i ], TQT_SLOT( clear_data()));
}
clear_pages();
// reconnect all pages to this signal
- disconnect( this, SIGNAL( clear_pages_signal()), NULL, NULL );
+ disconnect( this, TQT_SIGNAL( clear_pages_signal()), NULL, NULL );
for( tab_pos_t i = TAB_FIRST;
i < TAB_END;
++i )
{
if( pages_P.is_set( i ))
addTab( pages[ i ], i18n( tab_labels[ i ] ));
- connect( this, SIGNAL( clear_pages_signal()), pages[ i ], SLOT( clear_data()));
+ connect( this, TQT_SIGNAL( clear_pages_signal()), pages[ i ], TQT_SLOT( clear_data()));
}
show();
}