summaryrefslogtreecommitdiffstats
path: root/kcontrol/keys/khotkeys.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 /kcontrol/keys/khotkeys.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 'kcontrol/keys/khotkeys.cpp')
-rw-r--r--kcontrol/keys/khotkeys.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/kcontrol/keys/khotkeys.cpp b/kcontrol/keys/khotkeys.cpp
index 869cab71a..636cd972c 100644
--- a/kcontrol/keys/khotkeys.cpp
+++ b/kcontrol/keys/khotkeys.cpp
@@ -25,11 +25,11 @@ extern "C"
{
static void (*khotkeys_init_2)( void );
static void (*khotkeys_cleanup_2)( void );
- static QString (*khotkeys_get_menu_entry_shortcut_2)( const QString& entry_P );
- static QString (*khotkeys_change_menu_entry_shortcut_2)( const QString& entry_P,
- const QString& shortcut_P );
- static bool (*khotkeys_menu_entry_moved_2)( const QString& new_P, const QString& old_P );
- static void (*khotkeys_menu_entry_deleted_2)( const QString& entry_P );
+ static TQString (*khotkeys_get_menu_entry_shortcut_2)( const TQString& entry_P );
+ static TQString (*khotkeys_change_menu_entry_shortcut_2)( const TQString& entry_P,
+ const TQString& shortcut_P );
+ static bool (*khotkeys_menu_entry_moved_2)( const TQString& new_P, const TQString& old_P );
+ static void (*khotkeys_menu_entry_deleted_2)( const TQString& entry_P );
}
static bool khotkeys_present = false;
@@ -44,16 +44,16 @@ bool KHotKeys::init()
khotkeys_init_2 = ( void (*)(void)) ( lib->symbol( "khotkeys_init" ));
khotkeys_cleanup_2 = ( void (*)(void)) ( lib->symbol( "khotkeys_cleanup" ));
khotkeys_get_menu_entry_shortcut_2 =
- ( QString (*)( const QString& ))
+ ( TQString (*)( const TQString& ))
( lib->symbol( "khotkeys_get_menu_entry_shortcut" ));
khotkeys_change_menu_entry_shortcut_2 =
- ( QString (*)( const QString&, const QString& ))
+ ( TQString (*)( const TQString&, const TQString& ))
( lib->symbol( "khotkeys_change_menu_entry_shortcut" ));
khotkeys_menu_entry_moved_2 =
- ( bool (*)( const QString&, const QString& ))
+ ( bool (*)( const TQString&, const TQString& ))
( lib->symbol( "khotkeys_menu_entry_moved" ));
khotkeys_menu_entry_deleted_2 =
- ( void (*)( const QString& ))
+ ( void (*)( const TQString& ))
( lib->symbol( "khotkeys_menu_entry_deleted" ));
if( khotkeys_init_2
&& khotkeys_cleanup_2
@@ -83,7 +83,7 @@ bool KHotKeys::present()
return khotkeys_present;
}
-QString KHotKeys::getMenuEntryShortcut( const QString& entry_P )
+TQString KHotKeys::getMenuEntryShortcut( const TQString& entry_P )
{
if( !khotkeys_inited )
init();
@@ -92,8 +92,8 @@ QString KHotKeys::getMenuEntryShortcut( const QString& entry_P )
return khotkeys_get_menu_entry_shortcut_2( entry_P );
}
-QString KHotKeys::changeMenuEntryShortcut( const QString& entry_P,
- const QString shortcut_P )
+TQString KHotKeys::changeMenuEntryShortcut( const TQString& entry_P,
+ const TQString shortcut_P )
{
if( !khotkeys_inited )
init();
@@ -102,7 +102,7 @@ QString KHotKeys::changeMenuEntryShortcut( const QString& entry_P,
return khotkeys_change_menu_entry_shortcut_2( entry_P, shortcut_P );
}
-bool KHotKeys::menuEntryMoved( const QString& new_P, const QString& old_P )
+bool KHotKeys::menuEntryMoved( const TQString& new_P, const TQString& old_P )
{
if( !khotkeys_inited )
init();
@@ -111,7 +111,7 @@ bool KHotKeys::menuEntryMoved( const QString& new_P, const QString& old_P )
return khotkeys_menu_entry_moved_2( new_P, old_P );
}
-void KHotKeys::menuEntryDeleted( const QString& entry_P )
+void KHotKeys::menuEntryDeleted( const TQString& entry_P )
{
if( !khotkeys_inited )
init();