diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /korganizer/koeventview.cpp | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'korganizer/koeventview.cpp')
-rw-r--r-- | korganizer/koeventview.cpp | 50 |
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() ); } //--------------------------------------------------------------------------- |