summaryrefslogtreecommitdiff
path: root/muse2/muse/confmport.h
diff options
context:
space:
mode:
authorOrcan Ogetbil <oget.fedora@gmail.com>2010-11-27 11:32:13 +0000
committerOrcan Ogetbil <oget.fedora@gmail.com>2010-11-27 11:32:13 +0000
commita0ed94cfa536025b1c51b6b1c4dffe1683ea2808 (patch)
tree2554a80f8ec4a105a9779db59751ee8548a086c6 /muse2/muse/confmport.h
parent5969affc475d1abf1c34297b524b905490b05fe1 (diff)
ported .ui widgets to Qt4
Diffstat (limited to 'muse2/muse/confmport.h')
-rw-r--r--muse2/muse/confmport.h43
1 files changed, 5 insertions, 38 deletions
diff --git a/muse2/muse/confmport.h b/muse2/muse/confmport.h
index 11bac60c..d8bd663b 100644
--- a/muse2/muse/confmport.h
+++ b/muse2/muse/confmport.h
@@ -10,62 +10,29 @@
#define __CONFMPORT_H__
#include <QWidget>
-#include <Q3WhatsThis>
#include <QToolTip>
-//Added by qt3to4:
-//#include <Q3PopupMenu>
#include "ui_synthconfigbase.h"
class QTreeWidget;
class QTableWidget;
class QPoint;
-//class Q3PopupMenu;
class QMenu;
-class Q3Header;
class Xml;
-//----------------------------------------------------------
-// MPHeaderTip
-//----------------------------------------------------------
-
-class MPHeaderTip { // : public QToolTip { ddskrjo
-
- public:
- MPHeaderTip(QWidget *) {} // : QToolTip(parent) {} ddskrjo
- virtual ~MPHeaderTip() {}
- protected:
- void maybeTip(const QPoint &);
- };
-
-//---------------------------------------------------------
-// MPWhatsThis
-//---------------------------------------------------------
-
-class MPWhatsThis : public Q3WhatsThis {
- Q3Header* header;
-
- protected:
- QString text(const QPoint&);
-
- public:
- MPWhatsThis(QWidget* parent, Q3Header* h) : Q3WhatsThis(parent) {
- header = h;
- }
- };
-
//---------------------------------------------------------
// MPConfig
// Midi Port Config
//---------------------------------------------------------
class MPConfig : public QDialog, Ui::SynthConfigBase {
- MPHeaderTip* _mptooltip;
- //Q3PopupMenu* popup;
QMenu* instrPopup;
-
+ //QMenu* popup;
int _showAliases; // -1: None. 0: First aliases. 1: Second aliases etc.
-
+ void setWhatsThis(QTableWidgetItem *item, int col);
+ void setToolTip(QTableWidgetItem *item, int col);
+ void addItem(int row, int col, QTableWidgetItem *item, QTableWidget *table);
+
Q_OBJECT
private slots: