diff options
author | Mavridis Philippe <mavridisf@gmail.com> | 2021-03-30 14:12:55 +0300 |
---|---|---|
committer | Mavridis Philippe <mavridisf@gmail.com> | 2021-03-30 14:12:55 +0300 |
commit | 29129afdb289a6e17146cc69867c95e0758cf4aa (patch) | |
tree | d90be4b9eacb21907508e0f2cfc7c51fddea5671 /src/komposetaskwidget.cpp | |
parent | d991b7f387775dc1071fb0c0af78de1c613ca991 (diff) | |
download | kompose-29129afdb289a6e17146cc69867c95e0758cf4aa.tar.gz kompose-29129afdb289a6e17146cc69867c95e0758cf4aa.zip |
KDE3->TDE conversion
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'src/komposetaskwidget.cpp')
-rw-r--r-- | src/komposetaskwidget.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/komposetaskwidget.cpp b/src/komposetaskwidget.cpp index dfba330..24522a3 100644 --- a/src/komposetaskwidget.cpp +++ b/src/komposetaskwidget.cpp @@ -40,11 +40,11 @@ #include <tqfont.h> #include <kcursor.h> -#include <klocale.h> -#include <kpopupmenu.h> -#include <kactioncollection.h> -#include <kaction.h> -#include <kapplication.h> +#include <tdelocale.h> +#include <tdepopupmenu.h> +#include <tdeactioncollection.h> +#include <tdeaction.h> +#include <tdeapplication.h> #include <kiconloader.h> #include <kdebug.h> @@ -345,18 +345,18 @@ void KomposeTaskWidget::setGeometry( const TQRect &rect ) void KomposeTaskWidget::initActions() { - taskActionCollection = new KActionCollection( this ); + taskActionCollection = new TDEActionCollection( this ); - actCloseTask = new KAction( i18n("Close"), "fileclose", Key_Delete , task, + actCloseTask = new TDEAction( i18n("Close"), "fileclose", Key_Delete , task, SLOT( close() ), taskActionCollection, "closeTask" ); actCloseTask->setToolTip(i18n("Close")); - actMinimizeRestoreTask = new KAction( i18n("Minimize/Restore"), "", KShortcut() , this, + actMinimizeRestoreTask = new TDEAction( i18n("Minimize/Restore"), "", TDEShortcut() , this, SLOT( slotMinimizeRestoreToggled() ), taskActionCollection, "minimizeRestoreTask" ); } void KomposeTaskWidget::initMenu() { - menu = new KPopupMenu(); + menu = new TDEPopupMenu(); actMinimizeRestoreTask->plug(menu); @@ -393,9 +393,9 @@ void KomposeTaskWidget::initMenu() void KomposeTaskWidget::setActionIcons( bool inverse ) { if ( ( task->isIconified() && !inverse ) || ( !task->isIconified() && inverse ) ) - actMinimizeRestoreTask->setIconSet( kapp->iconLoader()->loadIconSet ( "up", KIcon::NoGroup, 16 ) ); + actMinimizeRestoreTask->setIconSet( kapp->iconLoader()->loadIconSet ( "up", TDEIcon::NoGroup, 16 ) ); else - actMinimizeRestoreTask->setIconSet( kapp->iconLoader()->loadIconSet ( "bottom", KIcon::NoGroup, 16 ) ); + actMinimizeRestoreTask->setIconSet( kapp->iconLoader()->loadIconSet ( "bottom", TDEIcon::NoGroup, 16 ) ); } void KomposeTaskWidget::slotMinimizeRestoreToggled() |