Skip to content
This repository has been archived by the owner on Dec 4, 2020. It is now read-only.

Commit

Permalink
Add access to the raw name/genericname information in an XDGFile.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ken Moore committed Mar 26, 2014
1 parent 4ef54ee commit 1250f66
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src-qt4/libpcbsd/utils/pcbsd-xdgfile.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,17 @@ class XDGFile{
if(lname.isEmpty()){ return name; }
else{ return lname; }
}
QString RawName(){
return name;
}
// -- Generic Name --
QString GenericName(){ //will return localized generic name if there is one
if(lgname.isEmpty()){ return gname; }
else{ return lgname; }
}
QString RawGenericName(){
return gname;
}
// -- Comment --
QString Comment(){ //will return localized comment if there is one
if(lcomment.isEmpty()){ return comment; }
Expand Down

0 comments on commit 1250f66

Please sign in to comment.