Hi friends i have 2 doubt's.

1.) I am using mouse press events

Qt Code:
  1. QMousePressEvent(QMouseEvent *e)
  2. QPoint= e->Pos(); // Now here i wanted to get the Object Name of the Point e(I mean the point on which widget it is ).
To copy to clipboard, switch view to plain text mode 
I tried so much but cud't figure out a way to solve my problem.

2.) In this i am dealing with vectors .
here i have three vectors

QVector<double>V1;
QVector<double>V2
QVector<double>V2

I want to collect these into new vector Vmain, i declared it as

QVector<QVector *>Vmain;
Vmain<<V1<<V2<<V3;

But while doing operation on this ........

for(cl = 0; cl<Vmain.count();cl++)
{
Vmain.at(cl).clear();
}

I got these errors


error C2228: left of '.clear' must have class/struct/union
error C2678: binary '<<' : no operator found which takes a left-hand operand of type 'QVector<T>'
please help me with this problem.

Thank You