2020-06-19 Fred Gleason <fredg@paravelsystems.com>

* Removed the 'Q3PopupMenu' dependency from rdlogmanager(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason 2020-06-19 17:59:42 -04:00
parent a994558a89
commit 3f7be11b1c
3 changed files with 12 additions and 10 deletions

View File

@ -19901,3 +19901,5 @@
* Modified the 'Edit Event' dialog in rdlogmanager(1) to show '[auto]' * Modified the 'Edit Event' dialog in rdlogmanager(1) to show '[auto]'
as the transition type for the leading event in Pre-/Post-Import as the transition type for the leading event in Pre-/Post-Import
lists. lists.
2020-06-19 Fred Gleason <fredg@paravelsystems.com>
* Removed the 'Q3PopupMenu' dependency from rdlogmanager(1).

View File

@ -71,26 +71,26 @@ ImportListView::ImportListView(QWidget *parent)
// //
// Right Button Menu // Right Button Menu
// //
import_menu=new Q3PopupMenu(this); import_menu=new QMenu(this);
connect(import_menu,SIGNAL(aboutToShow()),this,SLOT(aboutToShowData())); connect(import_menu,SIGNAL(aboutToShow()),this,SLOT(aboutToShowData()));
import_menu->insertItem(tr("Insert Log Note"),this,SLOT(insertNoteMenuData()), import_menu->insertItem(tr("Insert Log Note"),this,SLOT(insertNoteMenuData()),
0,MENU_INSERT_NOTE); 0,MENU_INSERT_NOTE);
import_menu->insertItem(tr("Edit Log Note"),this,SLOT(editNoteMenuData()), import_menu->insertItem(tr("Edit Log Note"),this,SLOT(editNoteMenuData()),
0,MENU_EDIT_NOTE); 0,MENU_EDIT_NOTE);
import_menu->insertSeparator(); import_menu->insertSeparator();
import_menu->insertItem(tr("Insert Voice Track"), import_menu->insertItem(tr("Insert Voice Track"),
this,SLOT(insertTrackMenuData()), this,SLOT(insertTrackMenuData()),
0,MENU_INSERT_TRACK); 0,MENU_INSERT_TRACK);
import_menu->insertItem(tr("Edit Voice Track"),this,SLOT(editTrackMenuData()), import_menu->insertItem(tr("Edit Voice Track"),this,SLOT(editTrackMenuData()),
0,MENU_EDIT_TRACK); 0,MENU_EDIT_TRACK);
import_menu->insertSeparator(); import_menu->insertSeparator();
import_menu->insertItem(tr("PLAY Transition"),this,SLOT(playMenuData()), import_menu->insertItem(tr("PLAY Transition"),this,SLOT(playMenuData()),
0,MENU_PLAY_TRANS); 0,MENU_PLAY_TRANS);
import_menu->insertItem(tr("SEGUE Transition"),this,SLOT(segueMenuData()), import_menu->insertItem(tr("SEGUE Transition"),this,SLOT(segueMenuData()),
0,MENU_SEGUE_TRANS); 0,MENU_SEGUE_TRANS);
import_menu->insertSeparator(); import_menu->insertSeparator();
import_menu->insertItem(tr("Delete"),this,SLOT(deleteMenuData()), import_menu->insertItem(tr("Delete"),this,SLOT(deleteMenuData()),
0,MENU_DELETE); 0,MENU_DELETE);
import_allow_first_trans=true; import_allow_first_trans=true;
setAcceptDrops(true); setAcceptDrops(true);
} }

View File

@ -23,7 +23,7 @@
#include <q3listview.h> #include <q3listview.h>
#include <qpixmap.h> #include <qpixmap.h>
#include <q3popupmenu.h> #include <qmenu.h>
#include <rdeventimportlist.h> #include <rdeventimportlist.h>
@ -70,7 +70,7 @@ class ImportListView : public Q3ListView
QPixmap *import_macro_map; QPixmap *import_macro_map;
QPixmap *import_notemarker_map; QPixmap *import_notemarker_map;
QPixmap *import_mic16_map; QPixmap *import_mic16_map;
Q3PopupMenu *import_menu; QMenu *import_menu;
int import_menu_line; int import_menu_line;
RDEventImportItem *import_menu_i_item; RDEventImportItem *import_menu_i_item;
Q3ListViewItem *import_menu_item; Q3ListViewItem *import_menu_item;