diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:14:12 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:14:12 -0600 |
commit | fd5d099065a748cac49e20a13481f85666c53c71 (patch) | |
tree | a0f1672cd88eb0e69b9ddc2ed9b08ecd98538bd3 /kalarm/mainwindow.h | |
parent | b440a9c608596cd88efdb3bfa4661c5e37efbe4b (diff) | |
download | tdepim-fd5d099065a748cac49e20a13481f85666c53c71.tar.gz tdepim-fd5d099065a748cac49e20a13481f85666c53c71.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kalarm/mainwindow.h')
-rw-r--r-- | kalarm/mainwindow.h | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/kalarm/mainwindow.h b/kalarm/mainwindow.h index 47a02447d..2e39e027c 100644 --- a/kalarm/mainwindow.h +++ b/kalarm/mainwindow.h @@ -29,10 +29,10 @@ #include "undo.h" class TQListViewItem; -class KAction; -class KToggleAction; -class KToolBarPopupAction; -class KPopupMenu; +class TDEAction; +class TDEToggleAction; +class TDEToolBarPopupAction; +class TDEPopupMenu; class ActionAlarmsEnabled; class AlarmListView; class TemplateDlg; @@ -142,7 +142,7 @@ class MainWindow : public MainWindowBase void setEnableText(bool enable); static KAEvent::Action getDropAction(TQDropEvent*, TQString& text); static void executeNew(MainWindow*, const KAEvent*, KAEvent::Action = KAEvent::MESSAGE, const AlarmText& = AlarmText()); - static void initUndoMenu(KPopupMenu*, Undo::Type); + static void initUndoMenu(TDEPopupMenu*, Undo::Type); static void setUpdateTimer(); static void enableTemplateMenuItem(bool); @@ -150,26 +150,26 @@ class MainWindow : public MainWindowBase static TemplateDlg* mTemplateDlg; // the one and only template dialogue AlarmListView* mListView; - KAction* mActionTemplates; - KAction* mActionNew; + TDEAction* mActionTemplates; + TDEAction* mActionNew; TemplateMenuAction* mActionNewFromTemplate; - KAction* mActionCreateTemplate; - KAction* mActionCopy; - KAction* mActionModify; - KAction* mActionView; - KAction* mActionDelete; - KAction* mActionReactivate; - KAction* mActionEnable; - KAction* mActionFindNext; - KAction* mActionFindPrev; - KToolBarPopupAction* mActionUndo; - KToolBarPopupAction* mActionRedo; - KToggleAction* mActionToggleTrayIcon; - KToggleAction* mActionShowTime; - KToggleAction* mActionShowTimeTo; - KToggleAction* mActionShowExpired; - KPopupMenu* mActionsMenu; - KPopupMenu* mContextMenu; + TDEAction* mActionCreateTemplate; + TDEAction* mActionCopy; + TDEAction* mActionModify; + TDEAction* mActionView; + TDEAction* mActionDelete; + TDEAction* mActionReactivate; + TDEAction* mActionEnable; + TDEAction* mActionFindNext; + TDEAction* mActionFindPrev; + TDEToolBarPopupAction* mActionUndo; + TDEToolBarPopupAction* mActionRedo; + TDEToggleAction* mActionToggleTrayIcon; + TDEToggleAction* mActionShowTime; + TDEToggleAction* mActionShowTimeTo; + TDEToggleAction* mActionShowExpired; + TDEPopupMenu* mActionsMenu; + TDEPopupMenu* mContextMenu; bool mMinuteTimerActive; // minute timer is active bool mHiddenTrayParent; // on session restoration, hide this window bool mShowExpired; // include expired alarms in the displayed list |