selector::selector(QWidget *parent) :
QDialog(parent,Qt::WindowTitleHint | Qt::WindowSystemMenuHint)
{
QMap <QString,QString> somemap;
QTreeWidget* fTree = new QTreeWidget;
...
...
connect(fTree,SIGNAL(itemActivated(QTreeWidgetItem*,int)),SLOT(on_select(QTreeWidgetItem*,int)));
}
void audiofolder_select::on_select(QTreeWidgetItem* t, int m)
{
qDebug() << thjs->somemap;
}