summaryrefslogtreecommitdiffstats
path: root/kbruch/src
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/src
parent088cc453ec425bf86d610880d09645ea166a14fa (diff)
downloadtdeedu-ee52bb567f32fefdcf06e083c76562ea40ccf174.tar.gz
tdeedu-ee52bb567f32fefdcf06e083c76562ea40ccf174.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kbruch/src')
-rw-r--r--kbruch/src/mainqtwidget.cpp4
-rw-r--r--kbruch/src/mainqtwidget.h4
-rw-r--r--kbruch/src/taskvieweroptionsbase.ui2
3 files changed, 5 insertions, 5 deletions
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>