Log In
New Account
  
Home My Page Project Cloud Code Snippets Project Openings Pierogi
Summary Forums Tracker Lists Tasks Docs News SCM Files
1 #include "pirmakenames.h"
3 PIRMakeMgr::PIRMakeMgr()
4 {
5   makes[Any_Make] = "Any";
6   makes[Apple_Make] = "Apple";
7   makes[Ei_Make] = "Ei";
8   makes[GoldStar_Make] = "GoldStar";
9   makes[Hauppauge_Make] = "Hauppauge";
10   makes[JVC_Make] = "JVC";
11   makes[LG_Make] = "LG";
12   makes[Mitsubishi_Make] = "Mitsubishi";
13   makes[Nokia_Make] = "Nokia";
14   makes[Philips_Make] = "Philips";
15   makes[Panasonic_Make] = "Panasonic";
16   makes[RCA_Make] = "RCA";
17   makes[Samsung_Make] = "Samsung";
18   makes[Sanyo_Make] = "Sanyo";
19   makes[Sharp_Make] = "Sharp";
20   makes[Sony_Make] = "Sony";
21   makes[Toshiba_Make] = "Toshiba";
22   makes[Westinghouse_Make] = "Westinghouse";
23   makes[Zenith_Make] = "Zenith";
24 }
26 const char *PIRMakeMgr::getMakeString(
27   PIRMakeName n)
28 {
29   return makes[n];
30 }
33 void PIRMakeMgr::populateComboBox(
34   QComboBox *cb)
35 {
36   MakeCollection::const_iterator i = makes.begin();
37   while (i != makes.end())
38   {
39     cb->insertItem(i->first, QString(i->second));
40     ++i;
41   }
42 }

Terms of Use    Privacy Policy    Contribution Guidelines    Feedback

Powered By GForge Collaborative Development Environment