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[Raite_Make] = "Raite";
17   makes[RCA_Make] = "RCA";
18   makes[Sagem_Make] = "Sagem";
19   makes[Samsung_Make] = "Samsung";
20   makes[Sanyo_Make] = "Sanyo";
21   makes[Sharp_Make] = "Sharp";
22   makes[Sony_Make] = "Sony";
23   makes[Toshiba_Make] = "Toshiba";
24   makes[Westinghouse_Make] = "Westinghouse";
25   makes[Yamaha_Make] = "Yamaha";
26   makes[Zenith_Make] = "Zenith";
27 }
29 const char *PIRMakeMgr::getMakeString(
30   PIRMakeName n)
31 {
32   return makes[n];
33 }
36 void PIRMakeMgr::populateComboBox(
37   QComboBox *cb)
38 {
39   MakeCollection::const_iterator i = makes.begin();
40   while (i != makes.end())
41   {
42     cb->insertItem(i->first, QString(i->second));
43     ++i;
44   }
45 }

Terms of Use    Privacy Policy    Contribution Guidelines    Feedback

Powered By GForge Collaborative Development Environment