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[Denon_Make] = "Denon";
8   makes[Ei_Make] = "Ei";
9   makes[GoldStar_Make] = "GoldStar";
10   makes[Hauppauge_Make] = "Hauppauge";
11   makes[Hitachi_Make] = "Hitachi";
12   makes[JVC_Make] = "JVC";
13   makes[LG_Make] = "LG";
14   makes[Mitsubishi_Make] = "Mitsubishi";
15   makes[Nokia_Make] = "Nokia";
16   makes[Panasonic_Make] = "Panasonic";
17   makes[Philips_Make] = "Philips";
18   makes[Pinnacle_Make] = "Pinnacle Systems";
19   makes[Raite_Make] = "Raite";
20   makes[RCA_Make] = "RCA";
21   makes[Sagem_Make] = "Sagem";
22   makes[Samsung_Make] = "Samsung";
23   makes[Sanyo_Make] = "Sanyo";
24   makes[Sharp_Make] = "Sharp";
25   makes[Sony_Make] = "Sony";
26   makes[Toshiba_Make] = "Toshiba";
27   makes[Westinghouse_Make] = "Westinghouse";
28   makes[Yamaha_Make] = "Yamaha";
29   makes[Zenith_Make] = "Zenith";
30 }
32 const char *PIRMakeMgr::getMakeString(
33   PIRMakeName n)
34 {
35   return makes[n];
36 }
39 void PIRMakeMgr::populateComboBox(
40   QComboBox *cb)
41 {
42   MakeCollection::const_iterator i = makes.begin();
43   while (i != makes.end())
44   {
45     cb->insertItem(i->first, QString(i->second));
46     ++i;
47   }
48 }

Terms of Use    Privacy Policy    Contribution Guidelines    Feedback

Powered By GForge Collaborative Development Environment