From fd5d099065a748cac49e20a13481f85666c53c71 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:14:12 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- kalarm/traywindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kalarm/traywindow.cpp') diff --git a/kalarm/traywindow.cpp b/kalarm/traywindow.cpp index 8bcad17ed..3916ebdd2 100644 --- a/kalarm/traywindow.cpp +++ b/kalarm/traywindow.cpp @@ -84,7 +84,7 @@ TrayWindow::TrayWindow(MainWindow* parent, const char* name) setAcceptDrops(true); // allow drag-and-drop onto this window // Set up the context menu - KActionCollection* actcol = actionCollection(); + TDEActionCollection* actcol = actionCollection(); AlarmEnableAction* a = Daemon::createAlarmEnableAction(actcol, "tAlarmEnable"); a->plug(contextMenu()); connect(a, TQT_SIGNAL(switched(bool)), TQT_SLOT(setEnabledStatus(bool))); @@ -118,7 +118,7 @@ TrayWindow::~TrayWindow() * Called just before the context menu is displayed. * Update the Alarms Enabled item status. */ -void TrayWindow::contextMenuAboutToShow(KPopupMenu* menu) +void TrayWindow::contextMenuAboutToShow(TDEPopupMenu* menu) { KSystemTray::contextMenuAboutToShow(menu); // needed for KDE <= 3.1 compatibility Daemon::checkStatus(); -- cgit v1.2.1