diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 23:21:04 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 23:21:04 -0600 |
commit | d1e0cc99a202cef3306b90b8839a6726e89f201e (patch) | |
tree | a0d01a91644fd94aa6da5d8944e052b67461faad /KDE3PORTING.html | |
parent | 3e3559f2d4f4c4ffa3caa0374928c8a12be29bf3 (diff) | |
download | tdelibs-d1e0cc99a202cef3306b90b8839a6726e89f201e.tar.gz tdelibs-d1e0cc99a202cef3306b90b8839a6726e89f201e.zip |
Rename many classes and header files to avoid conflicts with KDE4
Diffstat (limited to 'KDE3PORTING.html')
-rw-r--r-- | KDE3PORTING.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/KDE3PORTING.html b/KDE3PORTING.html index 407d5c5ad..457fd0cfa 100644 --- a/KDE3PORTING.html +++ b/KDE3PORTING.html @@ -154,9 +154,9 @@ not be available. <ul> <li> TDEAccel::insertItem() and TDEAccel::connectItem(). <pre> - - kaccel->insertItem( i18n("Scroll Up"), "Scroll Up", "Up" ); - - kaccel->connectItem( "Scroll Up", this, TQT_SLOT(scrollUp()) ); - + kaccel->insert( "Scroll Up", i18n("Scroll Up"), TQString::null, + - tdeaccel->insertItem( i18n("Scroll Up"), "Scroll Up", "Up" ); + - tdeaccel->connectItem( "Scroll Up", this, TQT_SLOT(scrollUp()) ); + + tdeaccel->insert( "Scroll Up", i18n("Scroll Up"), TQString::null, Key_Up, this, TQT_SLOT(scrollUp()) ); </pre> Note that a What's This parameter is now a part of the insert function. @@ -168,8 +168,8 @@ not be available. can replace it. Note, however, that this would be handled automatically by using TDEAction instead. <pre> - - kaccel->changeMenuAccel( menu, id, "file_open" ); - + menu->setAccel( kaccel->shortcut( "file_open" ).keyCodeQt(), id ); + - tdeaccel->changeMenuAccel( menu, id, "file_open" ); + + menu->setAccel( tdeaccel->shortcut( "file_open" ).keyCodeQt(), id ); </pre> </li> </ul> |