summaryrefslogtreecommitdiffstats
path: root/src/komposetaskwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/komposetaskwidget.cpp')
-rw-r--r--src/komposetaskwidget.cpp22
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()