text: //#include <QtCore>
  #include <QList>
  #include <iostream>
  using namespace std;
  
  int main(void)
  {
      QList<int>* list = new QList<int>();
      list->push_back(1);
      list->push_back(2);
      list->push_back(3);
      list->push_back(4);
      
      
      list->indexOf(3) == -1 ?
  	   std::cout<<"No Element has been found!"<<std::endl
  	  :std::cout<<"Element found at index "<<list->indexOf(3)<<std::endl; 
  }
  