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

Terms of Use    Privacy Policy    Contribution Guidelines    Feedback

Powered By GForge Collaborative Development Environment