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

Terms of Use    Privacy Policy    Contribution Guidelines    Feedback

Powered By GForge Collaborative Development Environment