summaryrefslogtreecommitdiffstats
path: root/korganizer/koeventview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/koeventview.cpp')
-rw-r--r--korganizer/koeventview.cpp50
1 files changed, 25 insertions, 25 deletions
diff --git a/korganizer/koeventview.cpp b/korganizer/koeventview.cpp
index 1f3e62a59..17708953b 100644
--- a/korganizer/koeventview.cpp
+++ b/korganizer/koeventview.cpp
@@ -22,8 +22,8 @@
without including the source code for Qt in the source distribution.
*/
-#include <qpopupmenu.h>
-#include <qcursor.h>
+#include <tqpopupmenu.h>
+#include <tqcursor.h>
#include <klocale.h>
#include <kdebug.h>
@@ -44,7 +44,7 @@ using namespace KOrg;
//---------------------------------------------------------------------------
-KOEventView::KOEventView(Calendar *cal,QWidget *parent,const char *name)
+KOEventView::KOEventView(Calendar *cal,TQWidget *parent,const char *name)
: KOrg::BaseView(cal,parent,name)
{
}
@@ -61,29 +61,29 @@ KOEventPopupMenu *KOEventView::eventPopup()
{
KOEventPopupMenu *eventPopup = new KOEventPopupMenu;
- connect(eventPopup,SIGNAL(editIncidenceSignal(Incidence *)),
- SIGNAL(editIncidenceSignal(Incidence *)));
- connect(eventPopup,SIGNAL(showIncidenceSignal(Incidence *)),
- SIGNAL(showIncidenceSignal(Incidence *)));
- connect(eventPopup,SIGNAL(deleteIncidenceSignal(Incidence *)),
- SIGNAL(deleteIncidenceSignal(Incidence *)));
- connect(eventPopup,SIGNAL(cutIncidenceSignal(Incidence *)),
- SIGNAL(cutIncidenceSignal(Incidence *)));
- connect(eventPopup,SIGNAL(copyIncidenceSignal(Incidence *)),
- SIGNAL(copyIncidenceSignal(Incidence *)));
- connect(eventPopup,SIGNAL(pasteIncidenceSignal()),
- SIGNAL(pasteIncidenceSignal()));
- connect(eventPopup,SIGNAL(toggleAlarmSignal(Incidence *)),
- SIGNAL(toggleAlarmSignal(Incidence*)));
- connect(eventPopup,SIGNAL(dissociateOccurrenceSignal( Incidence *, const QDate & )),
- SIGNAL(dissociateOccurrenceSignal( Incidence *, const QDate & )));
- connect(eventPopup,SIGNAL(dissociateFutureOccurrenceSignal( Incidence *, const QDate & )),
- SIGNAL(dissociateFutureOccurrenceSignal( Incidence *, const QDate & )));
+ connect(eventPopup,TQT_SIGNAL(editIncidenceSignal(Incidence *)),
+ TQT_SIGNAL(editIncidenceSignal(Incidence *)));
+ connect(eventPopup,TQT_SIGNAL(showIncidenceSignal(Incidence *)),
+ TQT_SIGNAL(showIncidenceSignal(Incidence *)));
+ connect(eventPopup,TQT_SIGNAL(deleteIncidenceSignal(Incidence *)),
+ TQT_SIGNAL(deleteIncidenceSignal(Incidence *)));
+ connect(eventPopup,TQT_SIGNAL(cutIncidenceSignal(Incidence *)),
+ TQT_SIGNAL(cutIncidenceSignal(Incidence *)));
+ connect(eventPopup,TQT_SIGNAL(copyIncidenceSignal(Incidence *)),
+ TQT_SIGNAL(copyIncidenceSignal(Incidence *)));
+ connect(eventPopup,TQT_SIGNAL(pasteIncidenceSignal()),
+ TQT_SIGNAL(pasteIncidenceSignal()));
+ connect(eventPopup,TQT_SIGNAL(toggleAlarmSignal(Incidence *)),
+ TQT_SIGNAL(toggleAlarmSignal(Incidence*)));
+ connect(eventPopup,TQT_SIGNAL(dissociateOccurrenceSignal( Incidence *, const TQDate & )),
+ TQT_SIGNAL(dissociateOccurrenceSignal( Incidence *, const TQDate & )));
+ connect(eventPopup,TQT_SIGNAL(dissociateFutureOccurrenceSignal( Incidence *, const TQDate & )),
+ TQT_SIGNAL(dissociateFutureOccurrenceSignal( Incidence *, const TQDate & )));
return eventPopup;
}
-QPopupMenu *KOEventView::newEventPopup()
+TQPopupMenu *KOEventView::newEventPopup()
{
KXMLGUIClient *client = KOCore::self()->xmlguiClient( this );
if ( !client ) {
@@ -95,7 +95,7 @@ QPopupMenu *KOEventView::newEventPopup()
return 0; // can happen if called too early
}
- return static_cast<QPopupMenu*>
+ return static_cast<TQPopupMenu*>
( client->factory()->container( "rmb_selection_popup", client ) );
}
//---------------------------------------------------------------------------
@@ -137,14 +137,14 @@ void KOEventView::popupCopy()
void KOEventView::showNewEventPopup()
{
- QPopupMenu *popup = newEventPopup();
+ TQPopupMenu *popup = newEventPopup();
if ( !popup ) {
kdError() << "KOEventView::showNewEventPopup(): popup creation failed"
<< endl;
return;
}
- popup->popup( QCursor::pos() );
+ popup->popup( TQCursor::pos() );
}
//---------------------------------------------------------------------------