how can i access a QString ill show my code on how im trying to do this

bottom.h

Qt Code:
  1. extern QString *buttonFV;
To copy to clipboard, switch view to plain text mode 

then in bottom.cpp

Qt Code:
  1. while(iconmodel->query().next())
  2. {
  3. buttonFV = iconmodel->query().value(0).toString(); // String I'm Tring to get the value from in a slot
  4.  
  5. emit next_DoStyle();
  6.  
  7.  
  8. }
To copy to clipboard, switch view to plain text mode 

SLOT in bottom.cpp

Qt Code:
  1. void ttmbottom::do_Style()
  2. {
  3.  
  4. QString bttnPath;// = QApplication::applicationDirPath();
  5. bttnPath = "/home/dev/ttm/directory/icon/";
  6. bttnPath += buttonFV; // trying to use it here !!!!!
  7.  
  8.  
  9.  
  10. }
To copy to clipboard, switch view to plain text mode 

if anyone can help me solve this issue i always have problems trying to use the data i have stored