summaryrefslogtreecommitdiffstats
path: root/src/mainwindow.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 14:57:56 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 14:57:56 -0600
commit6d33c9774c2d9115894db9ad296b91b73b55bc97 (patch)
treeb8f3fbbfe305f642e54f2f1eacf6bc31b5348232 /src/mainwindow.h
parenta7a8d7053d25f615198af314f0404952a6a412b3 (diff)
downloadabakus-6d33c9774c2d9115894db9ad296b91b73b55bc97.tar.gz
abakus-6d33c9774c2d9115894db9ad296b91b73b55bc97.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h
index 81661c3..02a4e7f 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -34,16 +34,16 @@ class TQTimer;
//class KComboBox;
class Editor;
-class KPopupMenu;
-class KAction;
-class KListView;
+class TDEPopupMenu;
+class TDEAction;
+class TDEListView;
class ResultListView;
class ResultListViewText;
class AbakusIface;
// Main window class, handles events and layout and stuff
-class MainWindow : public KMainWindow
+class MainWindow : public TDEMainWindow
{
Q_OBJECT
@@ -105,7 +105,7 @@ class MainWindow : public KMainWindow
TQString interpolateExpression(const TQString &text, ResultListViewText *after);
// Donated via JuK
- KAction *action(const char *key) const;
+ TDEAction *action(const char *key) const;
template <class T> T *action(const char *key) const
{
@@ -117,11 +117,11 @@ class MainWindow : public KMainWindow
TQRadioButton *m_degrees;
TQRadioButton *m_radians;
Editor *m_edit;
- KPopupMenu *m_popup;
+ TDEPopupMenu *m_popup;
ResultListView *m_result;
TQString m_lastError;
TQBoxLayout *m_layout;
- KListView *m_fnList, *m_varList;
+ TDEListView *m_fnList, *m_varList;
TQSplitter *m_mainSplitter, *m_listSplitter;
TQSize m_newSize, m_oldSize;