summaryrefslogtreecommitdiffstats
path: root/kitchensync
diff options
context:
space:
mode:
Diffstat (limited to 'kitchensync')
-rw-r--r--kitchensync/src/mainwidget.cpp8
-rw-r--r--kitchensync/src/mainwidget.h10
-rw-r--r--kitchensync/src/mainwindow.cpp4
-rw-r--r--kitchensync/src/mainwindow.h2
4 files changed, 12 insertions, 12 deletions
diff --git a/kitchensync/src/mainwidget.cpp b/kitchensync/src/mainwidget.cpp
index a277e1892..40a80e62f 100644
--- a/kitchensync/src/mainwidget.cpp
+++ b/kitchensync/src/mainwidget.cpp
@@ -102,13 +102,13 @@ void MainWidget::initGUI()
void MainWidget::initActions()
{
- mActionSynchronize = new KAction( i18n("Synchronize"), "hotsync", 0, TQT_TQOBJECT(this), TQT_SLOT( sync() ),
+ mActionSynchronize = new TDEAction( i18n("Synchronize"), "hotsync", 0, TQT_TQOBJECT(this), TQT_SLOT( sync() ),
mGUIClient->actionCollection(), "sync" );
- mActionAddGroup = new KAction( i18n("Add Group..."), "filenew", 0, TQT_TQOBJECT(this), TQT_SLOT( addGroup() ),
+ mActionAddGroup = new TDEAction( i18n("Add Group..."), "filenew", 0, TQT_TQOBJECT(this), TQT_SLOT( addGroup() ),
mGUIClient->actionCollection(), "add_group" );
- mActionDeleteGroup = new KAction( i18n("Delete Group..."), "editdelete", 0, TQT_TQOBJECT(this), TQT_SLOT( deleteGroup() ),
+ mActionDeleteGroup = new TDEAction( i18n("Delete Group..."), "editdelete", 0, TQT_TQOBJECT(this), TQT_SLOT( deleteGroup() ),
mGUIClient->actionCollection(), "delete_group" );
- mActionEditGroup = new KAction( i18n("Edit Group..."), "edit", 0, TQT_TQOBJECT(this), TQT_SLOT( editGroup() ),
+ mActionEditGroup = new TDEAction( i18n("Edit Group..."), "edit", 0, TQT_TQOBJECT(this), TQT_SLOT( editGroup() ),
mGUIClient->actionCollection(), "edit_group" );
}
diff --git a/kitchensync/src/mainwidget.h b/kitchensync/src/mainwidget.h
index 0963aff4b..879394503 100644
--- a/kitchensync/src/mainwidget.h
+++ b/kitchensync/src/mainwidget.h
@@ -26,7 +26,7 @@
#include <tqwidget.h>
class TDEAboutData;
-class KAction;
+class TDEAction;
class KXMLGUIClient;
class GroupView;
class SyncProcess;
@@ -63,10 +63,10 @@ class KDE_EXPORT MainWidget : public TQWidget
void enableActions();
KXMLGUIClient *mGUIClient;
- KAction *mActionSynchronize;
- KAction *mActionAddGroup;
- KAction *mActionDeleteGroup;
- KAction *mActionEditGroup;
+ TDEAction *mActionSynchronize;
+ TDEAction *mActionAddGroup;
+ TDEAction *mActionDeleteGroup;
+ TDEAction *mActionEditGroup;
GroupView *mGroupView;
};
diff --git a/kitchensync/src/mainwindow.cpp b/kitchensync/src/mainwindow.cpp
index 7a0aa0653..e67261277 100644
--- a/kitchensync/src/mainwindow.cpp
+++ b/kitchensync/src/mainwindow.cpp
@@ -28,7 +28,7 @@
#include "mainwindow.h"
MainWindow::MainWindow()
- : KMainWindow( 0 )
+ : TDEMainWindow( 0 )
{
setWFlags( getWFlags() | WGroupLeader );
@@ -43,7 +43,7 @@ MainWindow::MainWindow()
createGUI( "kitchensyncui.rc", false );
createGUI( 0 );
- toolBar()->setIconText( KToolBar::IconTextBottom );
+ toolBar()->setIconText( TDEToolBar::IconTextBottom );
resize( 760, 530 ); // initial size
setAutoSaveSettings();
diff --git a/kitchensync/src/mainwindow.h b/kitchensync/src/mainwindow.h
index 61bff1555..4453878b5 100644
--- a/kitchensync/src/mainwindow.h
+++ b/kitchensync/src/mainwindow.h
@@ -29,7 +29,7 @@ class MainWidget;
This class serves as the main window for Kitchensync. It handles the
menus, toolbars, and status bars.
*/
-class MainWindow : public KMainWindow
+class MainWindow : public TDEMainWindow
{
Q_OBJECT