Show
Ignore:
Timestamp:
01/28/06 01:54:20 (3 years ago)
Author:
edmanm
Message:

Add support for easily retrieving the message in the first reply line of a
control response.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/control/controlreply.cpp

    r90 r202  
    4141} 
    4242 
     43/** Returns the requested line from this reply */ 
    4344ReplyLine 
    4445ControlReply::getLine(int idx) 
     
    6162} 
    6263 
     64/** Returns the message of the first line in the reply */ 
     65QString 
     66ControlReply::getMessage() 
     67{ 
     68  return getLine().getMessage(); 
     69} 
     70