summaryrefslogtreecommitdiffstats
path: root/kbruch
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:12:18 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:12:18 -0600
commitee52bb567f32fefdcf06e083c76562ea40ccf174 (patch)
tree8926667faaed3a18bec210ec14ffb9392ea8930d /kbruch
parent088cc453ec425bf86d610880d09645ea166a14fa (diff)
downloadtdeedu-ee52bb567f32fefdcf06e083c76562ea40ccf174.tar.gz
tdeedu-ee52bb567f32fefdcf06e083c76562ea40ccf174.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kbruch')
-rw-r--r--kbruch/ChangeLog2
-rw-r--r--kbruch/src/mainqtwidget.cpp4
-rw-r--r--kbruch/src/mainqtwidget.h4
-rw-r--r--kbruch/src/taskvieweroptionsbase.ui2
4 files changed, 6 insertions, 6 deletions
diff --git a/kbruch/ChangeLog b/kbruch/ChangeLog
index 688ef69f..8b9729c6 100644
--- a/kbruch/ChangeLog
+++ b/kbruch/ChangeLog
@@ -36,7 +36,7 @@
* added program icon
- * added KHelpMenu as KPopupMenu to the help button in the main window
+ * added KHelpMenu as TDEPopupMenu to the help button in the main window
* added section main window to the handbook
diff --git a/kbruch/src/mainqtwidget.cpp b/kbruch/src/mainqtwidget.cpp
index e6d35fb0..096bc467 100644
--- a/kbruch/src/mainqtwidget.cpp
+++ b/kbruch/src/mainqtwidget.cpp
@@ -55,7 +55,7 @@ MainQtWidget::MainQtWidget()
// get the settings
readOptions();
- // creating KActions, used by the kbruchui.rc file
+ // creating TDEActions, used by the kbruchui.rc file
setupActions();
createGUI(0L);
@@ -154,7 +154,7 @@ void MainQtWidget::writeOptions()
void MainQtWidget::setupActions()
{
// new task action
- m_NewTaskAction = new KAction(i18n("&New"), "filenew", KStdAccel::shortcut(KStdAccel::New),
+ m_NewTaskAction = new TDEAction(i18n("&New"), "filenew", TDEStdAccel::shortcut(TDEStdAccel::New),
TQT_TQOBJECT(this), TQT_SLOT(NewTask()),
actionCollection(), "NewTask");
diff --git a/kbruch/src/mainqtwidget.h b/kbruch/src/mainqtwidget.h
index 3f0f6f08..1868d9c6 100644
--- a/kbruch/src/mainqtwidget.h
+++ b/kbruch/src/mainqtwidget.h
@@ -37,7 +37,7 @@ class TaskView;
* \author Sebastian Stein
* \author Eva Brucherseifer
**/
-class MainQtWidget : public KMainWindow
+class MainQtWidget : public TDEMainWindow
{
Q_OBJECT
@@ -100,7 +100,7 @@ class MainQtWidget : public KMainWindow
KWidgetAction * m_OperationBoxAction;
KWidgetAction * m_OperationLabelAction;
- KAction * m_NewTaskAction;
+ TDEAction * m_NewTaskAction;
private slots:
/**
diff --git a/kbruch/src/taskvieweroptionsbase.ui b/kbruch/src/taskvieweroptionsbase.ui
index 66f45d15..72f2077a 100644
--- a/kbruch/src/taskvieweroptionsbase.ui
+++ b/kbruch/src/taskvieweroptionsbase.ui
@@ -24,7 +24,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="KFontChooser">
+ <widget class="TDEFontChooser">
<property name="name">
<cstring>kcfg_taskFont</cstring>
</property>