Typica is a free program for professional coffee roasters. https://typica.us
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

moc_typica.cpp 260KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967
  1. /****************************************************************************
  2. ** Meta object code from reading C++ file 'typica.cpp'
  3. **
  4. ** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.6)
  5. **
  6. ** WARNING! All changes made in this file will be lost!
  7. *****************************************************************************/
  8. #if !defined(Q_MOC_OUTPUT_REVISION)
  9. #error "The header file 'typica.cpp' doesn't include <QObject>."
  10. #elif Q_MOC_OUTPUT_REVISION != 63
  11. #error "This file was generated using the moc from 4.8.6. It"
  12. #error "cannot be used with the include files from this version of Qt."
  13. #error "(The moc has changed too much.)"
  14. #endif
  15. QT_BEGIN_MOC_NAMESPACE
  16. static const uint qt_meta_data_ScriptQMainWindow[] = {
  17. // content:
  18. 6, // revision
  19. 0, // classname
  20. 0, 0, // classinfo
  21. 7, 14, // methods
  22. 1, 49, // properties
  23. 0, 0, // enums/sets
  24. 0, 0, // constructors
  25. 0, // flags
  26. 1, // signalCount
  27. // signals: signature, parameters, type, tag, flags
  28. 19, 18, 18, 18, 0x05,
  29. // slots: signature, parameters, type, tag, flags
  30. 34, 18, 18, 18, 0x0a,
  31. 45, 41, 18, 18, 0x0a,
  32. 74, 41, 18, 18, 0x0a,
  33. 114, 106, 18, 18, 0x0a,
  34. 137, 18, 18, 18, 0x2a,
  35. 160, 153, 18, 18, 0x0a,
  36. // properties: name, type, flags
  37. 192, 184, 0x0a095103,
  38. 0 // eod
  39. };
  40. static const char qt_meta_stringdata_ScriptQMainWindow[] = {
  41. "ScriptQMainWindow\0\0aboutToClose()\0"
  42. "show()\0key\0saveSizeAndPosition(QString)\0"
  43. "restoreSizeAndPosition(QString)\0message\0"
  44. "displayStatus(QString)\0displayStatus()\0"
  45. "prompt\0setClosePrompt(QString)\0QString\0"
  46. "closePrompt\0"
  47. };
  48. void ScriptQMainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  49. {
  50. if (_c == QMetaObject::InvokeMetaMethod) {
  51. Q_ASSERT(staticMetaObject.cast(_o));
  52. ScriptQMainWindow *_t = static_cast<ScriptQMainWindow *>(_o);
  53. switch (_id) {
  54. case 0: _t->aboutToClose(); break;
  55. case 1: _t->show(); break;
  56. case 2: _t->saveSizeAndPosition((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  57. case 3: _t->restoreSizeAndPosition((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  58. case 4: _t->displayStatus((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  59. case 5: _t->displayStatus(); break;
  60. case 6: _t->setClosePrompt((*reinterpret_cast< QString(*)>(_a[1]))); break;
  61. default: ;
  62. }
  63. }
  64. }
  65. const QMetaObjectExtraData ScriptQMainWindow::staticMetaObjectExtraData = {
  66. 0, qt_static_metacall
  67. };
  68. const QMetaObject ScriptQMainWindow::staticMetaObject = {
  69. { &QMainWindow::staticMetaObject, qt_meta_stringdata_ScriptQMainWindow,
  70. qt_meta_data_ScriptQMainWindow, &staticMetaObjectExtraData }
  71. };
  72. #ifdef Q_NO_DATA_RELOCATION
  73. const QMetaObject &ScriptQMainWindow::getStaticMetaObject() { return staticMetaObject; }
  74. #endif //Q_NO_DATA_RELOCATION
  75. const QMetaObject *ScriptQMainWindow::metaObject() const
  76. {
  77. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  78. }
  79. void *ScriptQMainWindow::qt_metacast(const char *_clname)
  80. {
  81. if (!_clname) return 0;
  82. if (!strcmp(_clname, qt_meta_stringdata_ScriptQMainWindow))
  83. return static_cast<void*>(const_cast< ScriptQMainWindow*>(this));
  84. return QMainWindow::qt_metacast(_clname);
  85. }
  86. int ScriptQMainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  87. {
  88. _id = QMainWindow::qt_metacall(_c, _id, _a);
  89. if (_id < 0)
  90. return _id;
  91. if (_c == QMetaObject::InvokeMetaMethod) {
  92. if (_id < 7)
  93. qt_static_metacall(this, _c, _id, _a);
  94. _id -= 7;
  95. }
  96. #ifndef QT_NO_PROPERTIES
  97. else if (_c == QMetaObject::ReadProperty) {
  98. void *_v = _a[0];
  99. switch (_id) {
  100. case 0: *reinterpret_cast< QString*>(_v) = closePrompt(); break;
  101. }
  102. _id -= 1;
  103. } else if (_c == QMetaObject::WriteProperty) {
  104. void *_v = _a[0];
  105. switch (_id) {
  106. case 0: setClosePrompt(*reinterpret_cast< QString*>(_v)); break;
  107. }
  108. _id -= 1;
  109. } else if (_c == QMetaObject::ResetProperty) {
  110. _id -= 1;
  111. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  112. _id -= 1;
  113. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  114. _id -= 1;
  115. } else if (_c == QMetaObject::QueryPropertyStored) {
  116. _id -= 1;
  117. } else if (_c == QMetaObject::QueryPropertyEditable) {
  118. _id -= 1;
  119. } else if (_c == QMetaObject::QueryPropertyUser) {
  120. _id -= 1;
  121. }
  122. #endif // QT_NO_PROPERTIES
  123. return _id;
  124. }
  125. // SIGNAL 0
  126. void ScriptQMainWindow::aboutToClose()
  127. {
  128. QMetaObject::activate(this, &staticMetaObject, 0, 0);
  129. }
  130. static const uint qt_meta_data_NumericDelegate[] = {
  131. // content:
  132. 6, // revision
  133. 0, // classname
  134. 0, 0, // classinfo
  135. 0, 0, // methods
  136. 0, 0, // properties
  137. 0, 0, // enums/sets
  138. 0, 0, // constructors
  139. 0, // flags
  140. 0, // signalCount
  141. 0 // eod
  142. };
  143. static const char qt_meta_stringdata_NumericDelegate[] = {
  144. "NumericDelegate\0"
  145. };
  146. void NumericDelegate::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  147. {
  148. Q_UNUSED(_o);
  149. Q_UNUSED(_id);
  150. Q_UNUSED(_c);
  151. Q_UNUSED(_a);
  152. }
  153. const QMetaObjectExtraData NumericDelegate::staticMetaObjectExtraData = {
  154. 0, qt_static_metacall
  155. };
  156. const QMetaObject NumericDelegate::staticMetaObject = {
  157. { &QItemDelegate::staticMetaObject, qt_meta_stringdata_NumericDelegate,
  158. qt_meta_data_NumericDelegate, &staticMetaObjectExtraData }
  159. };
  160. #ifdef Q_NO_DATA_RELOCATION
  161. const QMetaObject &NumericDelegate::getStaticMetaObject() { return staticMetaObject; }
  162. #endif //Q_NO_DATA_RELOCATION
  163. const QMetaObject *NumericDelegate::metaObject() const
  164. {
  165. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  166. }
  167. void *NumericDelegate::qt_metacast(const char *_clname)
  168. {
  169. if (!_clname) return 0;
  170. if (!strcmp(_clname, qt_meta_stringdata_NumericDelegate))
  171. return static_cast<void*>(const_cast< NumericDelegate*>(this));
  172. return QItemDelegate::qt_metacast(_clname);
  173. }
  174. int NumericDelegate::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  175. {
  176. _id = QItemDelegate::qt_metacall(_c, _id, _a);
  177. if (_id < 0)
  178. return _id;
  179. return _id;
  180. }
  181. static const uint qt_meta_data_ScriptValidator[] = {
  182. // content:
  183. 6, // revision
  184. 0, // classname
  185. 0, 0, // classinfo
  186. 0, 0, // methods
  187. 0, 0, // properties
  188. 0, 0, // enums/sets
  189. 0, 0, // constructors
  190. 0, // flags
  191. 0, // signalCount
  192. 0 // eod
  193. };
  194. static const char qt_meta_stringdata_ScriptValidator[] = {
  195. "ScriptValidator\0"
  196. };
  197. void ScriptValidator::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  198. {
  199. Q_UNUSED(_o);
  200. Q_UNUSED(_id);
  201. Q_UNUSED(_c);
  202. Q_UNUSED(_a);
  203. }
  204. const QMetaObjectExtraData ScriptValidator::staticMetaObjectExtraData = {
  205. 0, qt_static_metacall
  206. };
  207. const QMetaObject ScriptValidator::staticMetaObject = {
  208. { &QValidator::staticMetaObject, qt_meta_stringdata_ScriptValidator,
  209. qt_meta_data_ScriptValidator, &staticMetaObjectExtraData }
  210. };
  211. #ifdef Q_NO_DATA_RELOCATION
  212. const QMetaObject &ScriptValidator::getStaticMetaObject() { return staticMetaObject; }
  213. #endif //Q_NO_DATA_RELOCATION
  214. const QMetaObject *ScriptValidator::metaObject() const
  215. {
  216. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  217. }
  218. void *ScriptValidator::qt_metacast(const char *_clname)
  219. {
  220. if (!_clname) return 0;
  221. if (!strcmp(_clname, qt_meta_stringdata_ScriptValidator))
  222. return static_cast<void*>(const_cast< ScriptValidator*>(this));
  223. return QValidator::qt_metacast(_clname);
  224. }
  225. int ScriptValidator::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  226. {
  227. _id = QValidator::qt_metacall(_c, _id, _a);
  228. if (_id < 0)
  229. return _id;
  230. return _id;
  231. }
  232. static const uint qt_meta_data_DAQ[] = {
  233. // content:
  234. 6, // revision
  235. 0, // classname
  236. 0, 0, // classinfo
  237. 4, 14, // methods
  238. 0, 0, // properties
  239. 1, 34, // enums/sets
  240. 0, 0, // constructors
  241. 0, // flags
  242. 0, // signalCount
  243. // slots: signature, parameters, type, tag, flags
  244. 5, 4, 4, 4, 0x08,
  245. // methods: signature, parameters, type, tag, flags
  246. 25, 22, 4, 4, 0x02,
  247. 46, 4, 4, 4, 0x02,
  248. 54, 4, 4, 4, 0x02,
  249. // enums: name, flags, count, data
  250. 61, 0x0, 8, 38,
  251. // enum data: key, value
  252. 78, uint(DAQ::TypeJ),
  253. 84, uint(DAQ::TypeK),
  254. 90, uint(DAQ::TypeN),
  255. 96, uint(DAQ::TypeR),
  256. 102, uint(DAQ::TypeS),
  257. 108, uint(DAQ::TypeT),
  258. 114, uint(DAQ::TypeB),
  259. 120, uint(DAQ::TypeE),
  260. 0 // eod
  261. };
  262. static const char qt_meta_stringdata_DAQ[] = {
  263. "DAQ\0\0threadFinished()\0Hz\0setClockRate(double)\0"
  264. "start()\0stop()\0ThermocoupleType\0TypeJ\0"
  265. "TypeK\0TypeN\0TypeR\0TypeS\0TypeT\0TypeB\0"
  266. "TypeE\0"
  267. };
  268. void DAQ::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  269. {
  270. if (_c == QMetaObject::InvokeMetaMethod) {
  271. Q_ASSERT(staticMetaObject.cast(_o));
  272. DAQ *_t = static_cast<DAQ *>(_o);
  273. switch (_id) {
  274. case 0: _t->threadFinished(); break;
  275. case 1: _t->setClockRate((*reinterpret_cast< double(*)>(_a[1]))); break;
  276. case 2: _t->start(); break;
  277. case 3: _t->stop(); break;
  278. default: ;
  279. }
  280. }
  281. }
  282. const QMetaObjectExtraData DAQ::staticMetaObjectExtraData = {
  283. 0, qt_static_metacall
  284. };
  285. const QMetaObject DAQ::staticMetaObject = {
  286. { &QObject::staticMetaObject, qt_meta_stringdata_DAQ,
  287. qt_meta_data_DAQ, &staticMetaObjectExtraData }
  288. };
  289. #ifdef Q_NO_DATA_RELOCATION
  290. const QMetaObject &DAQ::getStaticMetaObject() { return staticMetaObject; }
  291. #endif //Q_NO_DATA_RELOCATION
  292. const QMetaObject *DAQ::metaObject() const
  293. {
  294. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  295. }
  296. void *DAQ::qt_metacast(const char *_clname)
  297. {
  298. if (!_clname) return 0;
  299. if (!strcmp(_clname, qt_meta_stringdata_DAQ))
  300. return static_cast<void*>(const_cast< DAQ*>(this));
  301. return QObject::qt_metacast(_clname);
  302. }
  303. int DAQ::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  304. {
  305. _id = QObject::qt_metacall(_c, _id, _a);
  306. if (_id < 0)
  307. return _id;
  308. if (_c == QMetaObject::InvokeMetaMethod) {
  309. if (_id < 4)
  310. qt_static_metacall(this, _c, _id, _a);
  311. _id -= 4;
  312. }
  313. return _id;
  314. }
  315. static const uint qt_meta_data_DAQImplementation[] = {
  316. // content:
  317. 6, // revision
  318. 0, // classname
  319. 0, 0, // classinfo
  320. 0, 0, // methods
  321. 0, 0, // properties
  322. 0, 0, // enums/sets
  323. 0, 0, // constructors
  324. 0, // flags
  325. 0, // signalCount
  326. 0 // eod
  327. };
  328. static const char qt_meta_stringdata_DAQImplementation[] = {
  329. "DAQImplementation\0"
  330. };
  331. void DAQImplementation::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  332. {
  333. Q_UNUSED(_o);
  334. Q_UNUSED(_id);
  335. Q_UNUSED(_c);
  336. Q_UNUSED(_a);
  337. }
  338. const QMetaObjectExtraData DAQImplementation::staticMetaObjectExtraData = {
  339. 0, qt_static_metacall
  340. };
  341. const QMetaObject DAQImplementation::staticMetaObject = {
  342. { &QThread::staticMetaObject, qt_meta_stringdata_DAQImplementation,
  343. qt_meta_data_DAQImplementation, &staticMetaObjectExtraData }
  344. };
  345. #ifdef Q_NO_DATA_RELOCATION
  346. const QMetaObject &DAQImplementation::getStaticMetaObject() { return staticMetaObject; }
  347. #endif //Q_NO_DATA_RELOCATION
  348. const QMetaObject *DAQImplementation::metaObject() const
  349. {
  350. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  351. }
  352. void *DAQImplementation::qt_metacast(const char *_clname)
  353. {
  354. if (!_clname) return 0;
  355. if (!strcmp(_clname, qt_meta_stringdata_DAQImplementation))
  356. return static_cast<void*>(const_cast< DAQImplementation*>(this));
  357. return QThread::qt_metacast(_clname);
  358. }
  359. int DAQImplementation::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  360. {
  361. _id = QThread::qt_metacall(_c, _id, _a);
  362. if (_id < 0)
  363. return _id;
  364. return _id;
  365. }
  366. static const uint qt_meta_data_FakeDAQImplementation[] = {
  367. // content:
  368. 6, // revision
  369. 0, // classname
  370. 0, 0, // classinfo
  371. 0, 0, // methods
  372. 0, 0, // properties
  373. 0, 0, // enums/sets
  374. 0, 0, // constructors
  375. 0, // flags
  376. 0, // signalCount
  377. 0 // eod
  378. };
  379. static const char qt_meta_stringdata_FakeDAQImplementation[] = {
  380. "FakeDAQImplementation\0"
  381. };
  382. void FakeDAQImplementation::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  383. {
  384. Q_UNUSED(_o);
  385. Q_UNUSED(_id);
  386. Q_UNUSED(_c);
  387. Q_UNUSED(_a);
  388. }
  389. const QMetaObjectExtraData FakeDAQImplementation::staticMetaObjectExtraData = {
  390. 0, qt_static_metacall
  391. };
  392. const QMetaObject FakeDAQImplementation::staticMetaObject = {
  393. { &QThread::staticMetaObject, qt_meta_stringdata_FakeDAQImplementation,
  394. qt_meta_data_FakeDAQImplementation, &staticMetaObjectExtraData }
  395. };
  396. #ifdef Q_NO_DATA_RELOCATION
  397. const QMetaObject &FakeDAQImplementation::getStaticMetaObject() { return staticMetaObject; }
  398. #endif //Q_NO_DATA_RELOCATION
  399. const QMetaObject *FakeDAQImplementation::metaObject() const
  400. {
  401. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  402. }
  403. void *FakeDAQImplementation::qt_metacast(const char *_clname)
  404. {
  405. if (!_clname) return 0;
  406. if (!strcmp(_clname, qt_meta_stringdata_FakeDAQImplementation))
  407. return static_cast<void*>(const_cast< FakeDAQImplementation*>(this));
  408. return QThread::qt_metacast(_clname);
  409. }
  410. int FakeDAQImplementation::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  411. {
  412. _id = QThread::qt_metacall(_c, _id, _a);
  413. if (_id < 0)
  414. return _id;
  415. return _id;
  416. }
  417. static const uint qt_meta_data_FakeDAQ[] = {
  418. // content:
  419. 6, // revision
  420. 0, // classname
  421. 0, 0, // classinfo
  422. 2, 14, // methods
  423. 0, 0, // properties
  424. 0, 0, // enums/sets
  425. 0, 0, // constructors
  426. 0, // flags
  427. 0, // signalCount
  428. // methods: signature, parameters, type, tag, flags
  429. 12, 9, 8, 8, 0x02,
  430. 33, 8, 8, 8, 0x02,
  431. 0 // eod
  432. };
  433. static const char qt_meta_stringdata_FakeDAQ[] = {
  434. "FakeDAQ\0\0Hz\0setClockRate(double)\0"
  435. "start()\0"
  436. };
  437. void FakeDAQ::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  438. {
  439. if (_c == QMetaObject::InvokeMetaMethod) {
  440. Q_ASSERT(staticMetaObject.cast(_o));
  441. FakeDAQ *_t = static_cast<FakeDAQ *>(_o);
  442. switch (_id) {
  443. case 0: _t->setClockRate((*reinterpret_cast< double(*)>(_a[1]))); break;
  444. case 1: _t->start(); break;
  445. default: ;
  446. }
  447. }
  448. }
  449. const QMetaObjectExtraData FakeDAQ::staticMetaObjectExtraData = {
  450. 0, qt_static_metacall
  451. };
  452. const QMetaObject FakeDAQ::staticMetaObject = {
  453. { &QObject::staticMetaObject, qt_meta_stringdata_FakeDAQ,
  454. qt_meta_data_FakeDAQ, &staticMetaObjectExtraData }
  455. };
  456. #ifdef Q_NO_DATA_RELOCATION
  457. const QMetaObject &FakeDAQ::getStaticMetaObject() { return staticMetaObject; }
  458. #endif //Q_NO_DATA_RELOCATION
  459. const QMetaObject *FakeDAQ::metaObject() const
  460. {
  461. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  462. }
  463. void *FakeDAQ::qt_metacast(const char *_clname)
  464. {
  465. if (!_clname) return 0;
  466. if (!strcmp(_clname, qt_meta_stringdata_FakeDAQ))
  467. return static_cast<void*>(const_cast< FakeDAQ*>(this));
  468. return QObject::qt_metacast(_clname);
  469. }
  470. int FakeDAQ::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  471. {
  472. _id = QObject::qt_metacall(_c, _id, _a);
  473. if (_id < 0)
  474. return _id;
  475. if (_c == QMetaObject::InvokeMetaMethod) {
  476. if (_id < 2)
  477. qt_static_metacall(this, _c, _id, _a);
  478. _id -= 2;
  479. }
  480. return _id;
  481. }
  482. static const uint qt_meta_data_Channel[] = {
  483. // content:
  484. 6, // revision
  485. 0, // classname
  486. 0, 0, // classinfo
  487. 2, 14, // methods
  488. 0, 0, // properties
  489. 0, 0, // enums/sets
  490. 0, 0, // constructors
  491. 0, // flags
  492. 1, // signalCount
  493. // signals: signature, parameters, type, tag, flags
  494. 9, 8, 8, 8, 0x05,
  495. // slots: signature, parameters, type, tag, flags
  496. 42, 30, 8, 8, 0x0a,
  497. 0 // eod
  498. };
  499. static const char qt_meta_stringdata_Channel[] = {
  500. "Channel\0\0newData(Measurement)\0measurement\0"
  501. "input(Measurement)\0"
  502. };
  503. void Channel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  504. {
  505. if (_c == QMetaObject::InvokeMetaMethod) {
  506. Q_ASSERT(staticMetaObject.cast(_o));
  507. Channel *_t = static_cast<Channel *>(_o);
  508. switch (_id) {
  509. case 0: _t->newData((*reinterpret_cast< Measurement(*)>(_a[1]))); break;
  510. case 1: _t->input((*reinterpret_cast< Measurement(*)>(_a[1]))); break;
  511. default: ;
  512. }
  513. }
  514. }
  515. const QMetaObjectExtraData Channel::staticMetaObjectExtraData = {
  516. 0, qt_static_metacall
  517. };
  518. const QMetaObject Channel::staticMetaObject = {
  519. { &QObject::staticMetaObject, qt_meta_stringdata_Channel,
  520. qt_meta_data_Channel, &staticMetaObjectExtraData }
  521. };
  522. #ifdef Q_NO_DATA_RELOCATION
  523. const QMetaObject &Channel::getStaticMetaObject() { return staticMetaObject; }
  524. #endif //Q_NO_DATA_RELOCATION
  525. const QMetaObject *Channel::metaObject() const
  526. {
  527. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  528. }
  529. void *Channel::qt_metacast(const char *_clname)
  530. {
  531. if (!_clname) return 0;
  532. if (!strcmp(_clname, qt_meta_stringdata_Channel))
  533. return static_cast<void*>(const_cast< Channel*>(this));
  534. return QObject::qt_metacast(_clname);
  535. }
  536. int Channel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  537. {
  538. _id = QObject::qt_metacall(_c, _id, _a);
  539. if (_id < 0)
  540. return _id;
  541. if (_c == QMetaObject::InvokeMetaMethod) {
  542. if (_id < 2)
  543. qt_static_metacall(this, _c, _id, _a);
  544. _id -= 2;
  545. }
  546. return _id;
  547. }
  548. // SIGNAL 0
  549. void Channel::newData(Measurement _t1)
  550. {
  551. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
  552. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  553. }
  554. static const uint qt_meta_data_LinearCalibrator[] = {
  555. // content:
  556. 6, // revision
  557. 0, // classname
  558. 0, 0, // classinfo
  559. 9, 14, // methods
  560. 6, 59, // properties
  561. 0, 0, // enums/sets
  562. 0, 0, // constructors
  563. 0, // flags
  564. 2, // signalCount
  565. // signals: signature, parameters, type, tag, flags
  566. 26, 18, 17, 17, 0x05,
  567. 51, 18, 17, 17, 0x05,
  568. // slots: signature, parameters, type, tag, flags
  569. 78, 72, 17, 17, 0x0a,
  570. 109, 103, 17, 17, 0x0a,
  571. 134, 72, 17, 17, 0x0a,
  572. 157, 103, 17, 17, 0x0a,
  573. 187, 180, 17, 17, 0x0a,
  574. 220, 208, 17, 17, 0x0a,
  575. 255, 18, 243, 17, 0x0a,
  576. // properties: name, type, flags
  577. 290, 283, 0x06095103,
  578. 304, 283, 0x06095103,
  579. 318, 283, 0x06095103,
  580. 330, 283, 0x06095103,
  581. 347, 342, 0x01095103,
  582. 208, 283, 0x06095103,
  583. 0 // eod
  584. };
  585. static const char qt_meta_stringdata_LinearCalibrator[] = {
  586. "LinearCalibrator\0\0measure\0"
  587. "measurement(Measurement)\0newData(Measurement)\0"
  588. "lower\0setMeasuredLower(double)\0upper\0"
  589. "setMeasuredUpper(double)\0"
  590. "setMappedLower(double)\0setMappedUpper(double)\0"
  591. "closed\0setClosedRange(bool)\0sensitivity\0"
  592. "setSensitivity(double)\0Measurement\0"
  593. "newMeasurement(Measurement)\0double\0"
  594. "measuredLower\0measuredUpper\0mappedLower\0"
  595. "mappedUpper\0bool\0closedRange\0"
  596. };
  597. void LinearCalibrator::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  598. {
  599. if (_c == QMetaObject::InvokeMetaMethod) {
  600. Q_ASSERT(staticMetaObject.cast(_o));
  601. LinearCalibrator *_t = static_cast<LinearCalibrator *>(_o);
  602. switch (_id) {
  603. case 0: _t->measurement((*reinterpret_cast< Measurement(*)>(_a[1]))); break;
  604. case 1: _t->newData((*reinterpret_cast< Measurement(*)>(_a[1]))); break;
  605. case 2: _t->setMeasuredLower((*reinterpret_cast< double(*)>(_a[1]))); break;
  606. case 3: _t->setMeasuredUpper((*reinterpret_cast< double(*)>(_a[1]))); break;
  607. case 4: _t->setMappedLower((*reinterpret_cast< double(*)>(_a[1]))); break;
  608. case 5: _t->setMappedUpper((*reinterpret_cast< double(*)>(_a[1]))); break;
  609. case 6: _t->setClosedRange((*reinterpret_cast< bool(*)>(_a[1]))); break;
  610. case 7: _t->setSensitivity((*reinterpret_cast< double(*)>(_a[1]))); break;
  611. case 8: { Measurement _r = _t->newMeasurement((*reinterpret_cast< Measurement(*)>(_a[1])));
  612. if (_a[0]) *reinterpret_cast< Measurement*>(_a[0]) = _r; } break;
  613. default: ;
  614. }
  615. }
  616. }
  617. const QMetaObjectExtraData LinearCalibrator::staticMetaObjectExtraData = {
  618. 0, qt_static_metacall
  619. };
  620. const QMetaObject LinearCalibrator::staticMetaObject = {
  621. { &QObject::staticMetaObject, qt_meta_stringdata_LinearCalibrator,
  622. qt_meta_data_LinearCalibrator, &staticMetaObjectExtraData }
  623. };
  624. #ifdef Q_NO_DATA_RELOCATION
  625. const QMetaObject &LinearCalibrator::getStaticMetaObject() { return staticMetaObject; }
  626. #endif //Q_NO_DATA_RELOCATION
  627. const QMetaObject *LinearCalibrator::metaObject() const
  628. {
  629. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  630. }
  631. void *LinearCalibrator::qt_metacast(const char *_clname)
  632. {
  633. if (!_clname) return 0;
  634. if (!strcmp(_clname, qt_meta_stringdata_LinearCalibrator))
  635. return static_cast<void*>(const_cast< LinearCalibrator*>(this));
  636. return QObject::qt_metacast(_clname);
  637. }
  638. int LinearCalibrator::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  639. {
  640. _id = QObject::qt_metacall(_c, _id, _a);
  641. if (_id < 0)
  642. return _id;
  643. if (_c == QMetaObject::InvokeMetaMethod) {
  644. if (_id < 9)
  645. qt_static_metacall(this, _c, _id, _a);
  646. _id -= 9;
  647. }
  648. #ifndef QT_NO_PROPERTIES
  649. else if (_c == QMetaObject::ReadProperty) {
  650. void *_v = _a[0];
  651. switch (_id) {
  652. case 0: *reinterpret_cast< double*>(_v) = measuredLower(); break;
  653. case 1: *reinterpret_cast< double*>(_v) = measuredUpper(); break;
  654. case 2: *reinterpret_cast< double*>(_v) = mappedLower(); break;
  655. case 3: *reinterpret_cast< double*>(_v) = mappedUpper(); break;
  656. case 4: *reinterpret_cast< bool*>(_v) = isClosedRange(); break;
  657. case 5: *reinterpret_cast< double*>(_v) = sensitivity(); break;
  658. }
  659. _id -= 6;
  660. } else if (_c == QMetaObject::WriteProperty) {
  661. void *_v = _a[0];
  662. switch (_id) {
  663. case 0: setMeasuredLower(*reinterpret_cast< double*>(_v)); break;
  664. case 1: setMeasuredUpper(*reinterpret_cast< double*>(_v)); break;
  665. case 2: setMappedLower(*reinterpret_cast< double*>(_v)); break;
  666. case 3: setMappedUpper(*reinterpret_cast< double*>(_v)); break;
  667. case 4: setClosedRange(*reinterpret_cast< bool*>(_v)); break;
  668. case 5: setSensitivity(*reinterpret_cast< double*>(_v)); break;
  669. }
  670. _id -= 6;
  671. } else if (_c == QMetaObject::ResetProperty) {
  672. _id -= 6;
  673. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  674. _id -= 6;
  675. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  676. _id -= 6;
  677. } else if (_c == QMetaObject::QueryPropertyStored) {
  678. _id -= 6;
  679. } else if (_c == QMetaObject::QueryPropertyEditable) {
  680. _id -= 6;
  681. } else if (_c == QMetaObject::QueryPropertyUser) {
  682. _id -= 6;
  683. }
  684. #endif // QT_NO_PROPERTIES
  685. return _id;
  686. }
  687. // SIGNAL 0
  688. void LinearCalibrator::measurement(Measurement _t1)
  689. {
  690. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
  691. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  692. }
  693. // SIGNAL 1
  694. void LinearCalibrator::newData(Measurement _t1)
  695. {
  696. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
  697. QMetaObject::activate(this, &staticMetaObject, 1, _a);
  698. }
  699. static const uint qt_meta_data_LinearSplineInterpolator[] = {
  700. // content:
  701. 6, // revision
  702. 0, // classname
  703. 0, 0, // classinfo
  704. 3, 14, // methods
  705. 0, 0, // properties
  706. 0, 0, // enums/sets
  707. 0, 0, // constructors
  708. 0, // flags
  709. 1, // signalCount
  710. // signals: signature, parameters, type, tag, flags
  711. 34, 26, 25, 25, 0x05,
  712. // slots: signature, parameters, type, tag, flags
  713. 67, 26, 55, 25, 0x0a,
  714. // methods: signature, parameters, type, tag, flags
  715. 114, 95, 25, 25, 0x02,
  716. 0 // eod
  717. };
  718. static const char qt_meta_stringdata_LinearSplineInterpolator[] = {
  719. "LinearSplineInterpolator\0\0measure\0"
  720. "newData(Measurement)\0Measurement\0"
  721. "newMeasurement(Measurement)\0"
  722. "source,destination\0add_pair(double,double)\0"
  723. };
  724. void LinearSplineInterpolator::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  725. {
  726. if (_c == QMetaObject::InvokeMetaMethod) {
  727. Q_ASSERT(staticMetaObject.cast(_o));
  728. LinearSplineInterpolator *_t = static_cast<LinearSplineInterpolator *>(_o);
  729. switch (_id) {
  730. case 0: _t->newData((*reinterpret_cast< Measurement(*)>(_a[1]))); break;
  731. case 1: { Measurement _r = _t->newMeasurement((*reinterpret_cast< Measurement(*)>(_a[1])));
  732. if (_a[0]) *reinterpret_cast< Measurement*>(_a[0]) = _r; } break;
  733. case 2: _t->add_pair((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break;
  734. default: ;
  735. }
  736. }
  737. }
  738. const QMetaObjectExtraData LinearSplineInterpolator::staticMetaObjectExtraData = {
  739. 0, qt_static_metacall
  740. };
  741. const QMetaObject LinearSplineInterpolator::staticMetaObject = {
  742. { &QObject::staticMetaObject, qt_meta_stringdata_LinearSplineInterpolator,
  743. qt_meta_data_LinearSplineInterpolator, &staticMetaObjectExtraData }
  744. };
  745. #ifdef Q_NO_DATA_RELOCATION
  746. const QMetaObject &LinearSplineInterpolator::getStaticMetaObject() { return staticMetaObject; }
  747. #endif //Q_NO_DATA_RELOCATION
  748. const QMetaObject *LinearSplineInterpolator::metaObject() const
  749. {
  750. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  751. }
  752. void *LinearSplineInterpolator::qt_metacast(const char *_clname)
  753. {
  754. if (!_clname) return 0;
  755. if (!strcmp(_clname, qt_meta_stringdata_LinearSplineInterpolator))
  756. return static_cast<void*>(const_cast< LinearSplineInterpolator*>(this));
  757. return QObject::qt_metacast(_clname);
  758. }
  759. int LinearSplineInterpolator::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  760. {
  761. _id = QObject::qt_metacall(_c, _id, _a);
  762. if (_id < 0)
  763. return _id;
  764. if (_c == QMetaObject::InvokeMetaMethod) {
  765. if (_id < 3)
  766. qt_static_metacall(this, _c, _id, _a);
  767. _id -= 3;
  768. }
  769. return _id;
  770. }
  771. // SIGNAL 0
  772. void LinearSplineInterpolator::newData(Measurement _t1)
  773. {
  774. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
  775. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  776. }
  777. static const uint qt_meta_data_TemperatureDisplay[] = {
  778. // content:
  779. 6, // revision
  780. 0, // classname
  781. 0, 0, // classinfo
  782. 4, 14, // methods
  783. 0, 0, // properties
  784. 0, 0, // enums/sets
  785. 0, 0, // constructors
  786. 0, // flags
  787. 0, // signalCount
  788. // slots: signature, parameters, type, tag, flags
  789. 32, 20, 19, 19, 0x0a,
  790. 54, 19, 19, 19, 0x0a,
  791. 73, 67, 19, 19, 0x0a,
  792. 111, 102, 19, 19, 0x0a,
  793. 0 // eod
  794. };
  795. static const char qt_meta_stringdata_TemperatureDisplay[] = {
  796. "TemperatureDisplay\0\0temperature\0"
  797. "setValue(Measurement)\0invalidate()\0"
  798. "scale\0setDisplayUnits(Units::Unit)\0"
  799. "relative\0setRelativeMode(bool)\0"
  800. };
  801. void TemperatureDisplay::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  802. {
  803. if (_c == QMetaObject::InvokeMetaMethod) {
  804. Q_ASSERT(staticMetaObject.cast(_o));
  805. TemperatureDisplay *_t = static_cast<TemperatureDisplay *>(_o);
  806. switch (_id) {
  807. case 0: _t->setValue((*reinterpret_cast< Measurement(*)>(_a[1]))); break;
  808. case 1: _t->invalidate(); break;
  809. case 2: _t->setDisplayUnits((*reinterpret_cast< Units::Unit(*)>(_a[1]))); break;
  810. case 3: _t->setRelativeMode((*reinterpret_cast< bool(*)>(_a[1]))); break;
  811. default: ;
  812. }
  813. }
  814. }
  815. const QMetaObjectExtraData TemperatureDisplay::staticMetaObjectExtraData = {
  816. 0, qt_static_metacall
  817. };
  818. const QMetaObject TemperatureDisplay::staticMetaObject = {
  819. { &QLCDNumber::staticMetaObject, qt_meta_stringdata_TemperatureDisplay,
  820. qt_meta_data_TemperatureDisplay, &staticMetaObjectExtraData }
  821. };
  822. #ifdef Q_NO_DATA_RELOCATION
  823. const QMetaObject &TemperatureDisplay::getStaticMetaObject() { return staticMetaObject; }
  824. #endif //Q_NO_DATA_RELOCATION
  825. const QMetaObject *TemperatureDisplay::metaObject() const
  826. {
  827. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  828. }
  829. void *TemperatureDisplay::qt_metacast(const char *_clname)
  830. {
  831. if (!_clname) return 0;
  832. if (!strcmp(_clname, qt_meta_stringdata_TemperatureDisplay))
  833. return static_cast<void*>(const_cast< TemperatureDisplay*>(this));
  834. return QLCDNumber::qt_metacast(_clname);
  835. }
  836. int TemperatureDisplay::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  837. {
  838. _id = QLCDNumber::qt_metacall(_c, _id, _a);
  839. if (_id < 0)
  840. return _id;
  841. if (_c == QMetaObject::InvokeMetaMethod) {
  842. if (_id < 4)
  843. qt_static_metacall(this, _c, _id, _a);
  844. _id -= 4;
  845. }
  846. return _id;
  847. }
  848. static const uint qt_meta_data_MeasurementTimeOffset[] = {
  849. // content:
  850. 6, // revision
  851. 0, // classname
  852. 0, 0, // classinfo
  853. 3, 14, // methods
  854. 0, 0, // properties
  855. 0, 0, // enums/sets
  856. 0, 0, // constructors
  857. 0, // flags
  858. 1, // signalCount
  859. // signals: signature, parameters, type, tag, flags
  860. 31, 23, 22, 22, 0x05,
  861. // slots: signature, parameters, type, tag, flags
  862. 56, 23, 22, 22, 0x0a,
  863. 89, 84, 22, 22, 0x0a,
  864. 0 // eod
  865. };
  866. static const char qt_meta_stringdata_MeasurementTimeOffset[] = {
  867. "MeasurementTimeOffset\0\0measure\0"
  868. "measurement(Measurement)\0"
  869. "newMeasurement(Measurement)\0zero\0"
  870. "setZeroTime(QTime)\0"
  871. };
  872. void MeasurementTimeOffset::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  873. {
  874. if (_c == QMetaObject::InvokeMetaMethod) {
  875. Q_ASSERT(staticMetaObject.cast(_o));
  876. MeasurementTimeOffset *_t = static_cast<MeasurementTimeOffset *>(_o);
  877. switch (_id) {
  878. case 0: _t->measurement((*reinterpret_cast< Measurement(*)>(_a[1]))); break;
  879. case 1: _t->newMeasurement((*reinterpret_cast< Measurement(*)>(_a[1]))); break;
  880. case 2: _t->setZeroTime((*reinterpret_cast< QTime(*)>(_a[1]))); break;
  881. default: ;
  882. }
  883. }
  884. }
  885. const QMetaObjectExtraData MeasurementTimeOffset::staticMetaObjectExtraData = {
  886. 0, qt_static_metacall
  887. };
  888. const QMetaObject MeasurementTimeOffset::staticMetaObject = {
  889. { &QObject::staticMetaObject, qt_meta_stringdata_MeasurementTimeOffset,
  890. qt_meta_data_MeasurementTimeOffset, &staticMetaObjectExtraData }
  891. };
  892. #ifdef Q_NO_DATA_RELOCATION
  893. const QMetaObject &MeasurementTimeOffset::getStaticMetaObject() { return staticMetaObject; }
  894. #endif //Q_NO_DATA_RELOCATION
  895. const QMetaObject *MeasurementTimeOffset::metaObject() const
  896. {
  897. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  898. }
  899. void *MeasurementTimeOffset::qt_metacast(const char *_clname)
  900. {
  901. if (!_clname) return 0;
  902. if (!strcmp(_clname, qt_meta_stringdata_MeasurementTimeOffset))
  903. return static_cast<void*>(const_cast< MeasurementTimeOffset*>(this));
  904. return QObject::qt_metacast(_clname);
  905. }
  906. int MeasurementTimeOffset::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  907. {
  908. _id = QObject::qt_metacall(_c, _id, _a);
  909. if (_id < 0)
  910. return _id;
  911. if (_c == QMetaObject::InvokeMetaMethod) {
  912. if (_id < 3)
  913. qt_static_metacall(this, _c, _id, _a);
  914. _id -= 3;
  915. }
  916. return _id;
  917. }
  918. // SIGNAL 0
  919. void MeasurementTimeOffset::measurement(Measurement _t1)
  920. {
  921. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
  922. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  923. }
  924. static const uint qt_meta_data_ThresholdDetector[] = {
  925. // content:
  926. 6, // revision
  927. 0, // classname
  928. 0, 0, // classinfo
  929. 4, 14, // methods
  930. 0, 0, // properties
  931. 1, 34, // enums/sets
  932. 0, 0, // constructors
  933. 0, // flags
  934. 1, // signalCount
  935. // signals: signature, parameters, type, tag, flags
  936. 19, 18, 18, 18, 0x05,
  937. // slots: signature, parameters, type, tag, flags
  938. 48, 40, 18, 18, 0x0a,
  939. 82, 76, 18, 18, 0x0a,
  940. 113, 103, 18, 18, 0x0a,
  941. // enums: name, flags, count, data
  942. 145, 0x0, 2, 38,
  943. // enum data: key, value
  944. 159, uint(ThresholdDetector::Ascending),
  945. 169, uint(ThresholdDetector::Descending),
  946. 0 // eod
  947. };
  948. static const char qt_meta_stringdata_ThresholdDetector[] = {
  949. "ThresholdDetector\0\0timeForValue(double)\0"
  950. "measure\0newMeasurement(Measurement)\0"
  951. "value\0setThreshold(double)\0direction\0"
  952. "setEdgeDirection(EdgeDirection)\0"
  953. "EdgeDirection\0Ascending\0Descending\0"
  954. };
  955. void ThresholdDetector::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  956. {
  957. if (_c == QMetaObject::InvokeMetaMethod) {
  958. Q_ASSERT(staticMetaObject.cast(_o));
  959. ThresholdDetector *_t = static_cast<ThresholdDetector *>(_o);
  960. switch (_id) {
  961. case 0: _t->timeForValue((*reinterpret_cast< double(*)>(_a[1]))); break;
  962. case 1: _t->newMeasurement((*reinterpret_cast< Measurement(*)>(_a[1]))); break;
  963. case 2: _t->setThreshold((*reinterpret_cast< double(*)>(_a[1]))); break;
  964. case 3: _t->setEdgeDirection((*reinterpret_cast< EdgeDirection(*)>(_a[1]))); break;
  965. default: ;
  966. }
  967. }
  968. }
  969. const QMetaObjectExtraData ThresholdDetector::staticMetaObjectExtraData = {
  970. 0, qt_static_metacall
  971. };
  972. const QMetaObject ThresholdDetector::staticMetaObject = {
  973. { &QObject::staticMetaObject, qt_meta_stringdata_ThresholdDetector,
  974. qt_meta_data_ThresholdDetector, &staticMetaObjectExtraData }
  975. };
  976. #ifdef Q_NO_DATA_RELOCATION
  977. const QMetaObject &ThresholdDetector::getStaticMetaObject() { return staticMetaObject; }
  978. #endif //Q_NO_DATA_RELOCATION
  979. const QMetaObject *ThresholdDetector::metaObject() const
  980. {
  981. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  982. }
  983. void *ThresholdDetector::qt_metacast(const char *_clname)
  984. {
  985. if (!_clname) return 0;
  986. if (!strcmp(_clname, qt_meta_stringdata_ThresholdDetector))
  987. return static_cast<void*>(const_cast< ThresholdDetector*>(this));
  988. return QObject::qt_metacast(_clname);
  989. }
  990. int ThresholdDetector::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  991. {
  992. _id = QObject::qt_metacall(_c, _id, _a);
  993. if (_id < 0)
  994. return _id;
  995. if (_c == QMetaObject::InvokeMetaMethod) {
  996. if (_id < 4)
  997. qt_static_metacall(this, _c, _id, _a);
  998. _id -= 4;
  999. }
  1000. return _id;
  1001. }
  1002. // SIGNAL 0
  1003. void ThresholdDetector::timeForValue(double _t1)
  1004. {
  1005. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
  1006. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  1007. }
  1008. static const uint qt_meta_data_ZeroEmitter[] = {
  1009. // content:
  1010. 6, // revision
  1011. 0, // classname
  1012. 0, 0, // classinfo
  1013. 4, 14, // methods
  1014. 1, 34, // properties
  1015. 0, 0, // enums/sets
  1016. 0, 0, // constructors
  1017. 0, // flags
  1018. 1, // signalCount
  1019. // signals: signature, parameters, type, tag, flags
  1020. 32, 13, 12, 12, 0x05,
  1021. // slots: signature, parameters, type, tag, flags
  1022. 69, 61, 12, 12, 0x0a,
  1023. 104, 97, 12, 12, 0x0a,
  1024. 119, 12, 12, 12, 0x0a,
  1025. // properties: name, type, flags
  1026. 97, 130, 0x02095103,
  1027. 0 // eod
  1028. };
  1029. static const char qt_meta_stringdata_ZeroEmitter[] = {
  1030. "ZeroEmitter\0\0measure,tempcolumn\0"
  1031. "measurement(Measurement,int)\0measure\0"
  1032. "newMeasurement(Measurement)\0column\0"
  1033. "setColumn(int)\0emitZero()\0int\0"
  1034. };
  1035. void ZeroEmitter::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  1036. {
  1037. if (_c == QMetaObject::InvokeMetaMethod) {
  1038. Q_ASSERT(staticMetaObject.cast(_o));
  1039. ZeroEmitter *_t = static_cast<ZeroEmitter *>(_o);
  1040. switch (_id) {
  1041. case 0: _t->measurement((*reinterpret_cast< Measurement(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
  1042. case 1: _t->newMeasurement((*reinterpret_cast< Measurement(*)>(_a[1]))); break;
  1043. case 2: _t->setColumn((*reinterpret_cast< int(*)>(_a[1]))); break;
  1044. case 3: _t->emitZero(); break;
  1045. default: ;
  1046. }
  1047. }
  1048. }
  1049. const QMetaObjectExtraData ZeroEmitter::staticMetaObjectExtraData = {
  1050. 0, qt_static_metacall
  1051. };
  1052. const QMetaObject ZeroEmitter::staticMetaObject = {
  1053. { &QObject::staticMetaObject, qt_meta_stringdata_ZeroEmitter,
  1054. qt_meta_data_ZeroEmitter, &staticMetaObjectExtraData }
  1055. };
  1056. #ifdef Q_NO_DATA_RELOCATION
  1057. const QMetaObject &ZeroEmitter::getStaticMetaObject() { return staticMetaObject; }
  1058. #endif //Q_NO_DATA_RELOCATION
  1059. const QMetaObject *ZeroEmitter::metaObject() const
  1060. {
  1061. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  1062. }
  1063. void *ZeroEmitter::qt_metacast(const char *_clname)
  1064. {
  1065. if (!_clname) return 0;
  1066. if (!strcmp(_clname, qt_meta_stringdata_ZeroEmitter))
  1067. return static_cast<void*>(const_cast< ZeroEmitter*>(this));
  1068. return QObject::qt_metacast(_clname);
  1069. }
  1070. int ZeroEmitter::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  1071. {
  1072. _id = QObject::qt_metacall(_c, _id, _a);
  1073. if (_id < 0)
  1074. return _id;
  1075. if (_c == QMetaObject::InvokeMetaMethod) {
  1076. if (_id < 4)
  1077. qt_static_metacall(this, _c, _id, _a);
  1078. _id -= 4;
  1079. }
  1080. #ifndef QT_NO_PROPERTIES
  1081. else if (_c == QMetaObject::ReadProperty) {
  1082. void *_v = _a[0];
  1083. switch (_id) {
  1084. case 0: *reinterpret_cast< int*>(_v) = column(); break;
  1085. }
  1086. _id -= 1;
  1087. } else if (_c == QMetaObject::WriteProperty) {
  1088. void *_v = _a[0];
  1089. switch (_id) {
  1090. case 0: setColumn(*reinterpret_cast< int*>(_v)); break;
  1091. }
  1092. _id -= 1;
  1093. } else if (_c == QMetaObject::ResetProperty) {
  1094. _id -= 1;
  1095. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  1096. _id -= 1;
  1097. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  1098. _id -= 1;
  1099. } else if (_c == QMetaObject::QueryPropertyStored) {
  1100. _id -= 1;
  1101. } else if (_c == QMetaObject::QueryPropertyEditable) {
  1102. _id -= 1;
  1103. } else if (_c == QMetaObject::QueryPropertyUser) {
  1104. _id -= 1;
  1105. }
  1106. #endif // QT_NO_PROPERTIES
  1107. return _id;
  1108. }
  1109. // SIGNAL 0
  1110. void ZeroEmitter::measurement(Measurement _t1, int _t2)
  1111. {
  1112. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
  1113. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  1114. }
  1115. static const uint qt_meta_data_MeasurementAdapter[] = {
  1116. // content:
  1117. 6, // revision
  1118. 0, // classname
  1119. 0, 0, // classinfo
  1120. 3, 14, // methods
  1121. 0, 0, // properties
  1122. 0, 0, // enums/sets
  1123. 0, 0, // constructors
  1124. 0, // flags
  1125. 1, // signalCount
  1126. // signals: signature, parameters, type, tag, flags
  1127. 39, 20, 19, 19, 0x05,
  1128. // slots: signature, parameters, type, tag, flags
  1129. 76, 68, 19, 19, 0x0a,
  1130. 111, 104, 19, 19, 0x0a,
  1131. 0 // eod
  1132. };
  1133. static const char qt_meta_stringdata_MeasurementAdapter[] = {
  1134. "MeasurementAdapter\0\0measure,tempcolumn\0"
  1135. "measurement(Measurement,int)\0measure\0"
  1136. "newMeasurement(Measurement)\0column\0"
  1137. "setColumn(int)\0"
  1138. };
  1139. void MeasurementAdapter::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  1140. {
  1141. if (_c == QMetaObject::InvokeMetaMethod) {
  1142. Q_ASSERT(staticMetaObject.cast(_o));
  1143. MeasurementAdapter *_t = static_cast<MeasurementAdapter *>(_o);
  1144. switch (_id) {
  1145. case 0: _t->measurement((*reinterpret_cast< Measurement(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
  1146. case 1: _t->newMeasurement((*reinterpret_cast< Measurement(*)>(_a[1]))); break;
  1147. case 2: _t->setColumn((*reinterpret_cast< int(*)>(_a[1]))); break;
  1148. default: ;
  1149. }
  1150. }
  1151. }
  1152. const QMetaObjectExtraData MeasurementAdapter::staticMetaObjectExtraData = {
  1153. 0, qt_static_metacall
  1154. };
  1155. const QMetaObject MeasurementAdapter::staticMetaObject = {
  1156. { &QObject::staticMetaObject, qt_meta_stringdata_MeasurementAdapter,
  1157. qt_meta_data_MeasurementAdapter, &staticMetaObjectExtraData }
  1158. };
  1159. #ifdef Q_NO_DATA_RELOCATION
  1160. const QMetaObject &MeasurementAdapter::getStaticMetaObject() { return staticMetaObject; }
  1161. #endif //Q_NO_DATA_RELOCATION
  1162. const QMetaObject *MeasurementAdapter::metaObject() const
  1163. {
  1164. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  1165. }
  1166. void *MeasurementAdapter::qt_metacast(const char *_clname)
  1167. {
  1168. if (!_clname) return 0;
  1169. if (!strcmp(_clname, qt_meta_stringdata_MeasurementAdapter))
  1170. return static_cast<void*>(const_cast< MeasurementAdapter*>(this));
  1171. return QObject::qt_metacast(_clname);
  1172. }
  1173. int MeasurementAdapter::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  1174. {
  1175. _id = QObject::qt_metacall(_c, _id, _a);
  1176. if (_id < 0)
  1177. return _id;
  1178. if (_c == QMetaObject::InvokeMetaMethod) {
  1179. if (_id < 3)
  1180. qt_static_metacall(this, _c, _id, _a);
  1181. _id -= 3;
  1182. }
  1183. return _id;
  1184. }
  1185. // SIGNAL 0
  1186. void MeasurementAdapter::measurement(Measurement _t1, int _t2)
  1187. {
  1188. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
  1189. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  1190. }
  1191. static const uint qt_meta_data_GraphView[] = {
  1192. // content:
  1193. 6, // revision
  1194. 0, // classname
  1195. 0, 0, // classinfo
  1196. 6, 14, // methods
  1197. 0, 0, // properties
  1198. 0, 0, // enums/sets
  1199. 0, 0, // constructors
  1200. 0, // flags
  1201. 0, // signalCount
  1202. // slots: signature, parameters, type, tag, flags
  1203. 30, 11, 10, 10, 0x0a,
  1204. 76, 62, 10, 10, 0x0a,
  1205. 117, 109, 10, 10, 0x0a,
  1206. 147, 10, 10, 10, 0x0a,
  1207. 155, 10, 10, 10, 0x0a,
  1208. 163, 10, 10, 10, 0x0a,
  1209. 0 // eod
  1210. };
  1211. static const char qt_meta_stringdata_GraphView[] = {
  1212. "GraphView\0\0measure,tempcolumn\0"
  1213. "newMeasurement(Measurement,int)\0"
  1214. "column,offset\0setSeriesTranslation(int,double)\0"
  1215. "enabled\0setTimeIndicatorEnabled(bool)\0"
  1216. "clear()\0showF()\0showC()\0"
  1217. };
  1218. void GraphView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  1219. {
  1220. if (_c == QMetaObject::InvokeMetaMethod) {
  1221. Q_ASSERT(staticMetaObject.cast(_o));
  1222. GraphView *_t = static_cast<GraphView *>(_o);
  1223. switch (_id) {
  1224. case 0: _t->newMeasurement((*reinterpret_cast< Measurement(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
  1225. case 1: _t->setSeriesTranslation((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break;
  1226. case 2: _t->setTimeIndicatorEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break;
  1227. case 3: _t->clear(); break;
  1228. case 4: _t->showF(); break;
  1229. case 5: _t->showC(); break;
  1230. default: ;
  1231. }
  1232. }
  1233. }
  1234. const QMetaObjectExtraData GraphView::staticMetaObjectExtraData = {
  1235. 0, qt_static_metacall
  1236. };
  1237. const QMetaObject GraphView::staticMetaObject = {
  1238. { &QGraphicsView::staticMetaObject, qt_meta_stringdata_GraphView,
  1239. qt_meta_data_GraphView, &staticMetaObjectExtraData }
  1240. };
  1241. #ifdef Q_NO_DATA_RELOCATION
  1242. const QMetaObject &GraphView::getStaticMetaObject() { return staticMetaObject; }
  1243. #endif //Q_NO_DATA_RELOCATION
  1244. const QMetaObject *GraphView::metaObject() const
  1245. {
  1246. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  1247. }
  1248. void *GraphView::qt_metacast(const char *_clname)
  1249. {
  1250. if (!_clname) return 0;
  1251. if (!strcmp(_clname, qt_meta_stringdata_GraphView))
  1252. return static_cast<void*>(const_cast< GraphView*>(this));
  1253. return QGraphicsView::qt_metacast(_clname);
  1254. }
  1255. int GraphView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  1256. {
  1257. _id = QGraphicsView::qt_metacall(_c, _id, _a);
  1258. if (_id < 0)
  1259. return _id;
  1260. if (_c == QMetaObject::InvokeMetaMethod) {
  1261. if (_id < 6)
  1262. qt_static_metacall(this, _c, _id, _a);
  1263. _id -= 6;
  1264. }
  1265. return _id;
  1266. }
  1267. static const uint qt_meta_data_ZoomLog[] = {
  1268. // content:
  1269. 6, // revision
  1270. 0, // classname
  1271. 0, 0, // classinfo
  1272. 23, 14, // methods
  1273. 0, 0, // properties
  1274. 0, 0, // enums/sets
  1275. 0, 0, // constructors
  1276. 0, // flags
  1277. 0, // signalCount
  1278. // slots: signature, parameters, type, tag, flags
  1279. 13, 9, 8, 8, 0x08,
  1280. 50, 27, 8, 8, 0x08,
  1281. 83, 8, 8, 8, 0x08,
  1282. 116, 105, 8, 8, 0x0a,
  1283. 146, 133, 8, 8, 0x0a,
  1284. 173, 8, 8, 8, 0x0a,
  1285. 182, 8, 8, 8, 0x0a,
  1286. 191, 8, 8, 8, 0x0a,
  1287. 200, 8, 8, 8, 0x0a,
  1288. 210, 8, 8, 8, 0x0a,
  1289. 220, 8, 8, 8, 0x0a,
  1290. 230, 8, 8, 8, 0x0a,
  1291. 258, 239, 8, 8, 0x0a,
  1292. 329, 290, 8, 8, 0x0a,
  1293. 360, 8, 8, 8, 0x0a,
  1294. 375, 368, 8, 8, 0x0a,
  1295. 407, 368, 8, 8, 0x0a,
  1296. 435, 368, 8, 8, 0x0a,
  1297. 466, 8, 8, 8, 0x0a,
  1298. 493, 487, 8, 8, 0x0a,
  1299. 522, 368, 8, 8, 0x0a,
  1300. 549, 8, 8, 8, 0x0a,
  1301. // methods: signature, parameters, type, tag, flags
  1302. 585, 8, 573, 8, 0x02,
  1303. 0 // eod
  1304. };
  1305. static const char qt_meta_stringdata_ZoomLog[] = {
  1306. "ZoomLog\0\0row\0centerOn(int)\0"
  1307. "column,oldsize,newsize\0"
  1308. "persistColumnResize(int,int,int)\0"
  1309. "restoreColumnWidths()\0visibility\0"
  1310. "setVisible(bool)\0section,text\0"
  1311. "setHeaderData(int,QString)\0LOD_ms()\0"
  1312. "LOD_1s()\0LOD_5s()\0LOD_10s()\0LOD_15s()\0"
  1313. "LOD_30s()\0LOD_1m()\0measure,tempcolumn\0"
  1314. "newMeasurement(Measurement,int)\0"
  1315. "annotation,tempcolumn,annotationcolumn\0"
  1316. "newAnnotation(QString,int,int)\0clear()\0"
  1317. "column\0addOutputTemperatureColumn(int)\0"
  1318. "addOutputControlColumn(int)\0"
  1319. "addOutputAnnotationColumn(int)\0"
  1320. "clearOutputColumns()\0scale\0"
  1321. "setDisplayUnits(Units::Unit)\0"
  1322. "addToCurrentColumnSet(int)\0"
  1323. "clearCurrentColumnSet()\0Units::Unit\0"
  1324. "displayUnits()\0"
  1325. };
  1326. void ZoomLog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  1327. {
  1328. if (_c == QMetaObject::InvokeMetaMethod) {
  1329. Q_ASSERT(staticMetaObject.cast(_o));
  1330. ZoomLog *_t = static_cast<ZoomLog *>(_o);
  1331. switch (_id) {
  1332. case 0: _t->centerOn((*reinterpret_cast< int(*)>(_a[1]))); break;
  1333. case 1: _t->persistColumnResize((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
  1334. case 2: _t->restoreColumnWidths(); break;
  1335. case 3: _t->setVisible((*reinterpret_cast< bool(*)>(_a[1]))); break;
  1336. case 4: _t->setHeaderData((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
  1337. case 5: _t->LOD_ms(); break;
  1338. case 6: _t->LOD_1s(); break;
  1339. case 7: _t->LOD_5s(); break;
  1340. case 8: _t->LOD_10s(); break;
  1341. case 9: _t->LOD_15s(); break;
  1342. case 10: _t->LOD_30s(); break;
  1343. case 11: _t->LOD_1m(); break;
  1344. case 12: _t->newMeasurement((*reinterpret_cast< Measurement(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
  1345. case 13: _t->newAnnotation((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
  1346. case 14: _t->clear(); break;
  1347. case 15: _t->addOutputTemperatureColumn((*reinterpret_cast< int(*)>(_a[1]))); break;
  1348. case 16: _t->addOutputControlColumn((*reinterpret_cast< int(*)>(_a[1]))); break;
  1349. case 17: _t->addOutputAnnotationColumn((*reinterpret_cast< int(*)>(_a[1]))); break;
  1350. case 18: _t->clearOutputColumns(); break;
  1351. case 19: _t->setDisplayUnits((*reinterpret_cast< Units::Unit(*)>(_a[1]))); break;
  1352. case 20: _t->addToCurrentColumnSet((*reinterpret_cast< int(*)>(_a[1]))); break;
  1353. case 21: _t->clearCurrentColumnSet(); break;
  1354. case 22: { Units::Unit _r = _t->displayUnits();
  1355. if (_a[0]) *reinterpret_cast< Units::Unit*>(_a[0]) = _r; } break;
  1356. default: ;
  1357. }
  1358. }
  1359. }
  1360. const QMetaObjectExtraData ZoomLog::staticMetaObjectExtraData = {
  1361. 0, qt_static_metacall
  1362. };
  1363. const QMetaObject ZoomLog::staticMetaObject = {
  1364. { &QTableView::staticMetaObject, qt_meta_stringdata_ZoomLog,
  1365. qt_meta_data_ZoomLog, &staticMetaObjectExtraData }
  1366. };
  1367. #ifdef Q_NO_DATA_RELOCATION
  1368. const QMetaObject &ZoomLog::getStaticMetaObject() { return staticMetaObject; }
  1369. #endif //Q_NO_DATA_RELOCATION
  1370. const QMetaObject *ZoomLog::metaObject() const
  1371. {
  1372. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  1373. }
  1374. void *ZoomLog::qt_metacast(const char *_clname)
  1375. {
  1376. if (!_clname) return 0;
  1377. if (!strcmp(_clname, qt_meta_stringdata_ZoomLog))
  1378. return static_cast<void*>(const_cast< ZoomLog*>(this));
  1379. return QTableView::qt_metacast(_clname);
  1380. }
  1381. int ZoomLog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  1382. {
  1383. _id = QTableView::qt_metacall(_c, _id, _a);
  1384. if (_id < 0)
  1385. return _id;
  1386. if (_c == QMetaObject::InvokeMetaMethod) {
  1387. if (_id < 23)
  1388. qt_static_metacall(this, _c, _id, _a);
  1389. _id -= 23;
  1390. }
  1391. return _id;
  1392. }
  1393. static const uint qt_meta_data_MeasurementModel[] = {
  1394. // content:
  1395. 6, // revision
  1396. 0, // classname
  1397. 0, 0, // classinfo
  1398. 5, 14, // methods
  1399. 0, 0, // properties
  1400. 0, 0, // enums/sets
  1401. 0, 0, // constructors
  1402. 0, // flags
  1403. 1, // signalCount
  1404. // signals: signature, parameters, type, tag, flags
  1405. 18, 17, 17, 17, 0x05,
  1406. // slots: signature, parameters, type, tag, flags
  1407. 53, 34, 17, 17, 0x0a,
  1408. 124, 85, 17, 17, 0x0a,
  1409. 155, 17, 17, 17, 0x0a,
  1410. 169, 163, 17, 17, 0x0a,
  1411. 0 // eod
  1412. };
  1413. static const char qt_meta_stringdata_MeasurementModel[] = {
  1414. "MeasurementModel\0\0rowChanged(int)\0"
  1415. "measure,tempcolumn\0newMeasurement(Measurement,int)\0"
  1416. "annotation,tempcolumn,annotationColumn\0"
  1417. "newAnnotation(QString,int,int)\0clear()\0"
  1418. "scale\0setDisplayUnits(Units::Unit)\0"
  1419. };
  1420. void MeasurementModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  1421. {
  1422. if (_c == QMetaObject::InvokeMetaMethod) {
  1423. Q_ASSERT(staticMetaObject.cast(_o));
  1424. MeasurementModel *_t = static_cast<MeasurementModel *>(_o);
  1425. switch (_id) {
  1426. case 0: _t->rowChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
  1427. case 1: _t->newMeasurement((*reinterpret_cast< Measurement(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
  1428. case 2: _t->newAnnotation((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
  1429. case 3: _t->clear(); break;
  1430. case 4: _t->setDisplayUnits((*reinterpret_cast< Units::Unit(*)>(_a[1]))); break;
  1431. default: ;
  1432. }
  1433. }
  1434. }
  1435. const QMetaObjectExtraData MeasurementModel::staticMetaObjectExtraData = {
  1436. 0, qt_static_metacall
  1437. };
  1438. const QMetaObject MeasurementModel::staticMetaObject = {
  1439. { &QAbstractItemModel::staticMetaObject, qt_meta_stringdata_MeasurementModel,
  1440. qt_meta_data_MeasurementModel, &staticMetaObjectExtraData }
  1441. };
  1442. #ifdef Q_NO_DATA_RELOCATION
  1443. const QMetaObject &MeasurementModel::getStaticMetaObject() { return staticMetaObject; }
  1444. #endif //Q_NO_DATA_RELOCATION
  1445. const QMetaObject *MeasurementModel::metaObject() const
  1446. {
  1447. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  1448. }
  1449. void *MeasurementModel::qt_metacast(const char *_clname)
  1450. {
  1451. if (!_clname) return 0;
  1452. if (!strcmp(_clname, qt_meta_stringdata_MeasurementModel))
  1453. return static_cast<void*>(const_cast< MeasurementModel*>(this));
  1454. return QAbstractItemModel::qt_metacast(_clname);
  1455. }
  1456. int MeasurementModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  1457. {
  1458. _id = QAbstractItemModel::qt_metacall(_c, _id, _a);
  1459. if (_id < 0)
  1460. return _id;
  1461. if (_c == QMetaObject::InvokeMetaMethod) {
  1462. if (_id < 5)
  1463. qt_static_metacall(this, _c, _id, _a);
  1464. _id -= 5;
  1465. }
  1466. return _id;
  1467. }
  1468. // SIGNAL 0
  1469. void MeasurementModel::rowChanged(int _t1)
  1470. {
  1471. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
  1472. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  1473. }
  1474. static const uint qt_meta_data_AnnotationButton[] = {
  1475. // content:
  1476. 6, // revision
  1477. 0, // classname
  1478. 0, 0, // classinfo
  1479. 6, 14, // methods
  1480. 0, 0, // properties
  1481. 0, 0, // enums/sets
  1482. 0, 0, // constructors
  1483. 0, // flags
  1484. 1, // signalCount
  1485. // signals: signature, parameters, type, tag, flags
  1486. 51, 18, 17, 17, 0x05,
  1487. // slots: signature, parameters, type, tag, flags
  1488. 90, 79, 17, 17, 0x0a,
  1489. 124, 113, 17, 17, 0x0a,
  1490. 167, 150, 17, 17, 0x0a,
  1491. 192, 17, 17, 17, 0x0a,
  1492. 203, 17, 17, 17, 0x0a,
  1493. 0 // eod
  1494. };
  1495. static const char qt_meta_stringdata_AnnotationButton[] = {
  1496. "AnnotationButton\0\0annotation,tempcolumn,notecolumn\0"
  1497. "annotation(QString,int,int)\0annotation\0"
  1498. "setAnnotation(QString)\0tempcolumn\0"
  1499. "setTemperatureColumn(int)\0annotationcolumn\0"
  1500. "setAnnotationColumn(int)\0annotate()\0"
  1501. "resetCount()\0"
  1502. };
  1503. void AnnotationButton::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  1504. {
  1505. if (_c == QMetaObject::InvokeMetaMethod) {
  1506. Q_ASSERT(staticMetaObject.cast(_o));
  1507. AnnotationButton *_t = static_cast<AnnotationButton *>(_o);
  1508. switch (_id) {
  1509. case 0: _t->annotation((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
  1510. case 1: _t->setAnnotation((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  1511. case 2: _t->setTemperatureColumn((*reinterpret_cast< int(*)>(_a[1]))); break;
  1512. case 3: _t->setAnnotationColumn((*reinterpret_cast< int(*)>(_a[1]))); break;
  1513. case 4: _t->annotate(); break;
  1514. case 5: _t->resetCount(); break;
  1515. default: ;
  1516. }
  1517. }
  1518. }
  1519. const QMetaObjectExtraData AnnotationButton::staticMetaObjectExtraData = {
  1520. 0, qt_static_metacall
  1521. };
  1522. const QMetaObject AnnotationButton::staticMetaObject = {
  1523. { &QPushButton::staticMetaObject, qt_meta_stringdata_AnnotationButton,
  1524. qt_meta_data_AnnotationButton, &staticMetaObjectExtraData }
  1525. };
  1526. #ifdef Q_NO_DATA_RELOCATION
  1527. const QMetaObject &AnnotationButton::getStaticMetaObject() { return staticMetaObject; }
  1528. #endif //Q_NO_DATA_RELOCATION
  1529. const QMetaObject *AnnotationButton::metaObject() const
  1530. {
  1531. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  1532. }
  1533. void *AnnotationButton::qt_metacast(const char *_clname)
  1534. {
  1535. if (!_clname) return 0;
  1536. if (!strcmp(_clname, qt_meta_stringdata_AnnotationButton))
  1537. return static_cast<void*>(const_cast< AnnotationButton*>(this));
  1538. return QPushButton::qt_metacast(_clname);
  1539. }
  1540. int AnnotationButton::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  1541. {
  1542. _id = QPushButton::qt_metacall(_c, _id, _a);
  1543. if (_id < 0)
  1544. return _id;
  1545. if (_c == QMetaObject::InvokeMetaMethod) {
  1546. if (_id < 6)
  1547. qt_static_metacall(this, _c, _id, _a);
  1548. _id -= 6;
  1549. }
  1550. return _id;
  1551. }
  1552. // SIGNAL 0
  1553. void AnnotationButton::annotation(QString _t1, int _t2, int _t3)
  1554. {
  1555. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
  1556. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  1557. }
  1558. static const uint qt_meta_data_AnnotationSpinBox[] = {
  1559. // content:
  1560. 6, // revision
  1561. 0, // classname
  1562. 0, 0, // classinfo
  1563. 7, 14, // methods
  1564. 0, 0, // properties
  1565. 0, 0, // enums/sets
  1566. 0, 0, // constructors
  1567. 0, // flags
  1568. 1, // signalCount
  1569. // signals: signature, parameters, type, tag, flags
  1570. 52, 19, 18, 18, 0x05,
  1571. // slots: signature, parameters, type, tag, flags
  1572. 85, 80, 18, 18, 0x0a,
  1573. 111, 105, 18, 18, 0x0a,
  1574. 143, 132, 18, 18, 0x0a,
  1575. 186, 169, 18, 18, 0x0a,
  1576. 211, 18, 18, 18, 0x0a,
  1577. 222, 18, 18, 18, 0x0a,
  1578. 0 // eod
  1579. };
  1580. static const char qt_meta_stringdata_AnnotationSpinBox[] = {
  1581. "AnnotationSpinBox\0\0annotation,tempcolumn,notecolumn\0"
  1582. "annotation(QString,int,int)\0pret\0"
  1583. "setPretext(QString)\0postt\0"
  1584. "setPosttext(QString)\0tempcolumn\0"
  1585. "setTemperatureColumn(int)\0annotationcolumn\0"
  1586. "setAnnotationColumn(int)\0annotate()\0"
  1587. "resetChange()\0"
  1588. };
  1589. void AnnotationSpinBox::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  1590. {
  1591. if (_c == QMetaObject::InvokeMetaMethod) {
  1592. Q_ASSERT(staticMetaObject.cast(_o));
  1593. AnnotationSpinBox *_t = static_cast<AnnotationSpinBox *>(_o);
  1594. switch (_id) {
  1595. case 0: _t->annotation((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
  1596. case 1: _t->setPretext((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  1597. case 2: _t->setPosttext((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  1598. case 3: _t->setTemperatureColumn((*reinterpret_cast< int(*)>(_a[1]))); break;
  1599. case 4: _t->setAnnotationColumn((*reinterpret_cast< int(*)>(_a[1]))); break;
  1600. case 5: _t->annotate(); break;
  1601. case 6: _t->resetChange(); break;
  1602. default: ;
  1603. }
  1604. }
  1605. }
  1606. const QMetaObjectExtraData AnnotationSpinBox::staticMetaObjectExtraData = {
  1607. 0, qt_static_metacall
  1608. };
  1609. const QMetaObject AnnotationSpinBox::staticMetaObject = {
  1610. { &QDoubleSpinBox::staticMetaObject, qt_meta_stringdata_AnnotationSpinBox,
  1611. qt_meta_data_AnnotationSpinBox, &staticMetaObjectExtraData }
  1612. };
  1613. #ifdef Q_NO_DATA_RELOCATION
  1614. const QMetaObject &AnnotationSpinBox::getStaticMetaObject() { return staticMetaObject; }
  1615. #endif //Q_NO_DATA_RELOCATION
  1616. const QMetaObject *AnnotationSpinBox::metaObject() const
  1617. {
  1618. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  1619. }
  1620. void *AnnotationSpinBox::qt_metacast(const char *_clname)
  1621. {
  1622. if (!_clname) return 0;
  1623. if (!strcmp(_clname, qt_meta_stringdata_AnnotationSpinBox))
  1624. return static_cast<void*>(const_cast< AnnotationSpinBox*>(this));
  1625. return QDoubleSpinBox::qt_metacast(_clname);
  1626. }
  1627. int AnnotationSpinBox::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  1628. {
  1629. _id = QDoubleSpinBox::qt_metacall(_c, _id, _a);
  1630. if (_id < 0)
  1631. return _id;
  1632. if (_c == QMetaObject::InvokeMetaMethod) {
  1633. if (_id < 7)
  1634. qt_static_metacall(this, _c, _id, _a);
  1635. _id -= 7;
  1636. }
  1637. return _id;
  1638. }
  1639. // SIGNAL 0
  1640. void AnnotationSpinBox::annotation(QString _t1, int _t2, int _t3)
  1641. {
  1642. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
  1643. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  1644. }
  1645. static const uint qt_meta_data_TimerDisplay[] = {
  1646. // content:
  1647. 6, // revision
  1648. 0, // classname
  1649. 0, 0, // classinfo
  1650. 18, 14, // methods
  1651. 7, 104, // properties
  1652. 0, 0, // enums/sets
  1653. 0, 0, // constructors
  1654. 0, // flags
  1655. 2, // signalCount
  1656. // signals: signature, parameters, type, tag, flags
  1657. 14, 13, 13, 13, 0x05,
  1658. 34, 13, 13, 13, 0x05,
  1659. // slots: signature, parameters, type, tag, flags
  1660. 56, 13, 13, 13, 0x08,
  1661. 69, 13, 13, 13, 0x08,
  1662. 86, 13, 13, 13, 0x08,
  1663. 105, 13, 13, 13, 0x08,
  1664. 126, 120, 13, 13, 0x0a,
  1665. 142, 13, 13, 13, 0x2a,
  1666. 158, 153, 13, 13, 0x0a,
  1667. 177, 13, 13, 13, 0x0a,
  1668. 190, 13, 13, 13, 0x0a,
  1669. 202, 13, 13, 13, 0x0a,
  1670. 214, 120, 13, 13, 0x0a,
  1671. 235, 13, 13, 13, 0x2a,
  1672. 251, 13, 13, 13, 0x0a,
  1673. 266, 259, 13, 13, 0x0a,
  1674. 298, 292, 13, 13, 0x0a,
  1675. 317, 13, 13, 13, 0x0a,
  1676. // properties: name, type, flags
  1677. 339, 333, 0x0f095003,
  1678. 153, 347, 0x0009510b,
  1679. 362, 357, 0x01095001,
  1680. 370, 333, 0x0f095103,
  1681. 389, 381, 0x0a095103,
  1682. 403, 357, 0x01095103,
  1683. 120, 381, 0x0a095001,
  1684. 0 // eod
  1685. };
  1686. static const char qt_meta_stringdata_TimerDisplay[] = {
  1687. "TimerDisplay\0\0valueChanged(QTime)\0"
  1688. "runStateChanged(bool)\0updateTime()\0"
  1689. "setCountUpMode()\0setCountDownMode()\0"
  1690. "setClockMode()\0value\0setTimer(QTime)\0"
  1691. "setTimer()\0mode\0setMode(TimerMode)\0"
  1692. "startTimer()\0stopTimer()\0copyTimer()\0"
  1693. "setResetValue(QTime)\0setResetValue()\0"
  1694. "reset()\0format\0setDisplayFormat(QString)\0"
  1695. "reset\0setAutoReset(bool)\0updateDisplay()\0"
  1696. "QTime\0seconds\0TimerMode\0bool\0running\0"
  1697. "resetValue\0QString\0displayFormat\0"
  1698. "autoReset\0"
  1699. };
  1700. void TimerDisplay::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  1701. {
  1702. if (_c == QMetaObject::InvokeMetaMethod) {
  1703. Q_ASSERT(staticMetaObject.cast(_o));
  1704. TimerDisplay *_t = static_cast<TimerDisplay *>(_o);
  1705. switch (_id) {
  1706. case 0: _t->valueChanged((*reinterpret_cast< QTime(*)>(_a[1]))); break;
  1707. case 1: _t->runStateChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
  1708. case 2: _t->updateTime(); break;
  1709. case 3: _t->setCountUpMode(); break;
  1710. case 4: _t->setCountDownMode(); break;
  1711. case 5: _t->setClockMode(); break;
  1712. case 6: _t->setTimer((*reinterpret_cast< QTime(*)>(_a[1]))); break;
  1713. case 7: _t->setTimer(); break;
  1714. case 8: _t->setMode((*reinterpret_cast< TimerMode(*)>(_a[1]))); break;
  1715. case 9: _t->startTimer(); break;
  1716. case 10: _t->stopTimer(); break;
  1717. case 11: _t->copyTimer(); break;
  1718. case 12: _t->setResetValue((*reinterpret_cast< QTime(*)>(_a[1]))); break;
  1719. case 13: _t->setResetValue(); break;
  1720. case 14: _t->reset(); break;
  1721. case 15: _t->setDisplayFormat((*reinterpret_cast< QString(*)>(_a[1]))); break;
  1722. case 16: _t->setAutoReset((*reinterpret_cast< bool(*)>(_a[1]))); break;
  1723. case 17: _t->updateDisplay(); break;
  1724. default: ;
  1725. }
  1726. }
  1727. }
  1728. const QMetaObjectExtraData TimerDisplay::staticMetaObjectExtraData = {
  1729. 0, qt_static_metacall
  1730. };
  1731. const QMetaObject TimerDisplay::staticMetaObject = {
  1732. { &QLCDNumber::staticMetaObject, qt_meta_stringdata_TimerDisplay,
  1733. qt_meta_data_TimerDisplay, &staticMetaObjectExtraData }
  1734. };
  1735. #ifdef Q_NO_DATA_RELOCATION
  1736. const QMetaObject &TimerDisplay::getStaticMetaObject() { return staticMetaObject; }
  1737. #endif //Q_NO_DATA_RELOCATION
  1738. const QMetaObject *TimerDisplay::metaObject() const
  1739. {
  1740. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  1741. }
  1742. void *TimerDisplay::qt_metacast(const char *_clname)
  1743. {
  1744. if (!_clname) return 0;
  1745. if (!strcmp(_clname, qt_meta_stringdata_TimerDisplay))
  1746. return static_cast<void*>(const_cast< TimerDisplay*>(this));
  1747. return QLCDNumber::qt_metacast(_clname);
  1748. }
  1749. int TimerDisplay::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  1750. {
  1751. _id = QLCDNumber::qt_metacall(_c, _id, _a);
  1752. if (_id < 0)
  1753. return _id;
  1754. if (_c == QMetaObject::InvokeMetaMethod) {
  1755. if (_id < 18)
  1756. qt_static_metacall(this, _c, _id, _a);
  1757. _id -= 18;
  1758. }
  1759. #ifndef QT_NO_PROPERTIES
  1760. else if (_c == QMetaObject::ReadProperty) {
  1761. void *_v = _a[0];
  1762. switch (_id) {
  1763. case 0: *reinterpret_cast< QTime*>(_v) = seconds(); break;
  1764. case 1: *reinterpret_cast< TimerMode*>(_v) = mode(); break;
  1765. case 2: *reinterpret_cast< bool*>(_v) = isRunning(); break;
  1766. case 3: *reinterpret_cast< QTime*>(_v) = resetValue(); break;
  1767. case 4: *reinterpret_cast< QString*>(_v) = displayFormat(); break;
  1768. case 5: *reinterpret_cast< bool*>(_v) = autoReset(); break;
  1769. case 6: *reinterpret_cast< QString*>(_v) = value(); break;
  1770. }
  1771. _id -= 7;
  1772. } else if (_c == QMetaObject::WriteProperty) {
  1773. void *_v = _a[0];
  1774. switch (_id) {
  1775. case 0: setTimer(*reinterpret_cast< QTime*>(_v)); break;
  1776. case 1: setMode(*reinterpret_cast< TimerMode*>(_v)); break;
  1777. case 3: setResetValue(*reinterpret_cast< QTime*>(_v)); break;
  1778. case 4: setDisplayFormat(*reinterpret_cast< QString*>(_v)); break;
  1779. case 5: setAutoReset(*reinterpret_cast< bool*>(_v)); break;
  1780. }
  1781. _id -= 7;
  1782. } else if (_c == QMetaObject::ResetProperty) {
  1783. _id -= 7;
  1784. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  1785. _id -= 7;
  1786. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  1787. _id -= 7;
  1788. } else if (_c == QMetaObject::QueryPropertyStored) {
  1789. _id -= 7;
  1790. } else if (_c == QMetaObject::QueryPropertyEditable) {
  1791. _id -= 7;
  1792. } else if (_c == QMetaObject::QueryPropertyUser) {
  1793. _id -= 7;
  1794. }
  1795. #endif // QT_NO_PROPERTIES
  1796. return _id;
  1797. }
  1798. // SIGNAL 0
  1799. void TimerDisplay::valueChanged(QTime _t1)
  1800. {
  1801. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
  1802. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  1803. }
  1804. // SIGNAL 1
  1805. void TimerDisplay::runStateChanged(bool _t1)
  1806. {
  1807. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
  1808. QMetaObject::activate(this, &staticMetaObject, 1, _a);
  1809. }
  1810. static const uint qt_meta_data_SceneButton[] = {
  1811. // content:
  1812. 6, // revision
  1813. 0, // classname
  1814. 0, 0, // classinfo
  1815. 1, 14, // methods
  1816. 0, 0, // properties
  1817. 0, 0, // enums/sets
  1818. 0, 0, // constructors
  1819. 0, // flags
  1820. 1, // signalCount
  1821. // signals: signature, parameters, type, tag, flags
  1822. 17, 13, 12, 12, 0x05,
  1823. 0 // eod
  1824. };
  1825. static const char qt_meta_stringdata_SceneButton[] = {
  1826. "SceneButton\0\0pos\0clicked(QPoint)\0"
  1827. };
  1828. void SceneButton::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  1829. {
  1830. if (_c == QMetaObject::InvokeMetaMethod) {
  1831. Q_ASSERT(staticMetaObject.cast(_o));
  1832. SceneButton *_t = static_cast<SceneButton *>(_o);
  1833. switch (_id) {
  1834. case 0: _t->clicked((*reinterpret_cast< QPoint(*)>(_a[1]))); break;
  1835. default: ;
  1836. }
  1837. }
  1838. }
  1839. const QMetaObjectExtraData SceneButton::staticMetaObjectExtraData = {
  1840. 0, qt_static_metacall
  1841. };
  1842. const QMetaObject SceneButton::staticMetaObject = {
  1843. { &QGraphicsScene::staticMetaObject, qt_meta_stringdata_SceneButton,
  1844. qt_meta_data_SceneButton, &staticMetaObjectExtraData }
  1845. };
  1846. #ifdef Q_NO_DATA_RELOCATION
  1847. const QMetaObject &SceneButton::getStaticMetaObject() { return staticMetaObject; }
  1848. #endif //Q_NO_DATA_RELOCATION
  1849. const QMetaObject *SceneButton::metaObject() const
  1850. {
  1851. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  1852. }
  1853. void *SceneButton::qt_metacast(const char *_clname)
  1854. {
  1855. if (!_clname) return 0;
  1856. if (!strcmp(_clname, qt_meta_stringdata_SceneButton))
  1857. return static_cast<void*>(const_cast< SceneButton*>(this));
  1858. return QGraphicsScene::qt_metacast(_clname);
  1859. }
  1860. int SceneButton::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  1861. {
  1862. _id = QGraphicsScene::qt_metacall(_c, _id, _a);
  1863. if (_id < 0)
  1864. return _id;
  1865. if (_c == QMetaObject::InvokeMetaMethod) {
  1866. if (_id < 1)
  1867. qt_static_metacall(this, _c, _id, _a);
  1868. _id -= 1;
  1869. }
  1870. return _id;
  1871. }
  1872. // SIGNAL 0
  1873. void SceneButton::clicked(QPoint _t1)
  1874. {
  1875. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
  1876. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  1877. }
  1878. static const uint qt_meta_data_WidgetDecorator[] = {
  1879. // content:
  1880. 6, // revision
  1881. 0, // classname
  1882. 0, 0, // classinfo
  1883. 0, 0, // methods
  1884. 0, 0, // properties
  1885. 0, 0, // enums/sets
  1886. 0, 0, // constructors
  1887. 0, // flags
  1888. 0, // signalCount
  1889. 0 // eod
  1890. };
  1891. static const char qt_meta_stringdata_WidgetDecorator[] = {
  1892. "WidgetDecorator\0"
  1893. };
  1894. void WidgetDecorator::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  1895. {
  1896. Q_UNUSED(_o);
  1897. Q_UNUSED(_id);
  1898. Q_UNUSED(_c);
  1899. Q_UNUSED(_a);
  1900. }
  1901. const QMetaObjectExtraData WidgetDecorator::staticMetaObjectExtraData = {
  1902. 0, qt_static_metacall
  1903. };
  1904. const QMetaObject WidgetDecorator::staticMetaObject = {
  1905. { &QWidget::staticMetaObject, qt_meta_stringdata_WidgetDecorator,
  1906. qt_meta_data_WidgetDecorator, &staticMetaObjectExtraData }
  1907. };
  1908. #ifdef Q_NO_DATA_RELOCATION
  1909. const QMetaObject &WidgetDecorator::getStaticMetaObject() { return staticMetaObject; }
  1910. #endif //Q_NO_DATA_RELOCATION
  1911. const QMetaObject *WidgetDecorator::metaObject() const
  1912. {
  1913. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  1914. }
  1915. void *WidgetDecorator::qt_metacast(const char *_clname)
  1916. {
  1917. if (!_clname) return 0;
  1918. if (!strcmp(_clname, qt_meta_stringdata_WidgetDecorator))
  1919. return static_cast<void*>(const_cast< WidgetDecorator*>(this));
  1920. return QWidget::qt_metacast(_clname);
  1921. }
  1922. int WidgetDecorator::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  1923. {
  1924. _id = QWidget::qt_metacall(_c, _id, _a);
  1925. if (_id < 0)
  1926. return _id;
  1927. return _id;
  1928. }
  1929. static const uint qt_meta_data_LogEditWindow[] = {
  1930. // content:
  1931. 6, // revision
  1932. 0, // classname
  1933. 0, 0, // classinfo
  1934. 4, 14, // methods
  1935. 0, 0, // properties
  1936. 0, 0, // enums/sets
  1937. 0, 0, // constructors
  1938. 0, // flags
  1939. 0, // signalCount
  1940. // slots: signature, parameters, type, tag, flags
  1941. 15, 14, 14, 14, 0x08,
  1942. 28, 14, 14, 14, 0x08,
  1943. 38, 14, 14, 14, 0x08,
  1944. 48, 14, 14, 14, 0x08,
  1945. 0 // eod
  1946. };
  1947. static const char qt_meta_stringdata_LogEditWindow[] = {
  1948. "LogEditWindow\0\0addTheRows()\0saveXML()\0"
  1949. "saveCSV()\0openXML()\0"
  1950. };
  1951. void LogEditWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  1952. {
  1953. if (_c == QMetaObject::InvokeMetaMethod) {
  1954. Q_ASSERT(staticMetaObject.cast(_o));
  1955. LogEditWindow *_t = static_cast<LogEditWindow *>(_o);
  1956. switch (_id) {
  1957. case 0: _t->addTheRows(); break;
  1958. case 1: _t->saveXML(); break;
  1959. case 2: _t->saveCSV(); break;
  1960. case 3: _t->openXML(); break;
  1961. default: ;
  1962. }
  1963. }
  1964. Q_UNUSED(_a);
  1965. }
  1966. const QMetaObjectExtraData LogEditWindow::staticMetaObjectExtraData = {
  1967. 0, qt_static_metacall
  1968. };
  1969. const QMetaObject LogEditWindow::staticMetaObject = {
  1970. { &QMainWindow::staticMetaObject, qt_meta_stringdata_LogEditWindow,
  1971. qt_meta_data_LogEditWindow, &staticMetaObjectExtraData }
  1972. };
  1973. #ifdef Q_NO_DATA_RELOCATION
  1974. const QMetaObject &LogEditWindow::getStaticMetaObject() { return staticMetaObject; }
  1975. #endif //Q_NO_DATA_RELOCATION
  1976. const QMetaObject *LogEditWindow::metaObject() const
  1977. {
  1978. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  1979. }
  1980. void *LogEditWindow::qt_metacast(const char *_clname)
  1981. {
  1982. if (!_clname) return 0;
  1983. if (!strcmp(_clname, qt_meta_stringdata_LogEditWindow))
  1984. return static_cast<void*>(const_cast< LogEditWindow*>(this));
  1985. return QMainWindow::qt_metacast(_clname);
  1986. }
  1987. int LogEditWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  1988. {
  1989. _id = QMainWindow::qt_metacall(_c, _id, _a);
  1990. if (_id < 0)
  1991. return _id;
  1992. if (_c == QMetaObject::InvokeMetaMethod) {
  1993. if (_id < 4)
  1994. qt_static_metacall(this, _c, _id, _a);
  1995. _id -= 4;
  1996. }
  1997. return _id;
  1998. }
  1999. static const uint qt_meta_data_XMLOutput[] = {
  2000. // content:
  2001. 6, // revision
  2002. 0, // classname
  2003. 0, 0, // classinfo
  2004. 0, 0, // methods
  2005. 0, 0, // properties
  2006. 0, 0, // enums/sets
  2007. 0, 0, // constructors
  2008. 0, // flags
  2009. 0, // signalCount
  2010. 0 // eod
  2011. };
  2012. static const char qt_meta_stringdata_XMLOutput[] = {
  2013. "XMLOutput\0"
  2014. };
  2015. void XMLOutput::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  2016. {
  2017. Q_UNUSED(_o);
  2018. Q_UNUSED(_id);
  2019. Q_UNUSED(_c);
  2020. Q_UNUSED(_a);
  2021. }
  2022. const QMetaObjectExtraData XMLOutput::staticMetaObjectExtraData = {
  2023. 0, qt_static_metacall
  2024. };
  2025. const QMetaObject XMLOutput::staticMetaObject = {
  2026. { &QObject::staticMetaObject, qt_meta_stringdata_XMLOutput,
  2027. qt_meta_data_XMLOutput, &staticMetaObjectExtraData }
  2028. };
  2029. #ifdef Q_NO_DATA_RELOCATION
  2030. const QMetaObject &XMLOutput::getStaticMetaObject() { return staticMetaObject; }
  2031. #endif //Q_NO_DATA_RELOCATION
  2032. const QMetaObject *XMLOutput::metaObject() const
  2033. {
  2034. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  2035. }
  2036. void *XMLOutput::qt_metacast(const char *_clname)
  2037. {
  2038. if (!_clname) return 0;
  2039. if (!strcmp(_clname, qt_meta_stringdata_XMLOutput))
  2040. return static_cast<void*>(const_cast< XMLOutput*>(this));
  2041. return QObject::qt_metacast(_clname);
  2042. }
  2043. int XMLOutput::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  2044. {
  2045. _id = QObject::qt_metacall(_c, _id, _a);
  2046. if (_id < 0)
  2047. return _id;
  2048. return _id;
  2049. }
  2050. static const uint qt_meta_data_XMLInput[] = {
  2051. // content:
  2052. 6, // revision
  2053. 0, // classname
  2054. 0, 0, // classinfo
  2055. 5, 14, // methods
  2056. 0, 0, // properties
  2057. 0, 0, // enums/sets
  2058. 0, 0, // constructors
  2059. 0, // flags
  2060. 5, // signalCount
  2061. // signals: signature, parameters, type, tag, flags
  2062. 12, 10, 9, 9, 0x05,
  2063. 40, 37, 9, 9, 0x05,
  2064. 68, 10, 9, 9, 0x05,
  2065. 102, 10, 9, 9, 0x05,
  2066. 135, 9, 9, 9, 0x05,
  2067. 0 // eod
  2068. };
  2069. static const char qt_meta_stringdata_XMLInput[] = {
  2070. "XMLInput\0\0,\0measure(Measurement,int)\0"
  2071. ",,\0annotation(QString,int,int)\0"
  2072. "newTemperatureColumn(int,QString)\0"
  2073. "newAnnotationColumn(int,QString)\0"
  2074. "lastColumn(int)\0"
  2075. };
  2076. void XMLInput::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  2077. {
  2078. if (_c == QMetaObject::InvokeMetaMethod) {
  2079. Q_ASSERT(staticMetaObject.cast(_o));
  2080. XMLInput *_t = static_cast<XMLInput *>(_o);
  2081. switch (_id) {
  2082. case 0: _t->measure((*reinterpret_cast< Measurement(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
  2083. case 1: _t->annotation((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
  2084. case 2: _t->newTemperatureColumn((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
  2085. case 3: _t->newAnnotationColumn((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
  2086. case 4: _t->lastColumn((*reinterpret_cast< int(*)>(_a[1]))); break;
  2087. default: ;
  2088. }
  2089. }
  2090. }
  2091. const QMetaObjectExtraData XMLInput::staticMetaObjectExtraData = {
  2092. 0, qt_static_metacall
  2093. };
  2094. const QMetaObject XMLInput::staticMetaObject = {
  2095. { &QObject::staticMetaObject, qt_meta_stringdata_XMLInput,
  2096. qt_meta_data_XMLInput, &staticMetaObjectExtraData }
  2097. };
  2098. #ifdef Q_NO_DATA_RELOCATION
  2099. const QMetaObject &XMLInput::getStaticMetaObject() { return staticMetaObject; }
  2100. #endif //Q_NO_DATA_RELOCATION
  2101. const QMetaObject *XMLInput::metaObject() const
  2102. {
  2103. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  2104. }
  2105. void *XMLInput::qt_metacast(const char *_clname)
  2106. {
  2107. if (!_clname) return 0;
  2108. if (!strcmp(_clname, qt_meta_stringdata_XMLInput))
  2109. return static_cast<void*>(const_cast< XMLInput*>(this));
  2110. return QObject::qt_metacast(_clname);
  2111. }
  2112. int XMLInput::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  2113. {
  2114. _id = QObject::qt_metacall(_c, _id, _a);
  2115. if (_id < 0)
  2116. return _id;
  2117. if (_c == QMetaObject::InvokeMetaMethod) {
  2118. if (_id < 5)
  2119. qt_static_metacall(this, _c, _id, _a);
  2120. _id -= 5;
  2121. }
  2122. return _id;
  2123. }
  2124. // SIGNAL 0
  2125. void XMLInput::measure(Measurement _t1, int _t2)
  2126. {
  2127. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
  2128. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  2129. }
  2130. // SIGNAL 1
  2131. void XMLInput::annotation(QString _t1, int _t2, int _t3)
  2132. {
  2133. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
  2134. QMetaObject::activate(this, &staticMetaObject, 1, _a);
  2135. }
  2136. // SIGNAL 2
  2137. void XMLInput::newTemperatureColumn(int _t1, QString _t2)
  2138. {
  2139. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
  2140. QMetaObject::activate(this, &staticMetaObject, 2, _a);
  2141. }
  2142. // SIGNAL 3
  2143. void XMLInput::newAnnotationColumn(int _t1, QString _t2)
  2144. {
  2145. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
  2146. QMetaObject::activate(this, &staticMetaObject, 3, _a);
  2147. }
  2148. // SIGNAL 4
  2149. void XMLInput::lastColumn(int _t1)
  2150. {
  2151. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
  2152. QMetaObject::activate(this, &staticMetaObject, 4, _a);
  2153. }
  2154. static const uint qt_meta_data_Application[] = {
  2155. // content:
  2156. 6, // revision
  2157. 0, // classname
  2158. 0, 0, // classinfo
  2159. 1, 14, // methods
  2160. 0, 0, // properties
  2161. 0, 0, // enums/sets
  2162. 0, 0, // constructors
  2163. 0, // flags
  2164. 0, // signalCount
  2165. // slots: signature, parameters, type, tag, flags
  2166. 13, 12, 12, 12, 0x0a,
  2167. 0 // eod
  2168. };
  2169. static const char qt_meta_stringdata_Application[] = {
  2170. "Application\0\0saveDeviceConfiguration()\0"
  2171. };
  2172. void Application::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  2173. {
  2174. if (_c == QMetaObject::InvokeMetaMethod) {
  2175. Q_ASSERT(staticMetaObject.cast(_o));
  2176. Application *_t = static_cast<Application *>(_o);
  2177. switch (_id) {
  2178. case 0: _t->saveDeviceConfiguration(); break;
  2179. default: ;
  2180. }
  2181. }
  2182. Q_UNUSED(_a);
  2183. }
  2184. const QMetaObjectExtraData Application::staticMetaObjectExtraData = {
  2185. 0, qt_static_metacall
  2186. };
  2187. const QMetaObject Application::staticMetaObject = {
  2188. { &QApplication::staticMetaObject, qt_meta_stringdata_Application,
  2189. qt_meta_data_Application, &staticMetaObjectExtraData }
  2190. };
  2191. #ifdef Q_NO_DATA_RELOCATION
  2192. const QMetaObject &Application::getStaticMetaObject() { return staticMetaObject; }
  2193. #endif //Q_NO_DATA_RELOCATION
  2194. const QMetaObject *Application::metaObject() const
  2195. {
  2196. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  2197. }
  2198. void *Application::qt_metacast(const char *_clname)
  2199. {
  2200. if (!_clname) return 0;
  2201. if (!strcmp(_clname, qt_meta_stringdata_Application))
  2202. return static_cast<void*>(const_cast< Application*>(this));
  2203. return QApplication::qt_metacast(_clname);
  2204. }
  2205. int Application::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  2206. {
  2207. _id = QApplication::qt_metacall(_c, _id, _a);
  2208. if (_id < 0)
  2209. return _id;
  2210. if (_c == QMetaObject::InvokeMetaMethod) {
  2211. if (_id < 1)
  2212. qt_static_metacall(this, _c, _id, _a);
  2213. _id -= 1;
  2214. }
  2215. return _id;
  2216. }
  2217. static const uint qt_meta_data_SaltModel[] = {
  2218. // content:
  2219. 6, // revision
  2220. 0, // classname
  2221. 0, 0, // classinfo
  2222. 0, 0, // methods
  2223. 0, 0, // properties
  2224. 0, 0, // enums/sets
  2225. 0, 0, // constructors
  2226. 0, // flags
  2227. 0, // signalCount
  2228. 0 // eod
  2229. };
  2230. static const char qt_meta_stringdata_SaltModel[] = {
  2231. "SaltModel\0"
  2232. };
  2233. void SaltModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  2234. {
  2235. Q_UNUSED(_o);
  2236. Q_UNUSED(_id);
  2237. Q_UNUSED(_c);
  2238. Q_UNUSED(_a);
  2239. }
  2240. const QMetaObjectExtraData SaltModel::staticMetaObjectExtraData = {
  2241. 0, qt_static_metacall
  2242. };
  2243. const QMetaObject SaltModel::staticMetaObject = {
  2244. { &QAbstractItemModel::staticMetaObject, qt_meta_stringdata_SaltModel,
  2245. qt_meta_data_SaltModel, &staticMetaObjectExtraData }
  2246. };
  2247. #ifdef Q_NO_DATA_RELOCATION
  2248. const QMetaObject &SaltModel::getStaticMetaObject() { return staticMetaObject; }
  2249. #endif //Q_NO_DATA_RELOCATION
  2250. const QMetaObject *SaltModel::metaObject() const
  2251. {
  2252. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  2253. }
  2254. void *SaltModel::qt_metacast(const char *_clname)
  2255. {
  2256. if (!_clname) return 0;
  2257. if (!strcmp(_clname, qt_meta_stringdata_SaltModel))
  2258. return static_cast<void*>(const_cast< SaltModel*>(this));
  2259. return QAbstractItemModel::qt_metacast(_clname);
  2260. }
  2261. int SaltModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  2262. {
  2263. _id = QAbstractItemModel::qt_metacall(_c, _id, _a);
  2264. if (_id < 0)
  2265. return _id;
  2266. return _id;
  2267. }
  2268. static const uint qt_meta_data_SqlComboBox[] = {
  2269. // content:
  2270. 6, // revision
  2271. 0, // classname
  2272. 0, 0, // classinfo
  2273. 7, 14, // methods
  2274. 0, 0, // properties
  2275. 0, 0, // enums/sets
  2276. 0, 0, // constructors
  2277. 0, // flags
  2278. 0, // signalCount
  2279. // slots: signature, parameters, type, tag, flags
  2280. 13, 12, 12, 12, 0x0a,
  2281. 35, 29, 12, 12, 0x0a,
  2282. 65, 58, 12, 12, 0x0a,
  2283. 84, 58, 12, 12, 0x0a,
  2284. 111, 106, 12, 12, 0x0a,
  2285. 135, 126, 12, 12, 0x0a,
  2286. 165, 156, 12, 12, 0x0a,
  2287. 0 // eod
  2288. };
  2289. static const char qt_meta_stringdata_SqlComboBox[] = {
  2290. "SqlComboBox\0\0addNullOption()\0query\0"
  2291. "addSqlOptions(QString)\0column\0"
  2292. "setDataColumn(int)\0setDisplayColumn(int)\0"
  2293. "show\0showData(bool)\0nullText\0"
  2294. "setNullText(QString)\0nullData\0"
  2295. "setNullData(QVariant)\0"
  2296. };
  2297. void SqlComboBox::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  2298. {
  2299. if (_c == QMetaObject::InvokeMetaMethod) {
  2300. Q_ASSERT(staticMetaObject.cast(_o));
  2301. SqlComboBox *_t = static_cast<SqlComboBox *>(_o);
  2302. switch (_id) {
  2303. case 0: _t->addNullOption(); break;
  2304. case 1: _t->addSqlOptions((*reinterpret_cast< QString(*)>(_a[1]))); break;
  2305. case 2: _t->setDataColumn((*reinterpret_cast< int(*)>(_a[1]))); break;
  2306. case 3: _t->setDisplayColumn((*reinterpret_cast< int(*)>(_a[1]))); break;
  2307. case 4: _t->showData((*reinterpret_cast< bool(*)>(_a[1]))); break;
  2308. case 5: _t->setNullText((*reinterpret_cast< QString(*)>(_a[1]))); break;
  2309. case 6: _t->setNullData((*reinterpret_cast< QVariant(*)>(_a[1]))); break;
  2310. default: ;
  2311. }
  2312. }
  2313. }
  2314. const QMetaObjectExtraData SqlComboBox::staticMetaObjectExtraData = {
  2315. 0, qt_static_metacall
  2316. };
  2317. const QMetaObject SqlComboBox::staticMetaObject = {
  2318. { &QComboBox::staticMetaObject, qt_meta_stringdata_SqlComboBox,
  2319. qt_meta_data_SqlComboBox, &staticMetaObjectExtraData }
  2320. };
  2321. #ifdef Q_NO_DATA_RELOCATION
  2322. const QMetaObject &SqlComboBox::getStaticMetaObject() { return staticMetaObject; }
  2323. #endif //Q_NO_DATA_RELOCATION
  2324. const QMetaObject *SqlComboBox::metaObject() const
  2325. {
  2326. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  2327. }
  2328. void *SqlComboBox::qt_metacast(const char *_clname)
  2329. {
  2330. if (!_clname) return 0;
  2331. if (!strcmp(_clname, qt_meta_stringdata_SqlComboBox))
  2332. return static_cast<void*>(const_cast< SqlComboBox*>(this));
  2333. return QComboBox::qt_metacast(_clname);
  2334. }
  2335. int SqlComboBox::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  2336. {
  2337. _id = QComboBox::qt_metacall(_c, _id, _a);
  2338. if (_id < 0)
  2339. return _id;
  2340. if (_c == QMetaObject::InvokeMetaMethod) {
  2341. if (_id < 7)
  2342. qt_static_metacall(this, _c, _id, _a);
  2343. _id -= 7;
  2344. }
  2345. return _id;
  2346. }
  2347. static const uint qt_meta_data_SqlComboBoxDelegate[] = {
  2348. // content:
  2349. 6, // revision
  2350. 0, // classname
  2351. 0, 0, // classinfo
  2352. 0, 0, // methods
  2353. 0, 0, // properties
  2354. 0, 0, // enums/sets
  2355. 0, 0, // constructors
  2356. 0, // flags
  2357. 0, // signalCount
  2358. 0 // eod
  2359. };
  2360. static const char qt_meta_stringdata_SqlComboBoxDelegate[] = {
  2361. "SqlComboBoxDelegate\0"
  2362. };
  2363. void SqlComboBoxDelegate::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  2364. {
  2365. Q_UNUSED(_o);
  2366. Q_UNUSED(_id);
  2367. Q_UNUSED(_c);
  2368. Q_UNUSED(_a);
  2369. }
  2370. const QMetaObjectExtraData SqlComboBoxDelegate::staticMetaObjectExtraData = {
  2371. 0, qt_static_metacall
  2372. };
  2373. const QMetaObject SqlComboBoxDelegate::staticMetaObject = {
  2374. { &QItemDelegate::staticMetaObject, qt_meta_stringdata_SqlComboBoxDelegate,
  2375. qt_meta_data_SqlComboBoxDelegate, &staticMetaObjectExtraData }
  2376. };
  2377. #ifdef Q_NO_DATA_RELOCATION
  2378. const QMetaObject &SqlComboBoxDelegate::getStaticMetaObject() { return staticMetaObject; }
  2379. #endif //Q_NO_DATA_RELOCATION
  2380. const QMetaObject *SqlComboBoxDelegate::metaObject() const
  2381. {
  2382. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  2383. }
  2384. void *SqlComboBoxDelegate::qt_metacast(const char *_clname)
  2385. {
  2386. if (!_clname) return 0;
  2387. if (!strcmp(_clname, qt_meta_stringdata_SqlComboBoxDelegate))
  2388. return static_cast<void*>(const_cast< SqlComboBoxDelegate*>(this));
  2389. return QItemDelegate::qt_metacast(_clname);
  2390. }
  2391. int SqlComboBoxDelegate::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  2392. {
  2393. _id = QItemDelegate::qt_metacall(_c, _id, _a);
  2394. if (_id < 0)
  2395. return _id;
  2396. return _id;
  2397. }
  2398. static const uint qt_meta_data_SqlConnectionSetup[] = {
  2399. // content:
  2400. 6, // revision
  2401. 0, // classname
  2402. 0, 0, // classinfo
  2403. 1, 14, // methods
  2404. 0, 0, // properties
  2405. 0, 0, // enums/sets
  2406. 0, 0, // constructors
  2407. 0, // flags
  2408. 0, // signalCount
  2409. // slots: signature, parameters, type, tag, flags
  2410. 20, 19, 19, 19, 0x0a,
  2411. 0 // eod
  2412. };
  2413. static const char qt_meta_stringdata_SqlConnectionSetup[] = {
  2414. "SqlConnectionSetup\0\0testConnection()\0"
  2415. };
  2416. void SqlConnectionSetup::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  2417. {
  2418. if (_c == QMetaObject::InvokeMetaMethod) {
  2419. Q_ASSERT(staticMetaObject.cast(_o));
  2420. SqlConnectionSetup *_t = static_cast<SqlConnectionSetup *>(_o);
  2421. switch (_id) {
  2422. case 0: _t->testConnection(); break;
  2423. default: ;
  2424. }
  2425. }
  2426. Q_UNUSED(_a);
  2427. }
  2428. const QMetaObjectExtraData SqlConnectionSetup::staticMetaObjectExtraData = {
  2429. 0, qt_static_metacall
  2430. };
  2431. const QMetaObject SqlConnectionSetup::staticMetaObject = {
  2432. { &QDialog::staticMetaObject, qt_meta_stringdata_SqlConnectionSetup,
  2433. qt_meta_data_SqlConnectionSetup, &staticMetaObjectExtraData }
  2434. };
  2435. #ifdef Q_NO_DATA_RELOCATION
  2436. const QMetaObject &SqlConnectionSetup::getStaticMetaObject() { return staticMetaObject; }
  2437. #endif //Q_NO_DATA_RELOCATION
  2438. const QMetaObject *SqlConnectionSetup::metaObject() const
  2439. {
  2440. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  2441. }
  2442. void *SqlConnectionSetup::qt_metacast(const char *_clname)
  2443. {
  2444. if (!_clname) return 0;
  2445. if (!strcmp(_clname, qt_meta_stringdata_SqlConnectionSetup))
  2446. return static_cast<void*>(const_cast< SqlConnectionSetup*>(this));
  2447. return QDialog::qt_metacast(_clname);
  2448. }
  2449. int SqlConnectionSetup::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  2450. {
  2451. _id = QDialog::qt_metacall(_c, _id, _a);
  2452. if (_id < 0)
  2453. return _id;
  2454. if (_c == QMetaObject::InvokeMetaMethod) {
  2455. if (_id < 1)
  2456. qt_static_metacall(this, _c, _id, _a);
  2457. _id -= 1;
  2458. }
  2459. return _id;
  2460. }
  2461. static const uint qt_meta_data_SqlQueryView[] = {
  2462. // content:
  2463. 6, // revision
  2464. 0, // classname
  2465. 0, 0, // classinfo
  2466. 6, 14, // methods
  2467. 0, 0, // properties
  2468. 0, 0, // enums/sets
  2469. 0, 0, // constructors
  2470. 0, // flags
  2471. 2, // signalCount
  2472. // signals: signature, parameters, type, tag, flags
  2473. 18, 14, 13, 13, 0x05,
  2474. 41, 37, 13, 13, 0x05,
  2475. // slots: signature, parameters, type, tag, flags
  2476. 65, 59, 13, 13, 0x08,
  2477. 109, 86, 13, 13, 0x08,
  2478. // methods: signature, parameters, type, tag, flags
  2479. 167, 151, 142, 13, 0x02,
  2480. 196, 185, 142, 13, 0x22,
  2481. 0 // eod
  2482. };
  2483. static const char qt_meta_stringdata_SqlQueryView[] = {
  2484. "SqlQueryView\0\0key\0openEntry(QString)\0"
  2485. "row\0openEntryRow(int)\0index\0"
  2486. "openRow(QModelIndex)\0column,oldsize,newsize\0"
  2487. "persistColumnResize(int,int,int)\0"
  2488. "QVariant\0row,column,role\0data(int,int,int)\0"
  2489. "row,column\0data(int,int)\0"
  2490. };
  2491. void SqlQueryView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  2492. {
  2493. if (_c == QMetaObject::InvokeMetaMethod) {
  2494. Q_ASSERT(staticMetaObject.cast(_o));
  2495. SqlQueryView *_t = static_cast<SqlQueryView *>(_o);
  2496. switch (_id) {
  2497. case 0: _t->openEntry((*reinterpret_cast< QString(*)>(_a[1]))); break;
  2498. case 1: _t->openEntryRow((*reinterpret_cast< int(*)>(_a[1]))); break;
  2499. case 2: _t->openRow((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
  2500. case 3: _t->persistColumnResize((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
  2501. case 4: { QVariant _r = _t->data((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])));
  2502. if (_a[0]) *reinterpret_cast< QVariant*>(_a[0]) = _r; } break;
  2503. case 5: { QVariant _r = _t->data((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])));
  2504. if (_a[0]) *reinterpret_cast< QVariant*>(_a[0]) = _r; } break;
  2505. default: ;
  2506. }
  2507. }
  2508. }
  2509. const QMetaObjectExtraData SqlQueryView::staticMetaObjectExtraData = {
  2510. 0, qt_static_metacall
  2511. };
  2512. const QMetaObject SqlQueryView::staticMetaObject = {
  2513. { &QTableView::staticMetaObject, qt_meta_stringdata_SqlQueryView,
  2514. qt_meta_data_SqlQueryView, &staticMetaObjectExtraData }
  2515. };
  2516. #ifdef Q_NO_DATA_RELOCATION
  2517. const QMetaObject &SqlQueryView::getStaticMetaObject() { return staticMetaObject; }
  2518. #endif //Q_NO_DATA_RELOCATION
  2519. const QMetaObject *SqlQueryView::metaObject() const
  2520. {
  2521. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  2522. }
  2523. void *SqlQueryView::qt_metacast(const char *_clname)
  2524. {
  2525. if (!_clname) return 0;
  2526. if (!strcmp(_clname, qt_meta_stringdata_SqlQueryView))
  2527. return static_cast<void*>(const_cast< SqlQueryView*>(this));
  2528. return QTableView::qt_metacast(_clname);
  2529. }
  2530. int SqlQueryView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  2531. {
  2532. _id = QTableView::qt_metacall(_c, _id, _a);
  2533. if (_id < 0)
  2534. return _id;
  2535. if (_c == QMetaObject::InvokeMetaMethod) {
  2536. if (_id < 6)
  2537. qt_static_metacall(this, _c, _id, _a);
  2538. _id -= 6;
  2539. }
  2540. return _id;
  2541. }
  2542. // SIGNAL 0
  2543. void SqlQueryView::openEntry(QString _t1)
  2544. {
  2545. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
  2546. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  2547. }
  2548. // SIGNAL 1
  2549. void SqlQueryView::openEntryRow(int _t1)
  2550. {
  2551. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
  2552. QMetaObject::activate(this, &staticMetaObject, 1, _a);
  2553. }
  2554. static const uint qt_meta_data_ReportAction[] = {
  2555. // content:
  2556. 6, // revision
  2557. 0, // classname
  2558. 0, 0, // classinfo
  2559. 1, 14, // methods
  2560. 0, 0, // properties
  2561. 0, 0, // enums/sets
  2562. 0, 0, // constructors
  2563. 0, // flags
  2564. 0, // signalCount
  2565. // slots: signature, parameters, type, tag, flags
  2566. 14, 13, 13, 13, 0x08,
  2567. 0 // eod
  2568. };
  2569. static const char qt_meta_stringdata_ReportAction[] = {
  2570. "ReportAction\0\0createReport()\0"
  2571. };
  2572. void ReportAction::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  2573. {
  2574. if (_c == QMetaObject::InvokeMetaMethod) {
  2575. Q_ASSERT(staticMetaObject.cast(_o));
  2576. ReportAction *_t = static_cast<ReportAction *>(_o);
  2577. switch (_id) {
  2578. case 0: _t->createReport(); break;
  2579. default: ;
  2580. }
  2581. }
  2582. Q_UNUSED(_a);
  2583. }
  2584. const QMetaObjectExtraData ReportAction::staticMetaObjectExtraData = {
  2585. 0, qt_static_metacall
  2586. };
  2587. const QMetaObject ReportAction::staticMetaObject = {
  2588. { &QAction::staticMetaObject, qt_meta_stringdata_ReportAction,
  2589. qt_meta_data_ReportAction, &staticMetaObjectExtraData }
  2590. };
  2591. #ifdef Q_NO_DATA_RELOCATION
  2592. const QMetaObject &ReportAction::getStaticMetaObject() { return staticMetaObject; }
  2593. #endif //Q_NO_DATA_RELOCATION
  2594. const QMetaObject *ReportAction::metaObject() const
  2595. {
  2596. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  2597. }
  2598. void *ReportAction::qt_metacast(const char *_clname)
  2599. {
  2600. if (!_clname) return 0;
  2601. if (!strcmp(_clname, qt_meta_stringdata_ReportAction))
  2602. return static_cast<void*>(const_cast< ReportAction*>(this));
  2603. return QAction::qt_metacast(_clname);
  2604. }
  2605. int ReportAction::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  2606. {
  2607. _id = QAction::qt_metacall(_c, _id, _a);
  2608. if (_id < 0)
  2609. return _id;
  2610. if (_c == QMetaObject::InvokeMetaMethod) {
  2611. if (_id < 1)
  2612. qt_static_metacall(this, _c, _id, _a);
  2613. _id -= 1;
  2614. }
  2615. return _id;
  2616. }
  2617. static const uint qt_meta_data_ReportTable[] = {
  2618. // content:
  2619. 6, // revision
  2620. 0, // classname
  2621. 0, 0, // classinfo
  2622. 2, 14, // methods
  2623. 0, 0, // properties
  2624. 0, 0, // enums/sets
  2625. 0, 0, // constructors
  2626. 0, // flags
  2627. 0, // signalCount
  2628. // slots: signature, parameters, type, tag, flags
  2629. 13, 12, 12, 12, 0x0a,
  2630. // methods: signature, parameters, type, tag, flags
  2631. 41, 23, 12, 12, 0x02,
  2632. 0 // eod
  2633. };
  2634. static const char qt_meta_stringdata_ReportTable[] = {
  2635. "ReportTable\0\0refresh()\0placeholder,value\0"
  2636. "bind(QString,QVariant)\0"
  2637. };
  2638. void ReportTable::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  2639. {
  2640. if (_c == QMetaObject::InvokeMetaMethod) {
  2641. Q_ASSERT(staticMetaObject.cast(_o));
  2642. ReportTable *_t = static_cast<ReportTable *>(_o);
  2643. switch (_id) {
  2644. case 0: _t->refresh(); break;
  2645. case 1: _t->bind((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QVariant(*)>(_a[2]))); break;
  2646. default: ;
  2647. }
  2648. }
  2649. }
  2650. const QMetaObjectExtraData ReportTable::staticMetaObjectExtraData = {
  2651. 0, qt_static_metacall
  2652. };
  2653. const QMetaObject ReportTable::staticMetaObject = {
  2654. { &QObject::staticMetaObject, qt_meta_stringdata_ReportTable,
  2655. qt_meta_data_ReportTable, &staticMetaObjectExtraData }
  2656. };
  2657. #ifdef Q_NO_DATA_RELOCATION
  2658. const QMetaObject &ReportTable::getStaticMetaObject() { return staticMetaObject; }
  2659. #endif //Q_NO_DATA_RELOCATION
  2660. const QMetaObject *ReportTable::metaObject() const
  2661. {
  2662. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  2663. }
  2664. void *ReportTable::qt_metacast(const char *_clname)
  2665. {
  2666. if (!_clname) return 0;
  2667. if (!strcmp(_clname, qt_meta_stringdata_ReportTable))
  2668. return static_cast<void*>(const_cast< ReportTable*>(this));
  2669. return QObject::qt_metacast(_clname);
  2670. }
  2671. int ReportTable::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  2672. {
  2673. _id = QObject::qt_metacall(_c, _id, _a);
  2674. if (_id < 0)
  2675. return _id;
  2676. if (_c == QMetaObject::InvokeMetaMethod) {
  2677. if (_id < 2)
  2678. qt_static_metacall(this, _c, _id, _a);
  2679. _id -= 2;
  2680. }
  2681. return _id;
  2682. }
  2683. static const uint qt_meta_data_FormArray[] = {
  2684. // content:
  2685. 6, // revision
  2686. 0, // classname
  2687. 0, 0, // classinfo
  2688. 7, 14, // methods
  2689. 0, 0, // properties
  2690. 0, 0, // enums/sets
  2691. 0, 0, // constructors
  2692. 0, // flags
  2693. 0, // signalCount
  2694. // slots: signature, parameters, type, tag, flags
  2695. 18, 11, 10, 10, 0x0a,
  2696. 35, 10, 10, 10, 0x2a,
  2697. 49, 10, 10, 10, 0x0a,
  2698. 75, 69, 10, 10, 0x0a,
  2699. 110, 103, 10, 10, 0x0a,
  2700. // methods: signature, parameters, type, tag, flags
  2701. 154, 148, 139, 10, 0x02,
  2702. 173, 10, 169, 10, 0x02,
  2703. 0 // eod
  2704. };
  2705. static const char qt_meta_stringdata_FormArray[] = {
  2706. "FormArray\0\0copies\0addElements(int)\0"
  2707. "addElements()\0removeAllElements()\0"
  2708. "width\0setMaximumElementWidth(int)\0"
  2709. "height\0setMaximumElementHeight(int)\0"
  2710. "QWidget*\0index\0elementAt(int)\0int\0"
  2711. "elements()\0"
  2712. };
  2713. void FormArray::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  2714. {
  2715. if (_c == QMetaObject::InvokeMetaMethod) {
  2716. Q_ASSERT(staticMetaObject.cast(_o));
  2717. FormArray *_t = static_cast<FormArray *>(_o);
  2718. switch (_id) {
  2719. case 0: _t->addElements((*reinterpret_cast< int(*)>(_a[1]))); break;
  2720. case 1: _t->addElements(); break;
  2721. case 2: _t->removeAllElements(); break;
  2722. case 3: _t->setMaximumElementWidth((*reinterpret_cast< int(*)>(_a[1]))); break;
  2723. case 4: _t->setMaximumElementHeight((*reinterpret_cast< int(*)>(_a[1]))); break;
  2724. case 5: { QWidget* _r = _t->elementAt((*reinterpret_cast< int(*)>(_a[1])));
  2725. if (_a[0]) *reinterpret_cast< QWidget**>(_a[0]) = _r; } break;
  2726. case 6: { int _r = _t->elements();
  2727. if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; } break;
  2728. default: ;
  2729. }
  2730. }
  2731. }
  2732. const QMetaObjectExtraData FormArray::staticMetaObjectExtraData = {
  2733. 0, qt_static_metacall
  2734. };
  2735. const QMetaObject FormArray::staticMetaObject = {
  2736. { &QScrollArea::staticMetaObject, qt_meta_stringdata_FormArray,
  2737. qt_meta_data_FormArray, &staticMetaObjectExtraData }
  2738. };
  2739. #ifdef Q_NO_DATA_RELOCATION
  2740. const QMetaObject &FormArray::getStaticMetaObject() { return staticMetaObject; }
  2741. #endif //Q_NO_DATA_RELOCATION
  2742. const QMetaObject *FormArray::metaObject() const
  2743. {
  2744. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  2745. }
  2746. void *FormArray::qt_metacast(const char *_clname)
  2747. {
  2748. if (!_clname) return 0;
  2749. if (!strcmp(_clname, qt_meta_stringdata_FormArray))
  2750. return static_cast<void*>(const_cast< FormArray*>(this));
  2751. return QScrollArea::qt_metacast(_clname);
  2752. }
  2753. int FormArray::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  2754. {
  2755. _id = QScrollArea::qt_metacall(_c, _id, _a);
  2756. if (_id < 0)
  2757. return _id;
  2758. if (_c == QMetaObject::InvokeMetaMethod) {
  2759. if (_id < 7)
  2760. qt_static_metacall(this, _c, _id, _a);
  2761. _id -= 7;
  2762. }
  2763. return _id;
  2764. }
  2765. static const uint qt_meta_data_ScaleControl[] = {
  2766. // content:
  2767. 6, // revision
  2768. 0, // classname
  2769. 0, 0, // classinfo
  2770. 4, 14, // methods
  2771. 2, 34, // properties
  2772. 0, 0, // enums/sets
  2773. 0, 0, // constructors
  2774. 0, // flags
  2775. 2, // signalCount
  2776. // signals: signature, parameters, type, tag, flags
  2777. 14, 13, 13, 13, 0x05,
  2778. 37, 13, 13, 13, 0x05,
  2779. // slots: signature, parameters, type, tag, flags
  2780. 64, 58, 13, 13, 0x0a,
  2781. 88, 58, 13, 13, 0x0a,
  2782. // properties: name, type, flags
  2783. 117, 110, 0x06095103,
  2784. 130, 110, 0x06095103,
  2785. 0 // eod
  2786. };
  2787. static const char qt_meta_stringdata_ScaleControl[] = {
  2788. "ScaleControl\0\0initialChanged(double)\0"
  2789. "finalChanged(double)\0value\0"
  2790. "setInitialValue(double)\0setFinalValue(double)\0"
  2791. "double\0initialValue\0finalValue\0"
  2792. };
  2793. void ScaleControl::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  2794. {
  2795. if (_c == QMetaObject::InvokeMetaMethod) {
  2796. Q_ASSERT(staticMetaObject.cast(_o));
  2797. ScaleControl *_t = static_cast<ScaleControl *>(_o);
  2798. switch (_id) {
  2799. case 0: _t->initialChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
  2800. case 1: _t->finalChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
  2801. case 2: _t->setInitialValue((*reinterpret_cast< double(*)>(_a[1]))); break;
  2802. case 3: _t->setFinalValue((*reinterpret_cast< double(*)>(_a[1]))); break;
  2803. default: ;
  2804. }
  2805. }
  2806. }
  2807. const QMetaObjectExtraData ScaleControl::staticMetaObjectExtraData = {
  2808. 0, qt_static_metacall
  2809. };
  2810. const QMetaObject ScaleControl::staticMetaObject = {
  2811. { &QGraphicsView::staticMetaObject, qt_meta_stringdata_ScaleControl,
  2812. qt_meta_data_ScaleControl, &staticMetaObjectExtraData }
  2813. };
  2814. #ifdef Q_NO_DATA_RELOCATION
  2815. const QMetaObject &ScaleControl::getStaticMetaObject() { return staticMetaObject; }
  2816. #endif //Q_NO_DATA_RELOCATION
  2817. const QMetaObject *ScaleControl::metaObject() const
  2818. {
  2819. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  2820. }
  2821. void *ScaleControl::qt_metacast(const char *_clname)
  2822. {
  2823. if (!_clname) return 0;
  2824. if (!strcmp(_clname, qt_meta_stringdata_ScaleControl))
  2825. return static_cast<void*>(const_cast< ScaleControl*>(this));
  2826. return QGraphicsView::qt_metacast(_clname);
  2827. }
  2828. int ScaleControl::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  2829. {
  2830. _id = QGraphicsView::qt_metacall(_c, _id, _a);
  2831. if (_id < 0)
  2832. return _id;
  2833. if (_c == QMetaObject::InvokeMetaMethod) {
  2834. if (_id < 4)
  2835. qt_static_metacall(this, _c, _id, _a);
  2836. _id -= 4;
  2837. }
  2838. #ifndef QT_NO_PROPERTIES
  2839. else if (_c == QMetaObject::ReadProperty) {
  2840. void *_v = _a[0];
  2841. switch (_id) {
  2842. case 0: *reinterpret_cast< double*>(_v) = initialValue(); break;
  2843. case 1: *reinterpret_cast< double*>(_v) = finalValue(); break;
  2844. }
  2845. _id -= 2;
  2846. } else if (_c == QMetaObject::WriteProperty) {
  2847. void *_v = _a[0];
  2848. switch (_id) {
  2849. case 0: setInitialValue(*reinterpret_cast< double*>(_v)); break;
  2850. case 1: setFinalValue(*reinterpret_cast< double*>(_v)); break;
  2851. }
  2852. _id -= 2;
  2853. } else if (_c == QMetaObject::ResetProperty) {
  2854. _id -= 2;
  2855. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  2856. _id -= 2;
  2857. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  2858. _id -= 2;
  2859. } else if (_c == QMetaObject::QueryPropertyStored) {
  2860. _id -= 2;
  2861. } else if (_c == QMetaObject::QueryPropertyEditable) {
  2862. _id -= 2;
  2863. } else if (_c == QMetaObject::QueryPropertyUser) {
  2864. _id -= 2;
  2865. }
  2866. #endif // QT_NO_PROPERTIES
  2867. return _id;
  2868. }
  2869. // SIGNAL 0
  2870. void ScaleControl::initialChanged(double _t1)
  2871. {
  2872. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
  2873. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  2874. }
  2875. // SIGNAL 1
  2876. void ScaleControl::finalChanged(double _t1)
  2877. {
  2878. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
  2879. QMetaObject::activate(this, &staticMetaObject, 1, _a);
  2880. }
  2881. static const uint qt_meta_data_IntensityControl[] = {
  2882. // content:
  2883. 6, // revision
  2884. 0, // classname
  2885. 0, 0, // classinfo
  2886. 2, 14, // methods
  2887. 1, 24, // properties
  2888. 0, 0, // enums/sets
  2889. 0, 0, // constructors
  2890. 0, // flags
  2891. 1, // signalCount
  2892. // signals: signature, parameters, type, tag, flags
  2893. 18, 17, 17, 17, 0x05,
  2894. // slots: signature, parameters, type, tag, flags
  2895. 43, 39, 17, 17, 0x0a,
  2896. // properties: name, type, flags
  2897. 67, 60, 0x06095103,
  2898. 0 // eod
  2899. };
  2900. static const char qt_meta_stringdata_IntensityControl[] = {
  2901. "IntensityControl\0\0valueChanged(double)\0"
  2902. "val\0setValue(double)\0double\0value\0"
  2903. };
  2904. void IntensityControl::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  2905. {
  2906. if (_c == QMetaObject::InvokeMetaMethod) {
  2907. Q_ASSERT(staticMetaObject.cast(_o));
  2908. IntensityControl *_t = static_cast<IntensityControl *>(_o);
  2909. switch (_id) {
  2910. case 0: _t->valueChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
  2911. case 1: _t->setValue((*reinterpret_cast< double(*)>(_a[1]))); break;
  2912. default: ;
  2913. }
  2914. }
  2915. }
  2916. const QMetaObjectExtraData IntensityControl::staticMetaObjectExtraData = {
  2917. 0, qt_static_metacall
  2918. };
  2919. const QMetaObject IntensityControl::staticMetaObject = {
  2920. { &QGraphicsView::staticMetaObject, qt_meta_stringdata_IntensityControl,
  2921. qt_meta_data_IntensityControl, &staticMetaObjectExtraData }
  2922. };
  2923. #ifdef Q_NO_DATA_RELOCATION
  2924. const QMetaObject &IntensityControl::getStaticMetaObject() { return staticMetaObject; }
  2925. #endif //Q_NO_DATA_RELOCATION
  2926. const QMetaObject *IntensityControl::metaObject() const
  2927. {
  2928. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  2929. }
  2930. void *IntensityControl::qt_metacast(const char *_clname)
  2931. {
  2932. if (!_clname) return 0;
  2933. if (!strcmp(_clname, qt_meta_stringdata_IntensityControl))
  2934. return static_cast<void*>(const_cast< IntensityControl*>(this));
  2935. return QGraphicsView::qt_metacast(_clname);
  2936. }
  2937. int IntensityControl::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  2938. {
  2939. _id = QGraphicsView::qt_metacall(_c, _id, _a);
  2940. if (_id < 0)
  2941. return _id;
  2942. if (_c == QMetaObject::InvokeMetaMethod) {
  2943. if (_id < 2)
  2944. qt_static_metacall(this, _c, _id, _a);
  2945. _id -= 2;
  2946. }
  2947. #ifndef QT_NO_PROPERTIES
  2948. else if (_c == QMetaObject::ReadProperty) {
  2949. void *_v = _a[0];
  2950. switch (_id) {
  2951. case 0: *reinterpret_cast< double*>(_v) = value(); break;
  2952. }
  2953. _id -= 1;
  2954. } else if (_c == QMetaObject::WriteProperty) {
  2955. void *_v = _a[0];
  2956. switch (_id) {
  2957. case 0: setValue(*reinterpret_cast< double*>(_v)); break;
  2958. }
  2959. _id -= 1;
  2960. } else if (_c == QMetaObject::ResetProperty) {
  2961. _id -= 1;
  2962. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  2963. _id -= 1;
  2964. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  2965. _id -= 1;
  2966. } else if (_c == QMetaObject::QueryPropertyStored) {
  2967. _id -= 1;
  2968. } else if (_c == QMetaObject::QueryPropertyEditable) {
  2969. _id -= 1;
  2970. } else if (_c == QMetaObject::QueryPropertyUser) {
  2971. _id -= 1;
  2972. }
  2973. #endif // QT_NO_PROPERTIES
  2974. return _id;
  2975. }
  2976. // SIGNAL 0
  2977. void IntensityControl::valueChanged(double _t1)
  2978. {
  2979. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
  2980. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  2981. }
  2982. static const uint qt_meta_data_DeviceTreeModel[] = {
  2983. // content:
  2984. 6, // revision
  2985. 0, // classname
  2986. 0, 0, // classinfo
  2987. 1, 14, // methods
  2988. 0, 0, // properties
  2989. 0, 0, // enums/sets
  2990. 0, 0, // constructors
  2991. 0, // flags
  2992. 0, // signalCount
  2993. // slots: signature, parameters, type, tag, flags
  2994. 36, 17, 16, 16, 0x0a,
  2995. 0 // eod
  2996. };
  2997. static const char qt_meta_stringdata_DeviceTreeModel[] = {
  2998. "DeviceTreeModel\0\0name,driver,parent\0"
  2999. "newNode(QString,QString,QModelIndex)\0"
  3000. };
  3001. void DeviceTreeModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  3002. {
  3003. if (_c == QMetaObject::InvokeMetaMethod) {
  3004. Q_ASSERT(staticMetaObject.cast(_o));
  3005. DeviceTreeModel *_t = static_cast<DeviceTreeModel *>(_o);
  3006. switch (_id) {
  3007. case 0: _t->newNode((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QModelIndex(*)>(_a[3]))); break;
  3008. default: ;
  3009. }
  3010. }
  3011. }
  3012. const QMetaObjectExtraData DeviceTreeModel::staticMetaObjectExtraData = {
  3013. 0, qt_static_metacall
  3014. };
  3015. const QMetaObject DeviceTreeModel::staticMetaObject = {
  3016. { &QAbstractItemModel::staticMetaObject, qt_meta_stringdata_DeviceTreeModel,
  3017. qt_meta_data_DeviceTreeModel, &staticMetaObjectExtraData }
  3018. };
  3019. #ifdef Q_NO_DATA_RELOCATION
  3020. const QMetaObject &DeviceTreeModel::getStaticMetaObject() { return staticMetaObject; }
  3021. #endif //Q_NO_DATA_RELOCATION
  3022. const QMetaObject *DeviceTreeModel::metaObject() const
  3023. {
  3024. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  3025. }
  3026. void *DeviceTreeModel::qt_metacast(const char *_clname)
  3027. {
  3028. if (!_clname) return 0;
  3029. if (!strcmp(_clname, qt_meta_stringdata_DeviceTreeModel))
  3030. return static_cast<void*>(const_cast< DeviceTreeModel*>(this));
  3031. return QAbstractItemModel::qt_metacast(_clname);
  3032. }
  3033. int DeviceTreeModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  3034. {
  3035. _id = QAbstractItemModel::qt_metacall(_c, _id, _a);
  3036. if (_id < 0)
  3037. return _id;
  3038. if (_c == QMetaObject::InvokeMetaMethod) {
  3039. if (_id < 1)
  3040. qt_static_metacall(this, _c, _id, _a);
  3041. _id -= 1;
  3042. }
  3043. return _id;
  3044. }
  3045. static const uint qt_meta_data_NodeInserter[] = {
  3046. // content:
  3047. 6, // revision
  3048. 0, // classname
  3049. 0, 0, // classinfo
  3050. 2, 14, // methods
  3051. 0, 0, // properties
  3052. 0, 0, // enums/sets
  3053. 0, 0, // constructors
  3054. 0, // flags
  3055. 1, // signalCount
  3056. // signals: signature, parameters, type, tag, flags
  3057. 26, 14, 13, 13, 0x05,
  3058. // slots: signature, parameters, type, tag, flags
  3059. 53, 13, 13, 13, 0x08,
  3060. 0 // eod
  3061. };
  3062. static const char qt_meta_stringdata_NodeInserter[] = {
  3063. "NodeInserter\0\0name,driver\0"
  3064. "triggered(QString,QString)\0onTriggered()\0"
  3065. };
  3066. void NodeInserter::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  3067. {
  3068. if (_c == QMetaObject::InvokeMetaMethod) {
  3069. Q_ASSERT(staticMetaObject.cast(_o));
  3070. NodeInserter *_t = static_cast<NodeInserter *>(_o);
  3071. switch (_id) {
  3072. case 0: _t->triggered((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
  3073. case 1: _t->onTriggered(); break;
  3074. default: ;
  3075. }
  3076. }
  3077. }
  3078. const QMetaObjectExtraData NodeInserter::staticMetaObjectExtraData = {
  3079. 0, qt_static_metacall
  3080. };
  3081. const QMetaObject NodeInserter::staticMetaObject = {
  3082. { &QAction::staticMetaObject, qt_meta_stringdata_NodeInserter,
  3083. qt_meta_data_NodeInserter, &staticMetaObjectExtraData }
  3084. };
  3085. #ifdef Q_NO_DATA_RELOCATION
  3086. const QMetaObject &NodeInserter::getStaticMetaObject() { return staticMetaObject; }
  3087. #endif //Q_NO_DATA_RELOCATION
  3088. const QMetaObject *NodeInserter::metaObject() const
  3089. {
  3090. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  3091. }
  3092. void *NodeInserter::qt_metacast(const char *_clname)
  3093. {
  3094. if (!_clname) return 0;
  3095. if (!strcmp(_clname, qt_meta_stringdata_NodeInserter))
  3096. return static_cast<void*>(const_cast< NodeInserter*>(this));
  3097. return QAction::qt_metacast(_clname);
  3098. }
  3099. int NodeInserter::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  3100. {
  3101. _id = QAction::qt_metacall(_c, _id, _a);
  3102. if (_id < 0)
  3103. return _id;
  3104. if (_c == QMetaObject::InvokeMetaMethod) {
  3105. if (_id < 2)
  3106. qt_static_metacall(this, _c, _id, _a);
  3107. _id -= 2;
  3108. }
  3109. return _id;
  3110. }
  3111. // SIGNAL 0
  3112. void NodeInserter::triggered(QString _t1, QString _t2)
  3113. {
  3114. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
  3115. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  3116. }
  3117. static const uint qt_meta_data_DeviceConfigurationWindow[] = {
  3118. // content:
  3119. 6, // revision
  3120. 0, // classname
  3121. 0, 0, // classinfo
  3122. 4, 14, // methods
  3123. 0, 0, // properties
  3124. 0, 0, // enums/sets
  3125. 0, 0, // constructors
  3126. 0, // flags
  3127. 0, // signalCount
  3128. // slots: signature, parameters, type, tag, flags
  3129. 27, 26, 26, 26, 0x0a,
  3130. 39, 26, 26, 26, 0x0a,
  3131. 58, 52, 26, 26, 0x0a,
  3132. 84, 26, 26, 26, 0x08,
  3133. 0 // eod
  3134. };
  3135. static const char qt_meta_stringdata_DeviceConfigurationWindow[] = {
  3136. "DeviceConfigurationWindow\0\0addDevice()\0"
  3137. "removeNode()\0index\0newSelection(QModelIndex)\0"
  3138. "resizeColumn()\0"
  3139. };
  3140. void DeviceConfigurationWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  3141. {
  3142. if (_c == QMetaObject::InvokeMetaMethod) {
  3143. Q_ASSERT(staticMetaObject.cast(_o));
  3144. DeviceConfigurationWindow *_t = static_cast<DeviceConfigurationWindow *>(_o);
  3145. switch (_id) {
  3146. case 0: _t->addDevice(); break;
  3147. case 1: _t->removeNode(); break;
  3148. case 2: _t->newSelection((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
  3149. case 3: _t->resizeColumn(); break;
  3150. default: ;
  3151. }
  3152. }
  3153. }
  3154. const QMetaObjectExtraData DeviceConfigurationWindow::staticMetaObjectExtraData = {
  3155. 0, qt_static_metacall
  3156. };
  3157. const QMetaObject DeviceConfigurationWindow::staticMetaObject = {
  3158. { &QWidget::staticMetaObject, qt_meta_stringdata_DeviceConfigurationWindow,
  3159. qt_meta_data_DeviceConfigurationWindow, &staticMetaObjectExtraData }
  3160. };
  3161. #ifdef Q_NO_DATA_RELOCATION
  3162. const QMetaObject &DeviceConfigurationWindow::getStaticMetaObject() { return staticMetaObject; }
  3163. #endif //Q_NO_DATA_RELOCATION
  3164. const QMetaObject *DeviceConfigurationWindow::metaObject() const
  3165. {
  3166. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  3167. }
  3168. void *DeviceConfigurationWindow::qt_metacast(const char *_clname)
  3169. {
  3170. if (!_clname) return 0;
  3171. if (!strcmp(_clname, qt_meta_stringdata_DeviceConfigurationWindow))
  3172. return static_cast<void*>(const_cast< DeviceConfigurationWindow*>(this));
  3173. return QWidget::qt_metacast(_clname);
  3174. }
  3175. int DeviceConfigurationWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  3176. {
  3177. _id = QWidget::qt_metacall(_c, _id, _a);
  3178. if (_id < 0)
  3179. return _id;
  3180. if (_c == QMetaObject::InvokeMetaMethod) {
  3181. if (_id < 4)
  3182. qt_static_metacall(this, _c, _id, _a);
  3183. _id -= 4;
  3184. }
  3185. return _id;
  3186. }
  3187. static const uint qt_meta_data_BasicDeviceConfigurationWidget[] = {
  3188. // content:
  3189. 6, // revision
  3190. 0, // classname
  3191. 0, 0, // classinfo
  3192. 2, 14, // methods
  3193. 0, 0, // properties
  3194. 0, 0, // enums/sets
  3195. 0, 0, // constructors
  3196. 0, // flags
  3197. 0, // signalCount
  3198. // slots: signature, parameters, type, tag, flags
  3199. 44, 32, 31, 31, 0x0a,
  3200. 88, 77, 31, 31, 0x0a,
  3201. 0 // eod
  3202. };
  3203. static const char qt_meta_stringdata_BasicDeviceConfigurationWidget[] = {
  3204. "BasicDeviceConfigurationWidget\0\0"
  3205. "name,driver\0insertChildNode(QString,QString)\0"
  3206. "name,value\0updateAttribute(QString,QString)\0"
  3207. };
  3208. void BasicDeviceConfigurationWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  3209. {
  3210. if (_c == QMetaObject::InvokeMetaMethod) {
  3211. Q_ASSERT(staticMetaObject.cast(_o));
  3212. BasicDeviceConfigurationWidget *_t = static_cast<BasicDeviceConfigurationWidget *>(_o);
  3213. switch (_id) {
  3214. case 0: _t->insertChildNode((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
  3215. case 1: _t->updateAttribute((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
  3216. default: ;
  3217. }
  3218. }
  3219. }
  3220. const QMetaObjectExtraData BasicDeviceConfigurationWidget::staticMetaObjectExtraData = {
  3221. 0, qt_static_metacall
  3222. };
  3223. const QMetaObject BasicDeviceConfigurationWidget::staticMetaObject = {
  3224. { &QWidget::staticMetaObject, qt_meta_stringdata_BasicDeviceConfigurationWidget,
  3225. qt_meta_data_BasicDeviceConfigurationWidget, &staticMetaObjectExtraData }
  3226. };
  3227. #ifdef Q_NO_DATA_RELOCATION
  3228. const QMetaObject &BasicDeviceConfigurationWidget::getStaticMetaObject() { return staticMetaObject; }
  3229. #endif //Q_NO_DATA_RELOCATION
  3230. const QMetaObject *BasicDeviceConfigurationWidget::metaObject() const
  3231. {
  3232. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  3233. }
  3234. void *BasicDeviceConfigurationWidget::qt_metacast(const char *_clname)
  3235. {
  3236. if (!_clname) return 0;
  3237. if (!strcmp(_clname, qt_meta_stringdata_BasicDeviceConfigurationWidget))
  3238. return static_cast<void*>(const_cast< BasicDeviceConfigurationWidget*>(this));
  3239. return QWidget::qt_metacast(_clname);
  3240. }
  3241. int BasicDeviceConfigurationWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  3242. {
  3243. _id = QWidget::qt_metacall(_c, _id, _a);
  3244. if (_id < 0)
  3245. return _id;
  3246. if (_c == QMetaObject::InvokeMetaMethod) {
  3247. if (_id < 2)
  3248. qt_static_metacall(this, _c, _id, _a);
  3249. _id -= 2;
  3250. }
  3251. return _id;
  3252. }
  3253. static const uint qt_meta_data_RoasterConfWidget[] = {
  3254. // content:
  3255. 6, // revision
  3256. 0, // classname
  3257. 0, 0, // classinfo
  3258. 1, 14, // methods
  3259. 0, 0, // properties
  3260. 0, 0, // enums/sets
  3261. 1, 19, // constructors
  3262. 0, // flags
  3263. 0, // signalCount
  3264. // slots: signature, parameters, type, tag, flags
  3265. 22, 19, 18, 18, 0x08,
  3266. // constructors: signature, parameters, type, tag, flags
  3267. 55, 43, 18, 18, 0x0e,
  3268. 0 // eod
  3269. };
  3270. static const char qt_meta_stringdata_RoasterConfWidget[] = {
  3271. "RoasterConfWidget\0\0id\0updateRoasterId(int)\0"
  3272. "model,index\0RoasterConfWidget(DeviceTreeModel*,QModelIndex)\0"
  3273. };
  3274. void RoasterConfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  3275. {
  3276. if (_c == QMetaObject::CreateInstance) {
  3277. switch (_id) {
  3278. case 0: { RoasterConfWidget *_r = new RoasterConfWidget((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  3279. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  3280. }
  3281. } else if (_c == QMetaObject::InvokeMetaMethod) {
  3282. Q_ASSERT(staticMetaObject.cast(_o));
  3283. RoasterConfWidget *_t = static_cast<RoasterConfWidget *>(_o);
  3284. switch (_id) {
  3285. case 0: _t->updateRoasterId((*reinterpret_cast< int(*)>(_a[1]))); break;
  3286. default: ;
  3287. }
  3288. }
  3289. }
  3290. const QMetaObjectExtraData RoasterConfWidget::staticMetaObjectExtraData = {
  3291. 0, qt_static_metacall
  3292. };
  3293. const QMetaObject RoasterConfWidget::staticMetaObject = {
  3294. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_RoasterConfWidget,
  3295. qt_meta_data_RoasterConfWidget, &staticMetaObjectExtraData }
  3296. };
  3297. #ifdef Q_NO_DATA_RELOCATION
  3298. const QMetaObject &RoasterConfWidget::getStaticMetaObject() { return staticMetaObject; }
  3299. #endif //Q_NO_DATA_RELOCATION
  3300. const QMetaObject *RoasterConfWidget::metaObject() const
  3301. {
  3302. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  3303. }
  3304. void *RoasterConfWidget::qt_metacast(const char *_clname)
  3305. {
  3306. if (!_clname) return 0;
  3307. if (!strcmp(_clname, qt_meta_stringdata_RoasterConfWidget))
  3308. return static_cast<void*>(const_cast< RoasterConfWidget*>(this));
  3309. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  3310. }
  3311. int RoasterConfWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  3312. {
  3313. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  3314. if (_id < 0)
  3315. return _id;
  3316. if (_c == QMetaObject::InvokeMetaMethod) {
  3317. if (_id < 1)
  3318. qt_static_metacall(this, _c, _id, _a);
  3319. _id -= 1;
  3320. }
  3321. return _id;
  3322. }
  3323. static const uint qt_meta_data_NiDaqMxBaseDriverConfWidget[] = {
  3324. // content:
  3325. 6, // revision
  3326. 0, // classname
  3327. 0, 0, // classinfo
  3328. 0, 0, // methods
  3329. 0, 0, // properties
  3330. 0, 0, // enums/sets
  3331. 1, 14, // constructors
  3332. 0, // flags
  3333. 0, // signalCount
  3334. // constructors: signature, parameters, type, tag, flags
  3335. 41, 29, 28, 28, 0x0e,
  3336. 0 // eod
  3337. };
  3338. static const char qt_meta_stringdata_NiDaqMxBaseDriverConfWidget[] = {
  3339. "NiDaqMxBaseDriverConfWidget\0\0model,index\0"
  3340. "NiDaqMxBaseDriverConfWidget(DeviceTreeModel*,QModelIndex)\0"
  3341. };
  3342. void NiDaqMxBaseDriverConfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  3343. {
  3344. if (_c == QMetaObject::CreateInstance) {
  3345. switch (_id) {
  3346. case 0: { NiDaqMxBaseDriverConfWidget *_r = new NiDaqMxBaseDriverConfWidget((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  3347. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  3348. }
  3349. }
  3350. Q_UNUSED(_o);
  3351. }
  3352. const QMetaObjectExtraData NiDaqMxBaseDriverConfWidget::staticMetaObjectExtraData = {
  3353. 0, qt_static_metacall
  3354. };
  3355. const QMetaObject NiDaqMxBaseDriverConfWidget::staticMetaObject = {
  3356. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_NiDaqMxBaseDriverConfWidget,
  3357. qt_meta_data_NiDaqMxBaseDriverConfWidget, &staticMetaObjectExtraData }
  3358. };
  3359. #ifdef Q_NO_DATA_RELOCATION
  3360. const QMetaObject &NiDaqMxBaseDriverConfWidget::getStaticMetaObject() { return staticMetaObject; }
  3361. #endif //Q_NO_DATA_RELOCATION
  3362. const QMetaObject *NiDaqMxBaseDriverConfWidget::metaObject() const
  3363. {
  3364. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  3365. }
  3366. void *NiDaqMxBaseDriverConfWidget::qt_metacast(const char *_clname)
  3367. {
  3368. if (!_clname) return 0;
  3369. if (!strcmp(_clname, qt_meta_stringdata_NiDaqMxBaseDriverConfWidget))
  3370. return static_cast<void*>(const_cast< NiDaqMxBaseDriverConfWidget*>(this));
  3371. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  3372. }
  3373. int NiDaqMxBaseDriverConfWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  3374. {
  3375. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  3376. if (_id < 0)
  3377. return _id;
  3378. return _id;
  3379. }
  3380. static const uint qt_meta_data_NiDaqMxBase9211ConfWidget[] = {
  3381. // content:
  3382. 6, // revision
  3383. 0, // classname
  3384. 0, 0, // classinfo
  3385. 2, 14, // methods
  3386. 0, 0, // properties
  3387. 0, 0, // enums/sets
  3388. 1, 24, // constructors
  3389. 0, // flags
  3390. 0, // signalCount
  3391. // slots: signature, parameters, type, tag, flags
  3392. 27, 26, 26, 26, 0x08,
  3393. 46, 40, 26, 26, 0x08,
  3394. // constructors: signature, parameters, type, tag, flags
  3395. 83, 70, 26, 26, 0x0e,
  3396. 0 // eod
  3397. };
  3398. static const char qt_meta_stringdata_NiDaqMxBase9211ConfWidget[] = {
  3399. "NiDaqMxBase9211ConfWidget\0\0addChannel()\0"
  3400. "newId\0updateDeviceId(QString)\0"
  3401. "device,index\0"
  3402. "NiDaqMxBase9211ConfWidget(DeviceTreeModel*,QModelIndex)\0"
  3403. };
  3404. void NiDaqMxBase9211ConfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  3405. {
  3406. if (_c == QMetaObject::CreateInstance) {
  3407. switch (_id) {
  3408. case 0: { NiDaqMxBase9211ConfWidget *_r = new NiDaqMxBase9211ConfWidget((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  3409. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  3410. }
  3411. } else if (_c == QMetaObject::InvokeMetaMethod) {
  3412. Q_ASSERT(staticMetaObject.cast(_o));
  3413. NiDaqMxBase9211ConfWidget *_t = static_cast<NiDaqMxBase9211ConfWidget *>(_o);
  3414. switch (_id) {
  3415. case 0: _t->addChannel(); break;
  3416. case 1: _t->updateDeviceId((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  3417. default: ;
  3418. }
  3419. }
  3420. }
  3421. const QMetaObjectExtraData NiDaqMxBase9211ConfWidget::staticMetaObjectExtraData = {
  3422. 0, qt_static_metacall
  3423. };
  3424. const QMetaObject NiDaqMxBase9211ConfWidget::staticMetaObject = {
  3425. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_NiDaqMxBase9211ConfWidget,
  3426. qt_meta_data_NiDaqMxBase9211ConfWidget, &staticMetaObjectExtraData }
  3427. };
  3428. #ifdef Q_NO_DATA_RELOCATION
  3429. const QMetaObject &NiDaqMxBase9211ConfWidget::getStaticMetaObject() { return staticMetaObject; }
  3430. #endif //Q_NO_DATA_RELOCATION
  3431. const QMetaObject *NiDaqMxBase9211ConfWidget::metaObject() const
  3432. {
  3433. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  3434. }
  3435. void *NiDaqMxBase9211ConfWidget::qt_metacast(const char *_clname)
  3436. {
  3437. if (!_clname) return 0;
  3438. if (!strcmp(_clname, qt_meta_stringdata_NiDaqMxBase9211ConfWidget))
  3439. return static_cast<void*>(const_cast< NiDaqMxBase9211ConfWidget*>(this));
  3440. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  3441. }
  3442. int NiDaqMxBase9211ConfWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  3443. {
  3444. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  3445. if (_id < 0)
  3446. return _id;
  3447. if (_c == QMetaObject::InvokeMetaMethod) {
  3448. if (_id < 2)
  3449. qt_static_metacall(this, _c, _id, _a);
  3450. _id -= 2;
  3451. }
  3452. return _id;
  3453. }
  3454. static const uint qt_meta_data_Ni9211TcConfWidget[] = {
  3455. // content:
  3456. 6, // revision
  3457. 0, // classname
  3458. 0, 0, // classinfo
  3459. 3, 14, // methods
  3460. 0, 0, // properties
  3461. 0, 0, // enums/sets
  3462. 1, 29, // constructors
  3463. 0, // flags
  3464. 0, // signalCount
  3465. // slots: signature, parameters, type, tag, flags
  3466. 25, 20, 19, 19, 0x08,
  3467. 62, 57, 19, 19, 0x08,
  3468. 95, 88, 19, 19, 0x08,
  3469. // constructors: signature, parameters, type, tag, flags
  3470. 127, 114, 19, 19, 0x0e,
  3471. 0 // eod
  3472. };
  3473. static const char qt_meta_stringdata_Ni9211TcConfWidget[] = {
  3474. "Ni9211TcConfWidget\0\0type\0"
  3475. "updateThermocoupleType(QString)\0name\0"
  3476. "updateColumnName(QString)\0hidden\0"
  3477. "updateHidden(bool)\0device,index\0"
  3478. "Ni9211TcConfWidget(DeviceTreeModel*,QModelIndex)\0"
  3479. };
  3480. void Ni9211TcConfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  3481. {
  3482. if (_c == QMetaObject::CreateInstance) {
  3483. switch (_id) {
  3484. case 0: { Ni9211TcConfWidget *_r = new Ni9211TcConfWidget((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  3485. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  3486. }
  3487. } else if (_c == QMetaObject::InvokeMetaMethod) {
  3488. Q_ASSERT(staticMetaObject.cast(_o));
  3489. Ni9211TcConfWidget *_t = static_cast<Ni9211TcConfWidget *>(_o);
  3490. switch (_id) {
  3491. case 0: _t->updateThermocoupleType((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  3492. case 1: _t->updateColumnName((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  3493. case 2: _t->updateHidden((*reinterpret_cast< bool(*)>(_a[1]))); break;
  3494. default: ;
  3495. }
  3496. }
  3497. }
  3498. const QMetaObjectExtraData Ni9211TcConfWidget::staticMetaObjectExtraData = {
  3499. 0, qt_static_metacall
  3500. };
  3501. const QMetaObject Ni9211TcConfWidget::staticMetaObject = {
  3502. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_Ni9211TcConfWidget,
  3503. qt_meta_data_Ni9211TcConfWidget, &staticMetaObjectExtraData }
  3504. };
  3505. #ifdef Q_NO_DATA_RELOCATION
  3506. const QMetaObject &Ni9211TcConfWidget::getStaticMetaObject() { return staticMetaObject; }
  3507. #endif //Q_NO_DATA_RELOCATION
  3508. const QMetaObject *Ni9211TcConfWidget::metaObject() const
  3509. {
  3510. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  3511. }
  3512. void *Ni9211TcConfWidget::qt_metacast(const char *_clname)
  3513. {
  3514. if (!_clname) return 0;
  3515. if (!strcmp(_clname, qt_meta_stringdata_Ni9211TcConfWidget))
  3516. return static_cast<void*>(const_cast< Ni9211TcConfWidget*>(this));
  3517. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  3518. }
  3519. int Ni9211TcConfWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  3520. {
  3521. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  3522. if (_id < 0)
  3523. return _id;
  3524. if (_c == QMetaObject::InvokeMetaMethod) {
  3525. if (_id < 3)
  3526. qt_static_metacall(this, _c, _id, _a);
  3527. _id -= 3;
  3528. }
  3529. return _id;
  3530. }
  3531. static const uint qt_meta_data_NiDaqMxDriverConfWidget[] = {
  3532. // content:
  3533. 6, // revision
  3534. 0, // classname
  3535. 0, 0, // classinfo
  3536. 0, 0, // methods
  3537. 0, 0, // properties
  3538. 0, 0, // enums/sets
  3539. 1, 14, // constructors
  3540. 0, // flags
  3541. 0, // signalCount
  3542. // constructors: signature, parameters, type, tag, flags
  3543. 37, 25, 24, 24, 0x0e,
  3544. 0 // eod
  3545. };
  3546. static const char qt_meta_stringdata_NiDaqMxDriverConfWidget[] = {
  3547. "NiDaqMxDriverConfWidget\0\0model,index\0"
  3548. "NiDaqMxDriverConfWidget(DeviceTreeModel*,QModelIndex)\0"
  3549. };
  3550. void NiDaqMxDriverConfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  3551. {
  3552. if (_c == QMetaObject::CreateInstance) {
  3553. switch (_id) {
  3554. case 0: { NiDaqMxDriverConfWidget *_r = new NiDaqMxDriverConfWidget((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  3555. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  3556. }
  3557. }
  3558. Q_UNUSED(_o);
  3559. }
  3560. const QMetaObjectExtraData NiDaqMxDriverConfWidget::staticMetaObjectExtraData = {
  3561. 0, qt_static_metacall
  3562. };
  3563. const QMetaObject NiDaqMxDriverConfWidget::staticMetaObject = {
  3564. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_NiDaqMxDriverConfWidget,
  3565. qt_meta_data_NiDaqMxDriverConfWidget, &staticMetaObjectExtraData }
  3566. };
  3567. #ifdef Q_NO_DATA_RELOCATION
  3568. const QMetaObject &NiDaqMxDriverConfWidget::getStaticMetaObject() { return staticMetaObject; }
  3569. #endif //Q_NO_DATA_RELOCATION
  3570. const QMetaObject *NiDaqMxDriverConfWidget::metaObject() const
  3571. {
  3572. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  3573. }
  3574. void *NiDaqMxDriverConfWidget::qt_metacast(const char *_clname)
  3575. {
  3576. if (!_clname) return 0;
  3577. if (!strcmp(_clname, qt_meta_stringdata_NiDaqMxDriverConfWidget))
  3578. return static_cast<void*>(const_cast< NiDaqMxDriverConfWidget*>(this));
  3579. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  3580. }
  3581. int NiDaqMxDriverConfWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  3582. {
  3583. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  3584. if (_id < 0)
  3585. return _id;
  3586. return _id;
  3587. }
  3588. static const uint qt_meta_data_NiDaqMx9211ConfWidget[] = {
  3589. // content:
  3590. 6, // revision
  3591. 0, // classname
  3592. 0, 0, // classinfo
  3593. 2, 14, // methods
  3594. 0, 0, // properties
  3595. 0, 0, // enums/sets
  3596. 1, 24, // constructors
  3597. 0, // flags
  3598. 0, // signalCount
  3599. // slots: signature, parameters, type, tag, flags
  3600. 23, 22, 22, 22, 0x08,
  3601. 42, 36, 22, 22, 0x08,
  3602. // constructors: signature, parameters, type, tag, flags
  3603. 78, 66, 22, 22, 0x0e,
  3604. 0 // eod
  3605. };
  3606. static const char qt_meta_stringdata_NiDaqMx9211ConfWidget[] = {
  3607. "NiDaqMx9211ConfWidget\0\0addChannel()\0"
  3608. "newId\0updateDeviceId(QString)\0model,index\0"
  3609. "NiDaqMx9211ConfWidget(DeviceTreeModel*,QModelIndex)\0"
  3610. };
  3611. void NiDaqMx9211ConfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  3612. {
  3613. if (_c == QMetaObject::CreateInstance) {
  3614. switch (_id) {
  3615. case 0: { NiDaqMx9211ConfWidget *_r = new NiDaqMx9211ConfWidget((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  3616. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  3617. }
  3618. } else if (_c == QMetaObject::InvokeMetaMethod) {
  3619. Q_ASSERT(staticMetaObject.cast(_o));
  3620. NiDaqMx9211ConfWidget *_t = static_cast<NiDaqMx9211ConfWidget *>(_o);
  3621. switch (_id) {
  3622. case 0: _t->addChannel(); break;
  3623. case 1: _t->updateDeviceId((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  3624. default: ;
  3625. }
  3626. }
  3627. }
  3628. const QMetaObjectExtraData NiDaqMx9211ConfWidget::staticMetaObjectExtraData = {
  3629. 0, qt_static_metacall
  3630. };
  3631. const QMetaObject NiDaqMx9211ConfWidget::staticMetaObject = {
  3632. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_NiDaqMx9211ConfWidget,
  3633. qt_meta_data_NiDaqMx9211ConfWidget, &staticMetaObjectExtraData }
  3634. };
  3635. #ifdef Q_NO_DATA_RELOCATION
  3636. const QMetaObject &NiDaqMx9211ConfWidget::getStaticMetaObject() { return staticMetaObject; }
  3637. #endif //Q_NO_DATA_RELOCATION
  3638. const QMetaObject *NiDaqMx9211ConfWidget::metaObject() const
  3639. {
  3640. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  3641. }
  3642. void *NiDaqMx9211ConfWidget::qt_metacast(const char *_clname)
  3643. {
  3644. if (!_clname) return 0;
  3645. if (!strcmp(_clname, qt_meta_stringdata_NiDaqMx9211ConfWidget))
  3646. return static_cast<void*>(const_cast< NiDaqMx9211ConfWidget*>(this));
  3647. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  3648. }
  3649. int NiDaqMx9211ConfWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  3650. {
  3651. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  3652. if (_id < 0)
  3653. return _id;
  3654. if (_c == QMetaObject::InvokeMetaMethod) {
  3655. if (_id < 2)
  3656. qt_static_metacall(this, _c, _id, _a);
  3657. _id -= 2;
  3658. }
  3659. return _id;
  3660. }
  3661. static const uint qt_meta_data_NiDaqMxTc01ConfWidget[] = {
  3662. // content:
  3663. 6, // revision
  3664. 0, // classname
  3665. 0, 0, // classinfo
  3666. 4, 14, // methods
  3667. 0, 0, // properties
  3668. 0, 0, // enums/sets
  3669. 1, 34, // constructors
  3670. 0, // flags
  3671. 0, // signalCount
  3672. // slots: signature, parameters, type, tag, flags
  3673. 29, 23, 22, 22, 0x08,
  3674. 58, 53, 22, 22, 0x08,
  3675. 95, 90, 22, 22, 0x08,
  3676. 128, 121, 22, 22, 0x08,
  3677. // constructors: signature, parameters, type, tag, flags
  3678. 159, 147, 22, 22, 0x0e,
  3679. 0 // eod
  3680. };
  3681. static const char qt_meta_stringdata_NiDaqMxTc01ConfWidget[] = {
  3682. "NiDaqMxTc01ConfWidget\0\0newId\0"
  3683. "updateDeviceId(QString)\0type\0"
  3684. "updateThermocoupleType(QString)\0name\0"
  3685. "updateColumnName(QString)\0hidden\0"
  3686. "updateHidden(bool)\0model,index\0"
  3687. "NiDaqMxTc01ConfWidget(DeviceTreeModel*,QModelIndex)\0"
  3688. };
  3689. void NiDaqMxTc01ConfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  3690. {
  3691. if (_c == QMetaObject::CreateInstance) {
  3692. switch (_id) {
  3693. case 0: { NiDaqMxTc01ConfWidget *_r = new NiDaqMxTc01ConfWidget((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  3694. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  3695. }
  3696. } else if (_c == QMetaObject::InvokeMetaMethod) {
  3697. Q_ASSERT(staticMetaObject.cast(_o));
  3698. NiDaqMxTc01ConfWidget *_t = static_cast<NiDaqMxTc01ConfWidget *>(_o);
  3699. switch (_id) {
  3700. case 0: _t->updateDeviceId((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  3701. case 1: _t->updateThermocoupleType((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  3702. case 2: _t->updateColumnName((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  3703. case 3: _t->updateHidden((*reinterpret_cast< bool(*)>(_a[1]))); break;
  3704. default: ;
  3705. }
  3706. }
  3707. }
  3708. const QMetaObjectExtraData NiDaqMxTc01ConfWidget::staticMetaObjectExtraData = {
  3709. 0, qt_static_metacall
  3710. };
  3711. const QMetaObject NiDaqMxTc01ConfWidget::staticMetaObject = {
  3712. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_NiDaqMxTc01ConfWidget,
  3713. qt_meta_data_NiDaqMxTc01ConfWidget, &staticMetaObjectExtraData }
  3714. };
  3715. #ifdef Q_NO_DATA_RELOCATION
  3716. const QMetaObject &NiDaqMxTc01ConfWidget::getStaticMetaObject() { return staticMetaObject; }
  3717. #endif //Q_NO_DATA_RELOCATION
  3718. const QMetaObject *NiDaqMxTc01ConfWidget::metaObject() const
  3719. {
  3720. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  3721. }
  3722. void *NiDaqMxTc01ConfWidget::qt_metacast(const char *_clname)
  3723. {
  3724. if (!_clname) return 0;
  3725. if (!strcmp(_clname, qt_meta_stringdata_NiDaqMxTc01ConfWidget))
  3726. return static_cast<void*>(const_cast< NiDaqMxTc01ConfWidget*>(this));
  3727. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  3728. }
  3729. int NiDaqMxTc01ConfWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  3730. {
  3731. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  3732. if (_id < 0)
  3733. return _id;
  3734. if (_c == QMetaObject::InvokeMetaMethod) {
  3735. if (_id < 4)
  3736. qt_static_metacall(this, _c, _id, _a);
  3737. _id -= 4;
  3738. }
  3739. return _id;
  3740. }
  3741. static const uint qt_meta_data_PortSelector[] = {
  3742. // content:
  3743. 6, // revision
  3744. 0, // classname
  3745. 0, 0, // classinfo
  3746. 1, 14, // methods
  3747. 0, 0, // properties
  3748. 0, 0, // enums/sets
  3749. 0, 0, // constructors
  3750. 0, // flags
  3751. 0, // signalCount
  3752. // slots: signature, parameters, type, tag, flags
  3753. 19, 14, 13, 13, 0x08,
  3754. 0 // eod
  3755. };
  3756. static const char qt_meta_stringdata_PortSelector[] = {
  3757. "PortSelector\0\0port\0addDevice(QextPortInfo)\0"
  3758. };
  3759. void PortSelector::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  3760. {
  3761. if (_c == QMetaObject::InvokeMetaMethod) {
  3762. Q_ASSERT(staticMetaObject.cast(_o));
  3763. PortSelector *_t = static_cast<PortSelector *>(_o);
  3764. switch (_id) {
  3765. case 0: _t->addDevice((*reinterpret_cast< QextPortInfo(*)>(_a[1]))); break;
  3766. default: ;
  3767. }
  3768. }
  3769. }
  3770. const QMetaObjectExtraData PortSelector::staticMetaObjectExtraData = {
  3771. 0, qt_static_metacall
  3772. };
  3773. const QMetaObject PortSelector::staticMetaObject = {
  3774. { &QComboBox::staticMetaObject, qt_meta_stringdata_PortSelector,
  3775. qt_meta_data_PortSelector, &staticMetaObjectExtraData }
  3776. };
  3777. #ifdef Q_NO_DATA_RELOCATION
  3778. const QMetaObject &PortSelector::getStaticMetaObject() { return staticMetaObject; }
  3779. #endif //Q_NO_DATA_RELOCATION
  3780. const QMetaObject *PortSelector::metaObject() const
  3781. {
  3782. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  3783. }
  3784. void *PortSelector::qt_metacast(const char *_clname)
  3785. {
  3786. if (!_clname) return 0;
  3787. if (!strcmp(_clname, qt_meta_stringdata_PortSelector))
  3788. return static_cast<void*>(const_cast< PortSelector*>(this));
  3789. return QComboBox::qt_metacast(_clname);
  3790. }
  3791. int PortSelector::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  3792. {
  3793. _id = QComboBox::qt_metacall(_c, _id, _a);
  3794. if (_id < 0)
  3795. return _id;
  3796. if (_c == QMetaObject::InvokeMetaMethod) {
  3797. if (_id < 1)
  3798. qt_static_metacall(this, _c, _id, _a);
  3799. _id -= 1;
  3800. }
  3801. return _id;
  3802. }
  3803. static const uint qt_meta_data_BaudSelector[] = {
  3804. // content:
  3805. 6, // revision
  3806. 0, // classname
  3807. 0, 0, // classinfo
  3808. 0, 0, // methods
  3809. 0, 0, // properties
  3810. 1, 14, // enums/sets
  3811. 0, 0, // constructors
  3812. 0, // flags
  3813. 0, // signalCount
  3814. // enums: name, flags, count, data
  3815. 13, 0x0, 11, 18,
  3816. // enum data: key, value
  3817. 26, uint(BaudSelector::BAUD110),
  3818. 34, uint(BaudSelector::BAUD300),
  3819. 42, uint(BaudSelector::BAUD600),
  3820. 50, uint(BaudSelector::BAUD1200),
  3821. 59, uint(BaudSelector::BAUD2400),
  3822. 68, uint(BaudSelector::BAUD4800),
  3823. 77, uint(BaudSelector::BAUD9600),
  3824. 86, uint(BaudSelector::BAUD19200),
  3825. 96, uint(BaudSelector::BAUD38400),
  3826. 106, uint(BaudSelector::BAUD57600),
  3827. 116, uint(BaudSelector::BAUD115200),
  3828. 0 // eod
  3829. };
  3830. static const char qt_meta_stringdata_BaudSelector[] = {
  3831. "BaudSelector\0BaudRateType\0BAUD110\0"
  3832. "BAUD300\0BAUD600\0BAUD1200\0BAUD2400\0"
  3833. "BAUD4800\0BAUD9600\0BAUD19200\0BAUD38400\0"
  3834. "BAUD57600\0BAUD115200\0"
  3835. };
  3836. void BaudSelector::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  3837. {
  3838. Q_UNUSED(_o);
  3839. Q_UNUSED(_id);
  3840. Q_UNUSED(_c);
  3841. Q_UNUSED(_a);
  3842. }
  3843. const QMetaObjectExtraData BaudSelector::staticMetaObjectExtraData = {
  3844. 0, qt_static_metacall
  3845. };
  3846. const QMetaObject BaudSelector::staticMetaObject = {
  3847. { &QComboBox::staticMetaObject, qt_meta_stringdata_BaudSelector,
  3848. qt_meta_data_BaudSelector, &staticMetaObjectExtraData }
  3849. };
  3850. #ifdef Q_NO_DATA_RELOCATION
  3851. const QMetaObject &BaudSelector::getStaticMetaObject() { return staticMetaObject; }
  3852. #endif //Q_NO_DATA_RELOCATION
  3853. const QMetaObject *BaudSelector::metaObject() const
  3854. {
  3855. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  3856. }
  3857. void *BaudSelector::qt_metacast(const char *_clname)
  3858. {
  3859. if (!_clname) return 0;
  3860. if (!strcmp(_clname, qt_meta_stringdata_BaudSelector))
  3861. return static_cast<void*>(const_cast< BaudSelector*>(this));
  3862. return QComboBox::qt_metacast(_clname);
  3863. }
  3864. int BaudSelector::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  3865. {
  3866. _id = QComboBox::qt_metacall(_c, _id, _a);
  3867. if (_id < 0)
  3868. return _id;
  3869. return _id;
  3870. }
  3871. static const uint qt_meta_data_ParitySelector[] = {
  3872. // content:
  3873. 6, // revision
  3874. 0, // classname
  3875. 0, 0, // classinfo
  3876. 0, 0, // methods
  3877. 0, 0, // properties
  3878. 1, 14, // enums/sets
  3879. 0, 0, // constructors
  3880. 0, // flags
  3881. 0, // signalCount
  3882. // enums: name, flags, count, data
  3883. 15, 0x0, 4, 18,
  3884. // enum data: key, value
  3885. 26, uint(ParitySelector::PAR_NONE),
  3886. 35, uint(ParitySelector::PAR_ODD),
  3887. 43, uint(ParitySelector::PAR_EVEN),
  3888. 52, uint(ParitySelector::PAR_SPACE),
  3889. 0 // eod
  3890. };
  3891. static const char qt_meta_stringdata_ParitySelector[] = {
  3892. "ParitySelector\0ParityType\0PAR_NONE\0"
  3893. "PAR_ODD\0PAR_EVEN\0PAR_SPACE\0"
  3894. };
  3895. void ParitySelector::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  3896. {
  3897. Q_UNUSED(_o);
  3898. Q_UNUSED(_id);
  3899. Q_UNUSED(_c);
  3900. Q_UNUSED(_a);
  3901. }
  3902. const QMetaObjectExtraData ParitySelector::staticMetaObjectExtraData = {
  3903. 0, qt_static_metacall
  3904. };
  3905. const QMetaObject ParitySelector::staticMetaObject = {
  3906. { &QComboBox::staticMetaObject, qt_meta_stringdata_ParitySelector,
  3907. qt_meta_data_ParitySelector, &staticMetaObjectExtraData }
  3908. };
  3909. #ifdef Q_NO_DATA_RELOCATION
  3910. const QMetaObject &ParitySelector::getStaticMetaObject() { return staticMetaObject; }
  3911. #endif //Q_NO_DATA_RELOCATION
  3912. const QMetaObject *ParitySelector::metaObject() const
  3913. {
  3914. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  3915. }
  3916. void *ParitySelector::qt_metacast(const char *_clname)
  3917. {
  3918. if (!_clname) return 0;
  3919. if (!strcmp(_clname, qt_meta_stringdata_ParitySelector))
  3920. return static_cast<void*>(const_cast< ParitySelector*>(this));
  3921. return QComboBox::qt_metacast(_clname);
  3922. }
  3923. int ParitySelector::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  3924. {
  3925. _id = QComboBox::qt_metacall(_c, _id, _a);
  3926. if (_id < 0)
  3927. return _id;
  3928. return _id;
  3929. }
  3930. static const uint qt_meta_data_FlowSelector[] = {
  3931. // content:
  3932. 6, // revision
  3933. 0, // classname
  3934. 0, 0, // classinfo
  3935. 0, 0, // methods
  3936. 0, 0, // properties
  3937. 1, 14, // enums/sets
  3938. 0, 0, // constructors
  3939. 0, // flags
  3940. 0, // signalCount
  3941. // enums: name, flags, count, data
  3942. 13, 0x0, 3, 18,
  3943. // enum data: key, value
  3944. 22, uint(FlowSelector::FLOW_OFF),
  3945. 31, uint(FlowSelector::FLOW_HARDWARE),
  3946. 45, uint(FlowSelector::FLOW_XONXOFF),
  3947. 0 // eod
  3948. };
  3949. static const char qt_meta_stringdata_FlowSelector[] = {
  3950. "FlowSelector\0FlowType\0FLOW_OFF\0"
  3951. "FLOW_HARDWARE\0FLOW_XONXOFF\0"
  3952. };
  3953. void FlowSelector::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  3954. {
  3955. Q_UNUSED(_o);
  3956. Q_UNUSED(_id);
  3957. Q_UNUSED(_c);
  3958. Q_UNUSED(_a);
  3959. }
  3960. const QMetaObjectExtraData FlowSelector::staticMetaObjectExtraData = {
  3961. 0, qt_static_metacall
  3962. };
  3963. const QMetaObject FlowSelector::staticMetaObject = {
  3964. { &QComboBox::staticMetaObject, qt_meta_stringdata_FlowSelector,
  3965. qt_meta_data_FlowSelector, &staticMetaObjectExtraData }
  3966. };
  3967. #ifdef Q_NO_DATA_RELOCATION
  3968. const QMetaObject &FlowSelector::getStaticMetaObject() { return staticMetaObject; }
  3969. #endif //Q_NO_DATA_RELOCATION
  3970. const QMetaObject *FlowSelector::metaObject() const
  3971. {
  3972. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  3973. }
  3974. void *FlowSelector::qt_metacast(const char *_clname)
  3975. {
  3976. if (!_clname) return 0;
  3977. if (!strcmp(_clname, qt_meta_stringdata_FlowSelector))
  3978. return static_cast<void*>(const_cast< FlowSelector*>(this));
  3979. return QComboBox::qt_metacast(_clname);
  3980. }
  3981. int FlowSelector::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  3982. {
  3983. _id = QComboBox::qt_metacall(_c, _id, _a);
  3984. if (_id < 0)
  3985. return _id;
  3986. return _id;
  3987. }
  3988. static const uint qt_meta_data_StopSelector[] = {
  3989. // content:
  3990. 6, // revision
  3991. 0, // classname
  3992. 0, 0, // classinfo
  3993. 0, 0, // methods
  3994. 0, 0, // properties
  3995. 1, 14, // enums/sets
  3996. 0, 0, // constructors
  3997. 0, // flags
  3998. 0, // signalCount
  3999. // enums: name, flags, count, data
  4000. 13, 0x0, 2, 18,
  4001. // enum data: key, value
  4002. 26, uint(StopSelector::STOP_1),
  4003. 33, uint(StopSelector::STOP_2),
  4004. 0 // eod
  4005. };
  4006. static const char qt_meta_stringdata_StopSelector[] = {
  4007. "StopSelector\0StopBitsType\0STOP_1\0"
  4008. "STOP_2\0"
  4009. };
  4010. void StopSelector::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  4011. {
  4012. Q_UNUSED(_o);
  4013. Q_UNUSED(_id);
  4014. Q_UNUSED(_c);
  4015. Q_UNUSED(_a);
  4016. }
  4017. const QMetaObjectExtraData StopSelector::staticMetaObjectExtraData = {
  4018. 0, qt_static_metacall
  4019. };
  4020. const QMetaObject StopSelector::staticMetaObject = {
  4021. { &QComboBox::staticMetaObject, qt_meta_stringdata_StopSelector,
  4022. qt_meta_data_StopSelector, &staticMetaObjectExtraData }
  4023. };
  4024. #ifdef Q_NO_DATA_RELOCATION
  4025. const QMetaObject &StopSelector::getStaticMetaObject() { return staticMetaObject; }
  4026. #endif //Q_NO_DATA_RELOCATION
  4027. const QMetaObject *StopSelector::metaObject() const
  4028. {
  4029. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  4030. }
  4031. void *StopSelector::qt_metacast(const char *_clname)
  4032. {
  4033. if (!_clname) return 0;
  4034. if (!strcmp(_clname, qt_meta_stringdata_StopSelector))
  4035. return static_cast<void*>(const_cast< StopSelector*>(this));
  4036. return QComboBox::qt_metacast(_clname);
  4037. }
  4038. int StopSelector::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  4039. {
  4040. _id = QComboBox::qt_metacall(_c, _id, _a);
  4041. if (_id < 0)
  4042. return _id;
  4043. return _id;
  4044. }
  4045. static const uint qt_meta_data_ShortHexSpinBox[] = {
  4046. // content:
  4047. 6, // revision
  4048. 0, // classname
  4049. 0, 0, // classinfo
  4050. 0, 0, // methods
  4051. 0, 0, // properties
  4052. 0, 0, // enums/sets
  4053. 0, 0, // constructors
  4054. 0, // flags
  4055. 0, // signalCount
  4056. 0 // eod
  4057. };
  4058. static const char qt_meta_stringdata_ShortHexSpinBox[] = {
  4059. "ShortHexSpinBox\0"
  4060. };
  4061. void ShortHexSpinBox::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  4062. {
  4063. Q_UNUSED(_o);
  4064. Q_UNUSED(_id);
  4065. Q_UNUSED(_c);
  4066. Q_UNUSED(_a);
  4067. }
  4068. const QMetaObjectExtraData ShortHexSpinBox::staticMetaObjectExtraData = {
  4069. 0, qt_static_metacall
  4070. };
  4071. const QMetaObject ShortHexSpinBox::staticMetaObject = {
  4072. { &QSpinBox::staticMetaObject, qt_meta_stringdata_ShortHexSpinBox,
  4073. qt_meta_data_ShortHexSpinBox, &staticMetaObjectExtraData }
  4074. };
  4075. #ifdef Q_NO_DATA_RELOCATION
  4076. const QMetaObject &ShortHexSpinBox::getStaticMetaObject() { return staticMetaObject; }
  4077. #endif //Q_NO_DATA_RELOCATION
  4078. const QMetaObject *ShortHexSpinBox::metaObject() const
  4079. {
  4080. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  4081. }
  4082. void *ShortHexSpinBox::qt_metacast(const char *_clname)
  4083. {
  4084. if (!_clname) return 0;
  4085. if (!strcmp(_clname, qt_meta_stringdata_ShortHexSpinBox))
  4086. return static_cast<void*>(const_cast< ShortHexSpinBox*>(this));
  4087. return QSpinBox::qt_metacast(_clname);
  4088. }
  4089. int ShortHexSpinBox::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  4090. {
  4091. _id = QSpinBox::qt_metacall(_c, _id, _a);
  4092. if (_id < 0)
  4093. return _id;
  4094. return _id;
  4095. }
  4096. static const uint qt_meta_data_ModbusRtuPortConfWidget[] = {
  4097. // content:
  4098. 6, // revision
  4099. 0, // classname
  4100. 0, 0, // classinfo
  4101. 5, 14, // methods
  4102. 0, 0, // properties
  4103. 0, 0, // enums/sets
  4104. 1, 39, // constructors
  4105. 0, // flags
  4106. 0, // signalCount
  4107. // slots: signature, parameters, type, tag, flags
  4108. 33, 25, 24, 24, 0x08,
  4109. 61, 53, 24, 24, 0x08,
  4110. 95, 85, 24, 24, 0x08,
  4111. 125, 117, 24, 24, 0x08,
  4112. 164, 152, 24, 24, 0x08,
  4113. // constructors: signature, parameters, type, tag, flags
  4114. 200, 188, 24, 24, 0x0e,
  4115. 0 // eod
  4116. };
  4117. static const char qt_meta_stringdata_ModbusRtuPortConfWidget[] = {
  4118. "ModbusRtuPortConfWidget\0\0newPort\0"
  4119. "updatePort(QString)\0newRate\0"
  4120. "updateBaudRate(QString)\0newParity\0"
  4121. "updateParity(QString)\0newFlow\0"
  4122. "updateFlowControl(QString)\0newStopBits\0"
  4123. "updateStopBits(QString)\0model,index\0"
  4124. "ModbusRtuPortConfWidget(DeviceTreeModel*,QModelIndex)\0"
  4125. };
  4126. void ModbusRtuPortConfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  4127. {
  4128. if (_c == QMetaObject::CreateInstance) {
  4129. switch (_id) {
  4130. case 0: { ModbusRtuPortConfWidget *_r = new ModbusRtuPortConfWidget((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  4131. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  4132. }
  4133. } else if (_c == QMetaObject::InvokeMetaMethod) {
  4134. Q_ASSERT(staticMetaObject.cast(_o));
  4135. ModbusRtuPortConfWidget *_t = static_cast<ModbusRtuPortConfWidget *>(_o);
  4136. switch (_id) {
  4137. case 0: _t->updatePort((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  4138. case 1: _t->updateBaudRate((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  4139. case 2: _t->updateParity((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  4140. case 3: _t->updateFlowControl((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  4141. case 4: _t->updateStopBits((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  4142. default: ;
  4143. }
  4144. }
  4145. }
  4146. const QMetaObjectExtraData ModbusRtuPortConfWidget::staticMetaObjectExtraData = {
  4147. 0, qt_static_metacall
  4148. };
  4149. const QMetaObject ModbusRtuPortConfWidget::staticMetaObject = {
  4150. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_ModbusRtuPortConfWidget,
  4151. qt_meta_data_ModbusRtuPortConfWidget, &staticMetaObjectExtraData }
  4152. };
  4153. #ifdef Q_NO_DATA_RELOCATION
  4154. const QMetaObject &ModbusRtuPortConfWidget::getStaticMetaObject() { return staticMetaObject; }
  4155. #endif //Q_NO_DATA_RELOCATION
  4156. const QMetaObject *ModbusRtuPortConfWidget::metaObject() const
  4157. {
  4158. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  4159. }
  4160. void *ModbusRtuPortConfWidget::qt_metacast(const char *_clname)
  4161. {
  4162. if (!_clname) return 0;
  4163. if (!strcmp(_clname, qt_meta_stringdata_ModbusRtuPortConfWidget))
  4164. return static_cast<void*>(const_cast< ModbusRtuPortConfWidget*>(this));
  4165. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  4166. }
  4167. int ModbusRtuPortConfWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  4168. {
  4169. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  4170. if (_id < 0)
  4171. return _id;
  4172. if (_c == QMetaObject::InvokeMetaMethod) {
  4173. if (_id < 5)
  4174. qt_static_metacall(this, _c, _id, _a);
  4175. _id -= 5;
  4176. }
  4177. return _id;
  4178. }
  4179. static const uint qt_meta_data_ModbusRtuDeviceConfWidget[] = {
  4180. // content:
  4181. 6, // revision
  4182. 0, // classname
  4183. 0, 0, // classinfo
  4184. 9, 14, // methods
  4185. 0, 0, // properties
  4186. 0, 0, // enums/sets
  4187. 1, 59, // constructors
  4188. 0, // flags
  4189. 0, // signalCount
  4190. // slots: signature, parameters, type, tag, flags
  4191. 38, 27, 26, 26, 0x08,
  4192. 72, 63, 26, 26, 0x08,
  4193. 94, 63, 26, 26, 0x08,
  4194. 127, 119, 26, 26, 0x08,
  4195. 158, 147, 26, 26, 0x08,
  4196. 190, 181, 26, 26, 0x08,
  4197. 208, 181, 26, 26, 0x08,
  4198. 226, 147, 26, 26, 0x08,
  4199. 254, 181, 26, 26, 0x08,
  4200. // constructors: signature, parameters, type, tag, flags
  4201. 292, 280, 26, 26, 0x0e,
  4202. 0 // eod
  4203. };
  4204. static const char qt_meta_stringdata_ModbusRtuDeviceConfWidget[] = {
  4205. "ModbusRtuDeviceConfWidget\0\0newStation\0"
  4206. "updateStationNumber(int)\0newFixed\0"
  4207. "updateFixedUnit(bool)\0updateFixedDecimal(bool)\0"
  4208. "newUnit\0updateUnit(QString)\0newAddress\0"
  4209. "updateUnitAddress(int)\0newValue\0"
  4210. "updateValueF(int)\0updateValueC(int)\0"
  4211. "updatePrecisionAddress(int)\0"
  4212. "updatePrecisionValue(int)\0model,index\0"
  4213. "ModbusRtuDeviceConfWidget(DeviceTreeModel*,QModelIndex)\0"
  4214. };
  4215. void ModbusRtuDeviceConfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  4216. {
  4217. if (_c == QMetaObject::CreateInstance) {
  4218. switch (_id) {
  4219. case 0: { ModbusRtuDeviceConfWidget *_r = new ModbusRtuDeviceConfWidget((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  4220. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  4221. }
  4222. } else if (_c == QMetaObject::InvokeMetaMethod) {
  4223. Q_ASSERT(staticMetaObject.cast(_o));
  4224. ModbusRtuDeviceConfWidget *_t = static_cast<ModbusRtuDeviceConfWidget *>(_o);
  4225. switch (_id) {
  4226. case 0: _t->updateStationNumber((*reinterpret_cast< int(*)>(_a[1]))); break;
  4227. case 1: _t->updateFixedUnit((*reinterpret_cast< bool(*)>(_a[1]))); break;
  4228. case 2: _t->updateFixedDecimal((*reinterpret_cast< bool(*)>(_a[1]))); break;
  4229. case 3: _t->updateUnit((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  4230. case 4: _t->updateUnitAddress((*reinterpret_cast< int(*)>(_a[1]))); break;
  4231. case 5: _t->updateValueF((*reinterpret_cast< int(*)>(_a[1]))); break;
  4232. case 6: _t->updateValueC((*reinterpret_cast< int(*)>(_a[1]))); break;
  4233. case 7: _t->updatePrecisionAddress((*reinterpret_cast< int(*)>(_a[1]))); break;
  4234. case 8: _t->updatePrecisionValue((*reinterpret_cast< int(*)>(_a[1]))); break;
  4235. default: ;
  4236. }
  4237. }
  4238. }
  4239. const QMetaObjectExtraData ModbusRtuDeviceConfWidget::staticMetaObjectExtraData = {
  4240. 0, qt_static_metacall
  4241. };
  4242. const QMetaObject ModbusRtuDeviceConfWidget::staticMetaObject = {
  4243. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_ModbusRtuDeviceConfWidget,
  4244. qt_meta_data_ModbusRtuDeviceConfWidget, &staticMetaObjectExtraData }
  4245. };
  4246. #ifdef Q_NO_DATA_RELOCATION
  4247. const QMetaObject &ModbusRtuDeviceConfWidget::getStaticMetaObject() { return staticMetaObject; }
  4248. #endif //Q_NO_DATA_RELOCATION
  4249. const QMetaObject *ModbusRtuDeviceConfWidget::metaObject() const
  4250. {
  4251. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  4252. }
  4253. void *ModbusRtuDeviceConfWidget::qt_metacast(const char *_clname)
  4254. {
  4255. if (!_clname) return 0;
  4256. if (!strcmp(_clname, qt_meta_stringdata_ModbusRtuDeviceConfWidget))
  4257. return static_cast<void*>(const_cast< ModbusRtuDeviceConfWidget*>(this));
  4258. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  4259. }
  4260. int ModbusRtuDeviceConfWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  4261. {
  4262. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  4263. if (_id < 0)
  4264. return _id;
  4265. if (_c == QMetaObject::InvokeMetaMethod) {
  4266. if (_id < 9)
  4267. qt_static_metacall(this, _c, _id, _a);
  4268. _id -= 9;
  4269. }
  4270. return _id;
  4271. }
  4272. static const uint qt_meta_data_ModbusRtuDeviceTPvConfWidget[] = {
  4273. // content:
  4274. 6, // revision
  4275. 0, // classname
  4276. 0, 0, // classinfo
  4277. 1, 14, // methods
  4278. 0, 0, // properties
  4279. 0, 0, // enums/sets
  4280. 1, 19, // constructors
  4281. 0, // flags
  4282. 0, // signalCount
  4283. // slots: signature, parameters, type, tag, flags
  4284. 41, 30, 29, 29, 0x08,
  4285. // constructors: signature, parameters, type, tag, flags
  4286. 72, 60, 29, 29, 0x0e,
  4287. 0 // eod
  4288. };
  4289. static const char qt_meta_stringdata_ModbusRtuDeviceTPvConfWidget[] = {
  4290. "ModbusRtuDeviceTPvConfWidget\0\0newAddress\0"
  4291. "updateAddress(int)\0model,index\0"
  4292. "ModbusRtuDeviceTPvConfWidget(DeviceTreeModel*,QModelIndex)\0"
  4293. };
  4294. void ModbusRtuDeviceTPvConfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  4295. {
  4296. if (_c == QMetaObject::CreateInstance) {
  4297. switch (_id) {
  4298. case 0: { ModbusRtuDeviceTPvConfWidget *_r = new ModbusRtuDeviceTPvConfWidget((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  4299. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  4300. }
  4301. } else if (_c == QMetaObject::InvokeMetaMethod) {
  4302. Q_ASSERT(staticMetaObject.cast(_o));
  4303. ModbusRtuDeviceTPvConfWidget *_t = static_cast<ModbusRtuDeviceTPvConfWidget *>(_o);
  4304. switch (_id) {
  4305. case 0: _t->updateAddress((*reinterpret_cast< int(*)>(_a[1]))); break;
  4306. default: ;
  4307. }
  4308. }
  4309. }
  4310. const QMetaObjectExtraData ModbusRtuDeviceTPvConfWidget::staticMetaObjectExtraData = {
  4311. 0, qt_static_metacall
  4312. };
  4313. const QMetaObject ModbusRtuDeviceTPvConfWidget::staticMetaObject = {
  4314. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_ModbusRtuDeviceTPvConfWidget,
  4315. qt_meta_data_ModbusRtuDeviceTPvConfWidget, &staticMetaObjectExtraData }
  4316. };
  4317. #ifdef Q_NO_DATA_RELOCATION
  4318. const QMetaObject &ModbusRtuDeviceTPvConfWidget::getStaticMetaObject() { return staticMetaObject; }
  4319. #endif //Q_NO_DATA_RELOCATION
  4320. const QMetaObject *ModbusRtuDeviceTPvConfWidget::metaObject() const
  4321. {
  4322. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  4323. }
  4324. void *ModbusRtuDeviceTPvConfWidget::qt_metacast(const char *_clname)
  4325. {
  4326. if (!_clname) return 0;
  4327. if (!strcmp(_clname, qt_meta_stringdata_ModbusRtuDeviceTPvConfWidget))
  4328. return static_cast<void*>(const_cast< ModbusRtuDeviceTPvConfWidget*>(this));
  4329. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  4330. }
  4331. int ModbusRtuDeviceTPvConfWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  4332. {
  4333. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  4334. if (_id < 0)
  4335. return _id;
  4336. if (_c == QMetaObject::InvokeMetaMethod) {
  4337. if (_id < 1)
  4338. qt_static_metacall(this, _c, _id, _a);
  4339. _id -= 1;
  4340. }
  4341. return _id;
  4342. }
  4343. static const uint qt_meta_data_ModbusRtuDeviceTSvConfWidget[] = {
  4344. // content:
  4345. 6, // revision
  4346. 0, // classname
  4347. 0, 0, // classinfo
  4348. 7, 14, // methods
  4349. 0, 0, // properties
  4350. 0, 0, // enums/sets
  4351. 1, 49, // constructors
  4352. 0, // flags
  4353. 0, // signalCount
  4354. // slots: signature, parameters, type, tag, flags
  4355. 41, 30, 29, 29, 0x08,
  4356. 64, 30, 29, 29, 0x08,
  4357. 94, 88, 29, 29, 0x08,
  4358. 123, 117, 29, 29, 0x08,
  4359. 150, 144, 29, 29, 0x08,
  4360. 171, 30, 29, 29, 0x08,
  4361. 195, 30, 29, 29, 0x08,
  4362. // constructors: signature, parameters, type, tag, flags
  4363. 231, 219, 29, 29, 0x0e,
  4364. 0 // eod
  4365. };
  4366. static const char qt_meta_stringdata_ModbusRtuDeviceTSvConfWidget[] = {
  4367. "ModbusRtuDeviceTSvConfWidget\0\0newAddress\0"
  4368. "updateReadAddress(int)\0updateWriteAddress(int)\0"
  4369. "fixed\0updateFixedRange(bool)\0lower\0"
  4370. "updateLower(QString)\0upper\0"
  4371. "updateUpper(QString)\0updateLowerAddress(int)\0"
  4372. "updateUpperAddress(int)\0model,index\0"
  4373. "ModbusRtuDeviceTSvConfWidget(DeviceTreeModel*,QModelIndex)\0"
  4374. };
  4375. void ModbusRtuDeviceTSvConfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  4376. {
  4377. if (_c == QMetaObject::CreateInstance) {
  4378. switch (_id) {
  4379. case 0: { ModbusRtuDeviceTSvConfWidget *_r = new ModbusRtuDeviceTSvConfWidget((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  4380. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  4381. }
  4382. } else if (_c == QMetaObject::InvokeMetaMethod) {
  4383. Q_ASSERT(staticMetaObject.cast(_o));
  4384. ModbusRtuDeviceTSvConfWidget *_t = static_cast<ModbusRtuDeviceTSvConfWidget *>(_o);
  4385. switch (_id) {
  4386. case 0: _t->updateReadAddress((*reinterpret_cast< int(*)>(_a[1]))); break;
  4387. case 1: _t->updateWriteAddress((*reinterpret_cast< int(*)>(_a[1]))); break;
  4388. case 2: _t->updateFixedRange((*reinterpret_cast< bool(*)>(_a[1]))); break;
  4389. case 3: _t->updateLower((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  4390. case 4: _t->updateUpper((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  4391. case 5: _t->updateLowerAddress((*reinterpret_cast< int(*)>(_a[1]))); break;
  4392. case 6: _t->updateUpperAddress((*reinterpret_cast< int(*)>(_a[1]))); break;
  4393. default: ;
  4394. }
  4395. }
  4396. }
  4397. const QMetaObjectExtraData ModbusRtuDeviceTSvConfWidget::staticMetaObjectExtraData = {
  4398. 0, qt_static_metacall
  4399. };
  4400. const QMetaObject ModbusRtuDeviceTSvConfWidget::staticMetaObject = {
  4401. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_ModbusRtuDeviceTSvConfWidget,
  4402. qt_meta_data_ModbusRtuDeviceTSvConfWidget, &staticMetaObjectExtraData }
  4403. };
  4404. #ifdef Q_NO_DATA_RELOCATION
  4405. const QMetaObject &ModbusRtuDeviceTSvConfWidget::getStaticMetaObject() { return staticMetaObject; }
  4406. #endif //Q_NO_DATA_RELOCATION
  4407. const QMetaObject *ModbusRtuDeviceTSvConfWidget::metaObject() const
  4408. {
  4409. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  4410. }
  4411. void *ModbusRtuDeviceTSvConfWidget::qt_metacast(const char *_clname)
  4412. {
  4413. if (!_clname) return 0;
  4414. if (!strcmp(_clname, qt_meta_stringdata_ModbusRtuDeviceTSvConfWidget))
  4415. return static_cast<void*>(const_cast< ModbusRtuDeviceTSvConfWidget*>(this));
  4416. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  4417. }
  4418. int ModbusRtuDeviceTSvConfWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  4419. {
  4420. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  4421. if (_id < 0)
  4422. return _id;
  4423. if (_c == QMetaObject::InvokeMetaMethod) {
  4424. if (_id < 7)
  4425. qt_static_metacall(this, _c, _id, _a);
  4426. _id -= 7;
  4427. }
  4428. return _id;
  4429. }
  4430. static const uint qt_meta_data_AnnotationButtonConfWidget[] = {
  4431. // content:
  4432. 6, // revision
  4433. 0, // classname
  4434. 0, 0, // classinfo
  4435. 2, 14, // methods
  4436. 0, 0, // properties
  4437. 0, 0, // enums/sets
  4438. 1, 24, // constructors
  4439. 0, // flags
  4440. 0, // signalCount
  4441. // slots: signature, parameters, type, tag, flags
  4442. 33, 28, 27, 27, 0x08,
  4443. 59, 28, 27, 27, 0x08,
  4444. // constructors: signature, parameters, type, tag, flags
  4445. 101, 89, 27, 27, 0x0e,
  4446. 0 // eod
  4447. };
  4448. static const char qt_meta_stringdata_AnnotationButtonConfWidget[] = {
  4449. "AnnotationButtonConfWidget\0\0text\0"
  4450. "updateButtonText(QString)\0"
  4451. "updateAnnotationText(QString)\0model,index\0"
  4452. "AnnotationButtonConfWidget(DeviceTreeModel*,QModelIndex)\0"
  4453. };
  4454. void AnnotationButtonConfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  4455. {
  4456. if (_c == QMetaObject::CreateInstance) {
  4457. switch (_id) {
  4458. case 0: { AnnotationButtonConfWidget *_r = new AnnotationButtonConfWidget((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  4459. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  4460. }
  4461. } else if (_c == QMetaObject::InvokeMetaMethod) {
  4462. Q_ASSERT(staticMetaObject.cast(_o));
  4463. AnnotationButtonConfWidget *_t = static_cast<AnnotationButtonConfWidget *>(_o);
  4464. switch (_id) {
  4465. case 0: _t->updateButtonText((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  4466. case 1: _t->updateAnnotationText((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  4467. default: ;
  4468. }
  4469. }
  4470. }
  4471. const QMetaObjectExtraData AnnotationButtonConfWidget::staticMetaObjectExtraData = {
  4472. 0, qt_static_metacall
  4473. };
  4474. const QMetaObject AnnotationButtonConfWidget::staticMetaObject = {
  4475. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_AnnotationButtonConfWidget,
  4476. qt_meta_data_AnnotationButtonConfWidget, &staticMetaObjectExtraData }
  4477. };
  4478. #ifdef Q_NO_DATA_RELOCATION
  4479. const QMetaObject &AnnotationButtonConfWidget::getStaticMetaObject() { return staticMetaObject; }
  4480. #endif //Q_NO_DATA_RELOCATION
  4481. const QMetaObject *AnnotationButtonConfWidget::metaObject() const
  4482. {
  4483. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  4484. }
  4485. void *AnnotationButtonConfWidget::qt_metacast(const char *_clname)
  4486. {
  4487. if (!_clname) return 0;
  4488. if (!strcmp(_clname, qt_meta_stringdata_AnnotationButtonConfWidget))
  4489. return static_cast<void*>(const_cast< AnnotationButtonConfWidget*>(this));
  4490. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  4491. }
  4492. int AnnotationButtonConfWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  4493. {
  4494. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  4495. if (_id < 0)
  4496. return _id;
  4497. if (_c == QMetaObject::InvokeMetaMethod) {
  4498. if (_id < 2)
  4499. qt_static_metacall(this, _c, _id, _a);
  4500. _id -= 2;
  4501. }
  4502. return _id;
  4503. }
  4504. static const uint qt_meta_data_ReconfigurableAnnotationButtonConfWidget[] = {
  4505. // content:
  4506. 6, // revision
  4507. 0, // classname
  4508. 0, 0, // classinfo
  4509. 2, 14, // methods
  4510. 0, 0, // properties
  4511. 0, 0, // enums/sets
  4512. 1, 24, // constructors
  4513. 0, // flags
  4514. 0, // signalCount
  4515. // slots: signature, parameters, type, tag, flags
  4516. 47, 42, 41, 41, 0x08,
  4517. 73, 42, 41, 41, 0x08,
  4518. // constructors: signature, parameters, type, tag, flags
  4519. 115, 103, 41, 41, 0x0e,
  4520. 0 // eod
  4521. };
  4522. static const char qt_meta_stringdata_ReconfigurableAnnotationButtonConfWidget[] = {
  4523. "ReconfigurableAnnotationButtonConfWidget\0"
  4524. "\0text\0updateButtonText(QString)\0"
  4525. "updateAnnotationText(QString)\0model,index\0"
  4526. "ReconfigurableAnnotationButtonConfWidget(DeviceTreeModel*,QModelIndex)\0"
  4527. };
  4528. void ReconfigurableAnnotationButtonConfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  4529. {
  4530. if (_c == QMetaObject::CreateInstance) {
  4531. switch (_id) {
  4532. case 0: { ReconfigurableAnnotationButtonConfWidget *_r = new ReconfigurableAnnotationButtonConfWidget((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  4533. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  4534. }
  4535. } else if (_c == QMetaObject::InvokeMetaMethod) {
  4536. Q_ASSERT(staticMetaObject.cast(_o));
  4537. ReconfigurableAnnotationButtonConfWidget *_t = static_cast<ReconfigurableAnnotationButtonConfWidget *>(_o);
  4538. switch (_id) {
  4539. case 0: _t->updateButtonText((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  4540. case 1: _t->updateAnnotationText((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  4541. default: ;
  4542. }
  4543. }
  4544. }
  4545. const QMetaObjectExtraData ReconfigurableAnnotationButtonConfWidget::staticMetaObjectExtraData = {
  4546. 0, qt_static_metacall
  4547. };
  4548. const QMetaObject ReconfigurableAnnotationButtonConfWidget::staticMetaObject = {
  4549. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_ReconfigurableAnnotationButtonConfWidget,
  4550. qt_meta_data_ReconfigurableAnnotationButtonConfWidget, &staticMetaObjectExtraData }
  4551. };
  4552. #ifdef Q_NO_DATA_RELOCATION
  4553. const QMetaObject &ReconfigurableAnnotationButtonConfWidget::getStaticMetaObject() { return staticMetaObject; }
  4554. #endif //Q_NO_DATA_RELOCATION
  4555. const QMetaObject *ReconfigurableAnnotationButtonConfWidget::metaObject() const
  4556. {
  4557. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  4558. }
  4559. void *ReconfigurableAnnotationButtonConfWidget::qt_metacast(const char *_clname)
  4560. {
  4561. if (!_clname) return 0;
  4562. if (!strcmp(_clname, qt_meta_stringdata_ReconfigurableAnnotationButtonConfWidget))
  4563. return static_cast<void*>(const_cast< ReconfigurableAnnotationButtonConfWidget*>(this));
  4564. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  4565. }
  4566. int ReconfigurableAnnotationButtonConfWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  4567. {
  4568. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  4569. if (_id < 0)
  4570. return _id;
  4571. if (_c == QMetaObject::InvokeMetaMethod) {
  4572. if (_id < 2)
  4573. qt_static_metacall(this, _c, _id, _a);
  4574. _id -= 2;
  4575. }
  4576. return _id;
  4577. }
  4578. static const uint qt_meta_data_NoteSpinConfWidget[] = {
  4579. // content:
  4580. 6, // revision
  4581. 0, // classname
  4582. 0, 0, // classinfo
  4583. 6, 14, // methods
  4584. 0, 0, // properties
  4585. 0, 0, // enums/sets
  4586. 1, 44, // constructors
  4587. 0, // flags
  4588. 0, // signalCount
  4589. // slots: signature, parameters, type, tag, flags
  4590. 25, 20, 19, 19, 0x08,
  4591. 54, 46, 19, 19, 0x08,
  4592. 85, 77, 19, 19, 0x08,
  4593. 118, 108, 19, 19, 0x08,
  4594. 139, 20, 19, 19, 0x08,
  4595. 162, 20, 19, 19, 0x08,
  4596. // constructors: signature, parameters, type, tag, flags
  4597. 198, 186, 19, 19, 0x0e,
  4598. 0 // eod
  4599. };
  4600. static const char qt_meta_stringdata_NoteSpinConfWidget[] = {
  4601. "NoteSpinConfWidget\0\0text\0updateLabel(QString)\0"
  4602. "minimum\0updateMinimum(QString)\0maximum\0"
  4603. "updateMaximum(QString)\0precision\0"
  4604. "updatePrecision(int)\0updatePretext(QString)\0"
  4605. "updatePosttext(QString)\0model,index\0"
  4606. "NoteSpinConfWidget(DeviceTreeModel*,QModelIndex)\0"
  4607. };
  4608. void NoteSpinConfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  4609. {
  4610. if (_c == QMetaObject::CreateInstance) {
  4611. switch (_id) {
  4612. case 0: { NoteSpinConfWidget *_r = new NoteSpinConfWidget((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  4613. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  4614. }
  4615. } else if (_c == QMetaObject::InvokeMetaMethod) {
  4616. Q_ASSERT(staticMetaObject.cast(_o));
  4617. NoteSpinConfWidget *_t = static_cast<NoteSpinConfWidget *>(_o);
  4618. switch (_id) {
  4619. case 0: _t->updateLabel((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  4620. case 1: _t->updateMinimum((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  4621. case 2: _t->updateMaximum((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  4622. case 3: _t->updatePrecision((*reinterpret_cast< int(*)>(_a[1]))); break;
  4623. case 4: _t->updatePretext((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  4624. case 5: _t->updatePosttext((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  4625. default: ;
  4626. }
  4627. }
  4628. }
  4629. const QMetaObjectExtraData NoteSpinConfWidget::staticMetaObjectExtraData = {
  4630. 0, qt_static_metacall
  4631. };
  4632. const QMetaObject NoteSpinConfWidget::staticMetaObject = {
  4633. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_NoteSpinConfWidget,
  4634. qt_meta_data_NoteSpinConfWidget, &staticMetaObjectExtraData }
  4635. };
  4636. #ifdef Q_NO_DATA_RELOCATION
  4637. const QMetaObject &NoteSpinConfWidget::getStaticMetaObject() { return staticMetaObject; }
  4638. #endif //Q_NO_DATA_RELOCATION
  4639. const QMetaObject *NoteSpinConfWidget::metaObject() const
  4640. {
  4641. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  4642. }
  4643. void *NoteSpinConfWidget::qt_metacast(const char *_clname)
  4644. {
  4645. if (!_clname) return 0;
  4646. if (!strcmp(_clname, qt_meta_stringdata_NoteSpinConfWidget))
  4647. return static_cast<void*>(const_cast< NoteSpinConfWidget*>(this));
  4648. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  4649. }
  4650. int NoteSpinConfWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  4651. {
  4652. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  4653. if (_id < 0)
  4654. return _id;
  4655. if (_c == QMetaObject::InvokeMetaMethod) {
  4656. if (_id < 6)
  4657. qt_static_metacall(this, _c, _id, _a);
  4658. _id -= 6;
  4659. }
  4660. return _id;
  4661. }
  4662. static const uint qt_meta_data_FreeAnnotationConfWidget[] = {
  4663. // content:
  4664. 6, // revision
  4665. 0, // classname
  4666. 0, 0, // classinfo
  4667. 1, 14, // methods
  4668. 0, 0, // properties
  4669. 0, 0, // enums/sets
  4670. 1, 19, // constructors
  4671. 0, // flags
  4672. 0, // signalCount
  4673. // slots: signature, parameters, type, tag, flags
  4674. 31, 26, 25, 25, 0x08,
  4675. // constructors: signature, parameters, type, tag, flags
  4676. 64, 52, 25, 25, 0x0e,
  4677. 0 // eod
  4678. };
  4679. static const char qt_meta_stringdata_FreeAnnotationConfWidget[] = {
  4680. "FreeAnnotationConfWidget\0\0text\0"
  4681. "updateLabel(QString)\0model,index\0"
  4682. "FreeAnnotationConfWidget(DeviceTreeModel*,QModelIndex)\0"
  4683. };
  4684. void FreeAnnotationConfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  4685. {
  4686. if (_c == QMetaObject::CreateInstance) {
  4687. switch (_id) {
  4688. case 0: { FreeAnnotationConfWidget *_r = new FreeAnnotationConfWidget((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  4689. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  4690. }
  4691. } else if (_c == QMetaObject::InvokeMetaMethod) {
  4692. Q_ASSERT(staticMetaObject.cast(_o));
  4693. FreeAnnotationConfWidget *_t = static_cast<FreeAnnotationConfWidget *>(_o);
  4694. switch (_id) {
  4695. case 0: _t->updateLabel((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  4696. default: ;
  4697. }
  4698. }
  4699. }
  4700. const QMetaObjectExtraData FreeAnnotationConfWidget::staticMetaObjectExtraData = {
  4701. 0, qt_static_metacall
  4702. };
  4703. const QMetaObject FreeAnnotationConfWidget::staticMetaObject = {
  4704. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_FreeAnnotationConfWidget,
  4705. qt_meta_data_FreeAnnotationConfWidget, &staticMetaObjectExtraData }
  4706. };
  4707. #ifdef Q_NO_DATA_RELOCATION
  4708. const QMetaObject &FreeAnnotationConfWidget::getStaticMetaObject() { return staticMetaObject; }
  4709. #endif //Q_NO_DATA_RELOCATION
  4710. const QMetaObject *FreeAnnotationConfWidget::metaObject() const
  4711. {
  4712. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  4713. }
  4714. void *FreeAnnotationConfWidget::qt_metacast(const char *_clname)
  4715. {
  4716. if (!_clname) return 0;
  4717. if (!strcmp(_clname, qt_meta_stringdata_FreeAnnotationConfWidget))
  4718. return static_cast<void*>(const_cast< FreeAnnotationConfWidget*>(this));
  4719. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  4720. }
  4721. int FreeAnnotationConfWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  4722. {
  4723. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  4724. if (_id < 0)
  4725. return _id;
  4726. if (_c == QMetaObject::InvokeMetaMethod) {
  4727. if (_id < 1)
  4728. qt_static_metacall(this, _c, _id, _a);
  4729. _id -= 1;
  4730. }
  4731. return _id;
  4732. }
  4733. static const uint qt_meta_data_SettingsWindow[] = {
  4734. // content:
  4735. 6, // revision
  4736. 0, // classname
  4737. 0, 0, // classinfo
  4738. 0, 0, // methods
  4739. 0, 0, // properties
  4740. 0, 0, // enums/sets
  4741. 0, 0, // constructors
  4742. 0, // flags
  4743. 0, // signalCount
  4744. 0 // eod
  4745. };
  4746. static const char qt_meta_stringdata_SettingsWindow[] = {
  4747. "SettingsWindow\0"
  4748. };
  4749. void SettingsWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  4750. {
  4751. Q_UNUSED(_o);
  4752. Q_UNUSED(_id);
  4753. Q_UNUSED(_c);
  4754. Q_UNUSED(_a);
  4755. }
  4756. const QMetaObjectExtraData SettingsWindow::staticMetaObjectExtraData = {
  4757. 0, qt_static_metacall
  4758. };
  4759. const QMetaObject SettingsWindow::staticMetaObject = {
  4760. { &QMainWindow::staticMetaObject, qt_meta_stringdata_SettingsWindow,
  4761. qt_meta_data_SettingsWindow, &staticMetaObjectExtraData }
  4762. };
  4763. #ifdef Q_NO_DATA_RELOCATION
  4764. const QMetaObject &SettingsWindow::getStaticMetaObject() { return staticMetaObject; }
  4765. #endif //Q_NO_DATA_RELOCATION
  4766. const QMetaObject *SettingsWindow::metaObject() const
  4767. {
  4768. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  4769. }
  4770. void *SettingsWindow::qt_metacast(const char *_clname)
  4771. {
  4772. if (!_clname) return 0;
  4773. if (!strcmp(_clname, qt_meta_stringdata_SettingsWindow))
  4774. return static_cast<void*>(const_cast< SettingsWindow*>(this));
  4775. return QMainWindow::qt_metacast(_clname);
  4776. }
  4777. int SettingsWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  4778. {
  4779. _id = QMainWindow::qt_metacall(_c, _id, _a);
  4780. if (_id < 0)
  4781. return _id;
  4782. return _id;
  4783. }
  4784. static const uint qt_meta_data_GraphSettingsWidget[] = {
  4785. // content:
  4786. 6, // revision
  4787. 0, // classname
  4788. 0, 0, // classinfo
  4789. 0, 0, // methods
  4790. 0, 0, // properties
  4791. 0, 0, // enums/sets
  4792. 0, 0, // constructors
  4793. 0, // flags
  4794. 0, // signalCount
  4795. 0 // eod
  4796. };
  4797. static const char qt_meta_stringdata_GraphSettingsWidget[] = {
  4798. "GraphSettingsWidget\0"
  4799. };
  4800. void GraphSettingsWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  4801. {
  4802. Q_UNUSED(_o);
  4803. Q_UNUSED(_id);
  4804. Q_UNUSED(_c);
  4805. Q_UNUSED(_a);
  4806. }
  4807. const QMetaObjectExtraData GraphSettingsWidget::staticMetaObjectExtraData = {
  4808. 0, qt_static_metacall
  4809. };
  4810. const QMetaObject GraphSettingsWidget::staticMetaObject = {
  4811. { &QWidget::staticMetaObject, qt_meta_stringdata_GraphSettingsWidget,
  4812. qt_meta_data_GraphSettingsWidget, &staticMetaObjectExtraData }
  4813. };
  4814. #ifdef Q_NO_DATA_RELOCATION
  4815. const QMetaObject &GraphSettingsWidget::getStaticMetaObject() { return staticMetaObject; }
  4816. #endif //Q_NO_DATA_RELOCATION
  4817. const QMetaObject *GraphSettingsWidget::metaObject() const
  4818. {
  4819. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  4820. }
  4821. void *GraphSettingsWidget::qt_metacast(const char *_clname)
  4822. {
  4823. if (!_clname) return 0;
  4824. if (!strcmp(_clname, qt_meta_stringdata_GraphSettingsWidget))
  4825. return static_cast<void*>(const_cast< GraphSettingsWidget*>(this));
  4826. return QWidget::qt_metacast(_clname);
  4827. }
  4828. int GraphSettingsWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  4829. {
  4830. _id = QWidget::qt_metacall(_c, _id, _a);
  4831. if (_id < 0)
  4832. return _id;
  4833. return _id;
  4834. }
  4835. static const uint qt_meta_data_GraphSettingsRelativeTab[] = {
  4836. // content:
  4837. 6, // revision
  4838. 0, // classname
  4839. 0, 0, // classinfo
  4840. 5, 14, // methods
  4841. 0, 0, // properties
  4842. 0, 0, // enums/sets
  4843. 0, 0, // constructors
  4844. 0, // flags
  4845. 0, // signalCount
  4846. // slots: signature, parameters, type, tag, flags
  4847. 33, 26, 25, 25, 0x0a,
  4848. 65, 59, 25, 25, 0x0a,
  4849. 102, 93, 25, 25, 0x0a,
  4850. 134, 129, 25, 25, 0x0a,
  4851. 150, 25, 25, 25, 0x0a,
  4852. 0 // eod
  4853. };
  4854. static const char qt_meta_stringdata_GraphSettingsRelativeTab[] = {
  4855. "GraphSettingsRelativeTab\0\0enable\0"
  4856. "updateEnableSetting(bool)\0color\0"
  4857. "updateColorSetting(QString)\0gridList\0"
  4858. "updateAxisSetting(QString)\0unit\0"
  4859. "updateUnit(int)\0showColorPicker()\0"
  4860. };
  4861. void GraphSettingsRelativeTab::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  4862. {
  4863. if (_c == QMetaObject::InvokeMetaMethod) {
  4864. Q_ASSERT(staticMetaObject.cast(_o));
  4865. GraphSettingsRelativeTab *_t = static_cast<GraphSettingsRelativeTab *>(_o);
  4866. switch (_id) {
  4867. case 0: _t->updateEnableSetting((*reinterpret_cast< bool(*)>(_a[1]))); break;
  4868. case 1: _t->updateColorSetting((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  4869. case 2: _t->updateAxisSetting((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  4870. case 3: _t->updateUnit((*reinterpret_cast< int(*)>(_a[1]))); break;
  4871. case 4: _t->showColorPicker(); break;
  4872. default: ;
  4873. }
  4874. }
  4875. }
  4876. const QMetaObjectExtraData GraphSettingsRelativeTab::staticMetaObjectExtraData = {
  4877. 0, qt_static_metacall
  4878. };
  4879. const QMetaObject GraphSettingsRelativeTab::staticMetaObject = {
  4880. { &QWidget::staticMetaObject, qt_meta_stringdata_GraphSettingsRelativeTab,
  4881. qt_meta_data_GraphSettingsRelativeTab, &staticMetaObjectExtraData }
  4882. };
  4883. #ifdef Q_NO_DATA_RELOCATION
  4884. const QMetaObject &GraphSettingsRelativeTab::getStaticMetaObject() { return staticMetaObject; }
  4885. #endif //Q_NO_DATA_RELOCATION
  4886. const QMetaObject *GraphSettingsRelativeTab::metaObject() const
  4887. {
  4888. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  4889. }
  4890. void *GraphSettingsRelativeTab::qt_metacast(const char *_clname)
  4891. {
  4892. if (!_clname) return 0;
  4893. if (!strcmp(_clname, qt_meta_stringdata_GraphSettingsRelativeTab))
  4894. return static_cast<void*>(const_cast< GraphSettingsRelativeTab*>(this));
  4895. return QWidget::qt_metacast(_clname);
  4896. }
  4897. int GraphSettingsRelativeTab::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  4898. {
  4899. _id = QWidget::qt_metacall(_c, _id, _a);
  4900. if (_id < 0)
  4901. return _id;
  4902. if (_c == QMetaObject::InvokeMetaMethod) {
  4903. if (_id < 5)
  4904. qt_static_metacall(this, _c, _id, _a);
  4905. _id -= 5;
  4906. }
  4907. return _id;
  4908. }
  4909. static const uint qt_meta_data_AdvancedSettingsWidget[] = {
  4910. // content:
  4911. 6, // revision
  4912. 0, // classname
  4913. 0, 0, // classinfo
  4914. 1, 14, // methods
  4915. 0, 0, // properties
  4916. 0, 0, // enums/sets
  4917. 0, 0, // constructors
  4918. 0, // flags
  4919. 0, // signalCount
  4920. // slots: signature, parameters, type, tag, flags
  4921. 32, 24, 23, 23, 0x0a,
  4922. 0 // eod
  4923. };
  4924. static const char qt_meta_stringdata_AdvancedSettingsWidget[] = {
  4925. "AdvancedSettingsWidget\0\0enabled\0"
  4926. "enableDiagnosticLogging(bool)\0"
  4927. };
  4928. void AdvancedSettingsWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  4929. {
  4930. if (_c == QMetaObject::InvokeMetaMethod) {
  4931. Q_ASSERT(staticMetaObject.cast(_o));
  4932. AdvancedSettingsWidget *_t = static_cast<AdvancedSettingsWidget *>(_o);
  4933. switch (_id) {
  4934. case 0: _t->enableDiagnosticLogging((*reinterpret_cast< bool(*)>(_a[1]))); break;
  4935. default: ;
  4936. }
  4937. }
  4938. }
  4939. const QMetaObjectExtraData AdvancedSettingsWidget::staticMetaObjectExtraData = {
  4940. 0, qt_static_metacall
  4941. };
  4942. const QMetaObject AdvancedSettingsWidget::staticMetaObject = {
  4943. { &QWidget::staticMetaObject, qt_meta_stringdata_AdvancedSettingsWidget,
  4944. qt_meta_data_AdvancedSettingsWidget, &staticMetaObjectExtraData }
  4945. };
  4946. #ifdef Q_NO_DATA_RELOCATION
  4947. const QMetaObject &AdvancedSettingsWidget::getStaticMetaObject() { return staticMetaObject; }
  4948. #endif //Q_NO_DATA_RELOCATION
  4949. const QMetaObject *AdvancedSettingsWidget::metaObject() const
  4950. {
  4951. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  4952. }
  4953. void *AdvancedSettingsWidget::qt_metacast(const char *_clname)
  4954. {
  4955. if (!_clname) return 0;
  4956. if (!strcmp(_clname, qt_meta_stringdata_AdvancedSettingsWidget))
  4957. return static_cast<void*>(const_cast< AdvancedSettingsWidget*>(this));
  4958. return QWidget::qt_metacast(_clname);
  4959. }
  4960. int AdvancedSettingsWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  4961. {
  4962. _id = QWidget::qt_metacall(_c, _id, _a);
  4963. if (_id < 0)
  4964. return _id;
  4965. if (_c == QMetaObject::InvokeMetaMethod) {
  4966. if (_id < 1)
  4967. qt_static_metacall(this, _c, _id, _a);
  4968. _id -= 1;
  4969. }
  4970. return _id;
  4971. }
  4972. static const uint qt_meta_data_ModbusRTUDevice[] = {
  4973. // content:
  4974. 6, // revision
  4975. 0, // classname
  4976. 0, 0, // classinfo
  4977. 18, 14, // methods
  4978. 0, 0, // properties
  4979. 0, 0, // enums/sets
  4980. 0, 0, // constructors
  4981. 0, // flags
  4982. 4, // signalCount
  4983. // signals: signature, parameters, type, tag, flags
  4984. 17, 16, 16, 16, 0x05,
  4985. 40, 16, 16, 16, 0x05,
  4986. 63, 16, 16, 16, 0x05,
  4987. 85, 16, 16, 16, 0x05,
  4988. // slots: signature, parameters, type, tag, flags
  4989. 101, 98, 16, 16, 0x0a,
  4990. 118, 16, 16, 16, 0x08,
  4991. 134, 16, 16, 16, 0x08,
  4992. 161, 152, 16, 16, 0x08,
  4993. 189, 152, 16, 16, 0x08,
  4994. 214, 152, 16, 16, 0x08,
  4995. 238, 152, 16, 16, 0x08,
  4996. 262, 16, 16, 16, 0x08,
  4997. 283, 152, 16, 16, 0x08,
  4998. 305, 152, 16, 16, 0x08,
  4999. 324, 16, 16, 16, 0x08,
  5000. // methods: signature, parameters, type, tag, flags
  5001. 341, 16, 334, 16, 0x02,
  5002. 351, 16, 334, 16, 0x02,
  5003. 365, 16, 361, 16, 0x02,
  5004. 0 // eod
  5005. };
  5006. static const char qt_meta_stringdata_ModbusRTUDevice[] = {
  5007. "ModbusRTUDevice\0\0SVLowerChanged(double)\0"
  5008. "SVUpperChanged(double)\0SVDecimalChanged(int)\0"
  5009. "queueEmpty()\0sv\0outputSV(double)\0"
  5010. "dataAvailable()\0sendNextMessage()\0"
  5011. "response\0decimalResponse(QByteArray)\0"
  5012. "unitResponse(QByteArray)\0"
  5013. "svlResponse(QByteArray)\0svuResponse(QByteArray)\0"
  5014. "requestMeasurement()\0mResponse(QByteArray)\0"
  5015. "ignore(QByteArray)\0timeout()\0double\0"
  5016. "SVLower()\0SVUpper()\0int\0decimals()\0"
  5017. };
  5018. void ModbusRTUDevice::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  5019. {
  5020. if (_c == QMetaObject::InvokeMetaMethod) {
  5021. Q_ASSERT(staticMetaObject.cast(_o));
  5022. ModbusRTUDevice *_t = static_cast<ModbusRTUDevice *>(_o);
  5023. switch (_id) {
  5024. case 0: _t->SVLowerChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
  5025. case 1: _t->SVUpperChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
  5026. case 2: _t->SVDecimalChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
  5027. case 3: _t->queueEmpty(); break;
  5028. case 4: _t->outputSV((*reinterpret_cast< double(*)>(_a[1]))); break;
  5029. case 5: _t->dataAvailable(); break;
  5030. case 6: _t->sendNextMessage(); break;
  5031. case 7: _t->decimalResponse((*reinterpret_cast< QByteArray(*)>(_a[1]))); break;
  5032. case 8: _t->unitResponse((*reinterpret_cast< QByteArray(*)>(_a[1]))); break;
  5033. case 9: _t->svlResponse((*reinterpret_cast< QByteArray(*)>(_a[1]))); break;
  5034. case 10: _t->svuResponse((*reinterpret_cast< QByteArray(*)>(_a[1]))); break;
  5035. case 11: _t->requestMeasurement(); break;
  5036. case 12: _t->mResponse((*reinterpret_cast< QByteArray(*)>(_a[1]))); break;
  5037. case 13: _t->ignore((*reinterpret_cast< QByteArray(*)>(_a[1]))); break;
  5038. case 14: _t->timeout(); break;
  5039. case 15: { double _r = _t->SVLower();
  5040. if (_a[0]) *reinterpret_cast< double*>(_a[0]) = _r; } break;
  5041. case 16: { double _r = _t->SVUpper();
  5042. if (_a[0]) *reinterpret_cast< double*>(_a[0]) = _r; } break;
  5043. case 17: { int _r = _t->decimals();
  5044. if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; } break;
  5045. default: ;
  5046. }
  5047. }
  5048. }
  5049. const QMetaObjectExtraData ModbusRTUDevice::staticMetaObjectExtraData = {
  5050. 0, qt_static_metacall
  5051. };
  5052. const QMetaObject ModbusRTUDevice::staticMetaObject = {
  5053. { &QObject::staticMetaObject, qt_meta_stringdata_ModbusRTUDevice,
  5054. qt_meta_data_ModbusRTUDevice, &staticMetaObjectExtraData }
  5055. };
  5056. #ifdef Q_NO_DATA_RELOCATION
  5057. const QMetaObject &ModbusRTUDevice::getStaticMetaObject() { return staticMetaObject; }
  5058. #endif //Q_NO_DATA_RELOCATION
  5059. const QMetaObject *ModbusRTUDevice::metaObject() const
  5060. {
  5061. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  5062. }
  5063. void *ModbusRTUDevice::qt_metacast(const char *_clname)
  5064. {
  5065. if (!_clname) return 0;
  5066. if (!strcmp(_clname, qt_meta_stringdata_ModbusRTUDevice))
  5067. return static_cast<void*>(const_cast< ModbusRTUDevice*>(this));
  5068. return QObject::qt_metacast(_clname);
  5069. }
  5070. int ModbusRTUDevice::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  5071. {
  5072. _id = QObject::qt_metacall(_c, _id, _a);
  5073. if (_id < 0)
  5074. return _id;
  5075. if (_c == QMetaObject::InvokeMetaMethod) {
  5076. if (_id < 18)
  5077. qt_static_metacall(this, _c, _id, _a);
  5078. _id -= 18;
  5079. }
  5080. return _id;
  5081. }
  5082. // SIGNAL 0
  5083. void ModbusRTUDevice::SVLowerChanged(double _t1)
  5084. {
  5085. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
  5086. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  5087. }
  5088. // SIGNAL 1
  5089. void ModbusRTUDevice::SVUpperChanged(double _t1)
  5090. {
  5091. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
  5092. QMetaObject::activate(this, &staticMetaObject, 1, _a);
  5093. }
  5094. // SIGNAL 2
  5095. void ModbusRTUDevice::SVDecimalChanged(int _t1)
  5096. {
  5097. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
  5098. QMetaObject::activate(this, &staticMetaObject, 2, _a);
  5099. }
  5100. // SIGNAL 3
  5101. void ModbusRTUDevice::queueEmpty()
  5102. {
  5103. QMetaObject::activate(this, &staticMetaObject, 3, 0);
  5104. }
  5105. static const uint qt_meta_data_ModbusConfigurator[] = {
  5106. // content:
  5107. 6, // revision
  5108. 0, // classname
  5109. 0, 0, // classinfo
  5110. 28, 14, // methods
  5111. 0, 0, // properties
  5112. 0, 0, // enums/sets
  5113. 1, 154, // constructors
  5114. 0, // flags
  5115. 0, // signalCount
  5116. // slots: signature, parameters, type, tag, flags
  5117. 28, 20, 19, 19, 0x08,
  5118. 56, 48, 19, 19, 0x08,
  5119. 90, 80, 19, 19, 0x08,
  5120. 120, 112, 19, 19, 0x08,
  5121. 159, 147, 19, 19, 0x08,
  5122. 191, 183, 19, 19, 0x08,
  5123. 216, 210, 19, 19, 0x08,
  5124. 249, 241, 19, 19, 0x08,
  5125. 284, 275, 19, 19, 0x08,
  5126. 311, 210, 19, 19, 0x08,
  5127. 333, 241, 19, 19, 0x08,
  5128. 362, 356, 19, 19, 0x08,
  5129. 383, 356, 19, 19, 0x08,
  5130. 412, 404, 19, 19, 0x08,
  5131. 432, 241, 19, 19, 0x08,
  5132. 461, 453, 19, 19, 0x08,
  5133. 483, 241, 19, 19, 0x08,
  5134. 514, 508, 19, 19, 0x08,
  5135. 538, 241, 19, 19, 0x08,
  5136. 564, 241, 19, 19, 0x08,
  5137. 590, 356, 19, 19, 0x08,
  5138. 612, 356, 19, 19, 0x08,
  5139. 645, 634, 19, 19, 0x08,
  5140. 668, 241, 19, 19, 0x08,
  5141. 699, 694, 19, 19, 0x08,
  5142. 727, 694, 19, 19, 0x08,
  5143. 762, 755, 19, 19, 0x08,
  5144. 783, 755, 19, 19, 0x08,
  5145. // constructors: signature, parameters, type, tag, flags
  5146. 816, 804, 19, 19, 0x0e,
  5147. 0 // eod
  5148. };
  5149. static const char qt_meta_stringdata_ModbusConfigurator[] = {
  5150. "ModbusConfigurator\0\0newPort\0"
  5151. "updatePort(QString)\0newRate\0"
  5152. "updateBaudRate(QString)\0newParity\0"
  5153. "updateParity(QString)\0newFlow\0"
  5154. "updateFlowControl(QString)\0newStopBits\0"
  5155. "updateStopBits(QString)\0station\0"
  5156. "updateStation(int)\0fixed\0"
  5157. "updateFixedDecimal(bool)\0address\0"
  5158. "updateDecimalAddress(int)\0position\0"
  5159. "updateDecimalPosition(int)\0"
  5160. "updateFixedUnit(bool)\0updateUnitAddress(int)\0"
  5161. "value\0updateValueForF(int)\0"
  5162. "updateValueForC(int)\0newUnit\0"
  5163. "updateUnit(QString)\0updatePVAddress(int)\0"
  5164. "enabled\0updateSVEnabled(bool)\0"
  5165. "updateSVReadAddress(int)\0query\0"
  5166. "updateDeviceLimit(bool)\0"
  5167. "updateSVLowerAddress(int)\0"
  5168. "updateSVUpperAddress(int)\0"
  5169. "updateSVLower(double)\0updateSVUpper(double)\0"
  5170. "canWriteSV\0updateSVWritable(bool)\0"
  5171. "updateSVWriteAddress(int)\0name\0"
  5172. "updatePVColumnName(QString)\0"
  5173. "updateSVColumnName(QString)\0hidden\0"
  5174. "updatePVHidden(bool)\0updateSVHidden(bool)\0"
  5175. "model,index\0"
  5176. "ModbusConfigurator(DeviceTreeModel*,QModelIndex)\0"
  5177. };
  5178. void ModbusConfigurator::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  5179. {
  5180. if (_c == QMetaObject::CreateInstance) {
  5181. switch (_id) {
  5182. case 0: { ModbusConfigurator *_r = new ModbusConfigurator((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  5183. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  5184. }
  5185. } else if (_c == QMetaObject::InvokeMetaMethod) {
  5186. Q_ASSERT(staticMetaObject.cast(_o));
  5187. ModbusConfigurator *_t = static_cast<ModbusConfigurator *>(_o);
  5188. switch (_id) {
  5189. case 0: _t->updatePort((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  5190. case 1: _t->updateBaudRate((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  5191. case 2: _t->updateParity((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  5192. case 3: _t->updateFlowControl((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  5193. case 4: _t->updateStopBits((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  5194. case 5: _t->updateStation((*reinterpret_cast< int(*)>(_a[1]))); break;
  5195. case 6: _t->updateFixedDecimal((*reinterpret_cast< bool(*)>(_a[1]))); break;
  5196. case 7: _t->updateDecimalAddress((*reinterpret_cast< int(*)>(_a[1]))); break;
  5197. case 8: _t->updateDecimalPosition((*reinterpret_cast< int(*)>(_a[1]))); break;
  5198. case 9: _t->updateFixedUnit((*reinterpret_cast< bool(*)>(_a[1]))); break;
  5199. case 10: _t->updateUnitAddress((*reinterpret_cast< int(*)>(_a[1]))); break;
  5200. case 11: _t->updateValueForF((*reinterpret_cast< int(*)>(_a[1]))); break;
  5201. case 12: _t->updateValueForC((*reinterpret_cast< int(*)>(_a[1]))); break;
  5202. case 13: _t->updateUnit((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  5203. case 14: _t->updatePVAddress((*reinterpret_cast< int(*)>(_a[1]))); break;
  5204. case 15: _t->updateSVEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break;
  5205. case 16: _t->updateSVReadAddress((*reinterpret_cast< int(*)>(_a[1]))); break;
  5206. case 17: _t->updateDeviceLimit((*reinterpret_cast< bool(*)>(_a[1]))); break;
  5207. case 18: _t->updateSVLowerAddress((*reinterpret_cast< int(*)>(_a[1]))); break;
  5208. case 19: _t->updateSVUpperAddress((*reinterpret_cast< int(*)>(_a[1]))); break;
  5209. case 20: _t->updateSVLower((*reinterpret_cast< double(*)>(_a[1]))); break;
  5210. case 21: _t->updateSVUpper((*reinterpret_cast< double(*)>(_a[1]))); break;
  5211. case 22: _t->updateSVWritable((*reinterpret_cast< bool(*)>(_a[1]))); break;
  5212. case 23: _t->updateSVWriteAddress((*reinterpret_cast< int(*)>(_a[1]))); break;
  5213. case 24: _t->updatePVColumnName((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  5214. case 25: _t->updateSVColumnName((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  5215. case 26: _t->updatePVHidden((*reinterpret_cast< bool(*)>(_a[1]))); break;
  5216. case 27: _t->updateSVHidden((*reinterpret_cast< bool(*)>(_a[1]))); break;
  5217. default: ;
  5218. }
  5219. }
  5220. }
  5221. const QMetaObjectExtraData ModbusConfigurator::staticMetaObjectExtraData = {
  5222. 0, qt_static_metacall
  5223. };
  5224. const QMetaObject ModbusConfigurator::staticMetaObject = {
  5225. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_ModbusConfigurator,
  5226. qt_meta_data_ModbusConfigurator, &staticMetaObjectExtraData }
  5227. };
  5228. #ifdef Q_NO_DATA_RELOCATION
  5229. const QMetaObject &ModbusConfigurator::getStaticMetaObject() { return staticMetaObject; }
  5230. #endif //Q_NO_DATA_RELOCATION
  5231. const QMetaObject *ModbusConfigurator::metaObject() const
  5232. {
  5233. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  5234. }
  5235. void *ModbusConfigurator::qt_metacast(const char *_clname)
  5236. {
  5237. if (!_clname) return 0;
  5238. if (!strcmp(_clname, qt_meta_stringdata_ModbusConfigurator))
  5239. return static_cast<void*>(const_cast< ModbusConfigurator*>(this));
  5240. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  5241. }
  5242. int ModbusConfigurator::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  5243. {
  5244. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  5245. if (_id < 0)
  5246. return _id;
  5247. if (_c == QMetaObject::InvokeMetaMethod) {
  5248. if (_id < 28)
  5249. qt_static_metacall(this, _c, _id, _a);
  5250. _id -= 28;
  5251. }
  5252. return _id;
  5253. }
  5254. static const uint qt_meta_data_UnsupportedSerialDeviceConfWidget[] = {
  5255. // content:
  5256. 6, // revision
  5257. 0, // classname
  5258. 0, 0, // classinfo
  5259. 3, 14, // methods
  5260. 0, 0, // properties
  5261. 0, 0, // enums/sets
  5262. 1, 29, // constructors
  5263. 0, // flags
  5264. 0, // signalCount
  5265. // slots: signature, parameters, type, tag, flags
  5266. 35, 34, 34, 34, 0x08,
  5267. 57, 34, 34, 34, 0x08,
  5268. 70, 34, 34, 34, 0x08,
  5269. // constructors: signature, parameters, type, tag, flags
  5270. 95, 83, 34, 34, 0x0e,
  5271. 0 // eod
  5272. };
  5273. static const char qt_meta_stringdata_UnsupportedSerialDeviceConfWidget[] = {
  5274. "UnsupportedSerialDeviceConfWidget\0\0"
  5275. "updateConfiguration()\0saveScript()\0"
  5276. "addChannel()\0model,index\0"
  5277. "UnsupportedSerialDeviceConfWidget(DeviceTreeModel*,QModelIndex)\0"
  5278. };
  5279. void UnsupportedSerialDeviceConfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  5280. {
  5281. if (_c == QMetaObject::CreateInstance) {
  5282. switch (_id) {
  5283. case 0: { UnsupportedSerialDeviceConfWidget *_r = new UnsupportedSerialDeviceConfWidget((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  5284. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  5285. }
  5286. } else if (_c == QMetaObject::InvokeMetaMethod) {
  5287. Q_ASSERT(staticMetaObject.cast(_o));
  5288. UnsupportedSerialDeviceConfWidget *_t = static_cast<UnsupportedSerialDeviceConfWidget *>(_o);
  5289. switch (_id) {
  5290. case 0: _t->updateConfiguration(); break;
  5291. case 1: _t->saveScript(); break;
  5292. case 2: _t->addChannel(); break;
  5293. default: ;
  5294. }
  5295. }
  5296. }
  5297. const QMetaObjectExtraData UnsupportedSerialDeviceConfWidget::staticMetaObjectExtraData = {
  5298. 0, qt_static_metacall
  5299. };
  5300. const QMetaObject UnsupportedSerialDeviceConfWidget::staticMetaObject = {
  5301. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_UnsupportedSerialDeviceConfWidget,
  5302. qt_meta_data_UnsupportedSerialDeviceConfWidget, &staticMetaObjectExtraData }
  5303. };
  5304. #ifdef Q_NO_DATA_RELOCATION
  5305. const QMetaObject &UnsupportedSerialDeviceConfWidget::getStaticMetaObject() { return staticMetaObject; }
  5306. #endif //Q_NO_DATA_RELOCATION
  5307. const QMetaObject *UnsupportedSerialDeviceConfWidget::metaObject() const
  5308. {
  5309. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  5310. }
  5311. void *UnsupportedSerialDeviceConfWidget::qt_metacast(const char *_clname)
  5312. {
  5313. if (!_clname) return 0;
  5314. if (!strcmp(_clname, qt_meta_stringdata_UnsupportedSerialDeviceConfWidget))
  5315. return static_cast<void*>(const_cast< UnsupportedSerialDeviceConfWidget*>(this));
  5316. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  5317. }
  5318. int UnsupportedSerialDeviceConfWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  5319. {
  5320. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  5321. if (_id < 0)
  5322. return _id;
  5323. if (_c == QMetaObject::InvokeMetaMethod) {
  5324. if (_id < 3)
  5325. qt_static_metacall(this, _c, _id, _a);
  5326. _id -= 3;
  5327. }
  5328. return _id;
  5329. }
  5330. static const uint qt_meta_data_UnsupportedDeviceChannelConfWidget[] = {
  5331. // content:
  5332. 6, // revision
  5333. 0, // classname
  5334. 0, 0, // classinfo
  5335. 3, 14, // methods
  5336. 0, 0, // properties
  5337. 0, 0, // enums/sets
  5338. 1, 29, // constructors
  5339. 0, // flags
  5340. 0, // signalCount
  5341. // slots: signature, parameters, type, tag, flags
  5342. 42, 36, 35, 35, 0x08,
  5343. 75, 68, 35, 35, 0x08,
  5344. 94, 35, 35, 35, 0x08,
  5345. // constructors: signature, parameters, type, tag, flags
  5346. 128, 116, 35, 35, 0x0e,
  5347. 0 // eod
  5348. };
  5349. static const char qt_meta_stringdata_UnsupportedDeviceChannelConfWidget[] = {
  5350. "UnsupportedDeviceChannelConfWidget\0\0"
  5351. "value\0updateColumnName(QString)\0hidden\0"
  5352. "updateHidden(bool)\0updateConfiguration()\0"
  5353. "model,index\0"
  5354. "UnsupportedDeviceChannelConfWidget(DeviceTreeModel*,QModelIndex)\0"
  5355. };
  5356. void UnsupportedDeviceChannelConfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  5357. {
  5358. if (_c == QMetaObject::CreateInstance) {
  5359. switch (_id) {
  5360. case 0: { UnsupportedDeviceChannelConfWidget *_r = new UnsupportedDeviceChannelConfWidget((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  5361. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  5362. }
  5363. } else if (_c == QMetaObject::InvokeMetaMethod) {
  5364. Q_ASSERT(staticMetaObject.cast(_o));
  5365. UnsupportedDeviceChannelConfWidget *_t = static_cast<UnsupportedDeviceChannelConfWidget *>(_o);
  5366. switch (_id) {
  5367. case 0: _t->updateColumnName((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  5368. case 1: _t->updateHidden((*reinterpret_cast< bool(*)>(_a[1]))); break;
  5369. case 2: _t->updateConfiguration(); break;
  5370. default: ;
  5371. }
  5372. }
  5373. }
  5374. const QMetaObjectExtraData UnsupportedDeviceChannelConfWidget::staticMetaObjectExtraData = {
  5375. 0, qt_static_metacall
  5376. };
  5377. const QMetaObject UnsupportedDeviceChannelConfWidget::staticMetaObject = {
  5378. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_UnsupportedDeviceChannelConfWidget,
  5379. qt_meta_data_UnsupportedDeviceChannelConfWidget, &staticMetaObjectExtraData }
  5380. };
  5381. #ifdef Q_NO_DATA_RELOCATION
  5382. const QMetaObject &UnsupportedDeviceChannelConfWidget::getStaticMetaObject() { return staticMetaObject; }
  5383. #endif //Q_NO_DATA_RELOCATION
  5384. const QMetaObject *UnsupportedDeviceChannelConfWidget::metaObject() const
  5385. {
  5386. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  5387. }
  5388. void *UnsupportedDeviceChannelConfWidget::qt_metacast(const char *_clname)
  5389. {
  5390. if (!_clname) return 0;
  5391. if (!strcmp(_clname, qt_meta_stringdata_UnsupportedDeviceChannelConfWidget))
  5392. return static_cast<void*>(const_cast< UnsupportedDeviceChannelConfWidget*>(this));
  5393. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  5394. }
  5395. int UnsupportedDeviceChannelConfWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  5396. {
  5397. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  5398. if (_id < 0)
  5399. return _id;
  5400. if (_c == QMetaObject::InvokeMetaMethod) {
  5401. if (_id < 3)
  5402. qt_static_metacall(this, _c, _id, _a);
  5403. _id -= 3;
  5404. }
  5405. return _id;
  5406. }
  5407. static const uint qt_meta_data_JavaScriptDevice[] = {
  5408. // content:
  5409. 6, // revision
  5410. 0, // classname
  5411. 0, 0, // classinfo
  5412. 13, 14, // methods
  5413. 0, 0, // properties
  5414. 0, 0, // enums/sets
  5415. 1, 79, // constructors
  5416. 0, // flags
  5417. 4, // signalCount
  5418. // signals: signature, parameters, type, tag, flags
  5419. 33, 18, 17, 17, 0x05,
  5420. 61, 17, 17, 17, 0x05,
  5421. 81, 17, 17, 17, 0x05,
  5422. 100, 17, 17, 17, 0x05,
  5423. // slots: signature, parameters, type, tag, flags
  5424. 127, 122, 17, 17, 0x0a,
  5425. 158, 153, 17, 17, 0x0a,
  5426. 183, 17, 17, 17, 0x0a,
  5427. 191, 17, 17, 17, 0x0a,
  5428. // methods: signature, parameters, type, tag, flags
  5429. 202, 17, 198, 17, 0x02,
  5430. 230, 222, 217, 17, 0x02,
  5431. 263, 222, 251, 17, 0x02,
  5432. 296, 222, 288, 17, 0x02,
  5433. 319, 222, 288, 17, 0x02,
  5434. // constructors: signature, parameters, type, tag, flags
  5435. 364, 345, 17, 17, 0x0e,
  5436. 0 // eod
  5437. };
  5438. static const char qt_meta_stringdata_JavaScriptDevice[] = {
  5439. "JavaScriptDevice\0\0note,tcol,ncol\0"
  5440. "annotation(QString,int,int)\0"
  5441. "triggerStartBatch()\0triggerStopBatch()\0"
  5442. "deviceStopRequested()\0tcol\0"
  5443. "setTemperatureColumn(int)\0ncol\0"
  5444. "setAnnotationColumn(int)\0start()\0"
  5445. "stop()\0int\0channelCount()\0bool\0channel\0"
  5446. "isChannelHidden(int)\0Units::Unit\0"
  5447. "expectedChannelUnit(int)\0QString\0"
  5448. "channelColumnName(int)\0channelIndicatorText(int)\0"
  5449. "deviceIndex,engine\0"
  5450. "JavaScriptDevice(QModelIndex,QScriptEngine*)\0"
  5451. };
  5452. void JavaScriptDevice::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  5453. {
  5454. if (_c == QMetaObject::CreateInstance) {
  5455. switch (_id) {
  5456. case 0: { JavaScriptDevice *_r = new JavaScriptDevice((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< QScriptEngine*(*)>(_a[2])));
  5457. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  5458. }
  5459. } else if (_c == QMetaObject::InvokeMetaMethod) {
  5460. Q_ASSERT(staticMetaObject.cast(_o));
  5461. JavaScriptDevice *_t = static_cast<JavaScriptDevice *>(_o);
  5462. switch (_id) {
  5463. case 0: _t->annotation((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
  5464. case 1: _t->triggerStartBatch(); break;
  5465. case 2: _t->triggerStopBatch(); break;
  5466. case 3: _t->deviceStopRequested(); break;
  5467. case 4: _t->setTemperatureColumn((*reinterpret_cast< int(*)>(_a[1]))); break;
  5468. case 5: _t->setAnnotationColumn((*reinterpret_cast< int(*)>(_a[1]))); break;
  5469. case 6: _t->start(); break;
  5470. case 7: _t->stop(); break;
  5471. case 8: { int _r = _t->channelCount();
  5472. if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; } break;
  5473. case 9: { bool _r = _t->isChannelHidden((*reinterpret_cast< int(*)>(_a[1])));
  5474. if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; } break;
  5475. case 10: { Units::Unit _r = _t->expectedChannelUnit((*reinterpret_cast< int(*)>(_a[1])));
  5476. if (_a[0]) *reinterpret_cast< Units::Unit*>(_a[0]) = _r; } break;
  5477. case 11: { QString _r = _t->channelColumnName((*reinterpret_cast< int(*)>(_a[1])));
  5478. if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; } break;
  5479. case 12: { QString _r = _t->channelIndicatorText((*reinterpret_cast< int(*)>(_a[1])));
  5480. if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; } break;
  5481. default: ;
  5482. }
  5483. }
  5484. }
  5485. const QMetaObjectExtraData JavaScriptDevice::staticMetaObjectExtraData = {
  5486. 0, qt_static_metacall
  5487. };
  5488. const QMetaObject JavaScriptDevice::staticMetaObject = {
  5489. { &QObject::staticMetaObject, qt_meta_stringdata_JavaScriptDevice,
  5490. qt_meta_data_JavaScriptDevice, &staticMetaObjectExtraData }
  5491. };
  5492. #ifdef Q_NO_DATA_RELOCATION
  5493. const QMetaObject &JavaScriptDevice::getStaticMetaObject() { return staticMetaObject; }
  5494. #endif //Q_NO_DATA_RELOCATION
  5495. const QMetaObject *JavaScriptDevice::metaObject() const
  5496. {
  5497. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  5498. }
  5499. void *JavaScriptDevice::qt_metacast(const char *_clname)
  5500. {
  5501. if (!_clname) return 0;
  5502. if (!strcmp(_clname, qt_meta_stringdata_JavaScriptDevice))
  5503. return static_cast<void*>(const_cast< JavaScriptDevice*>(this));
  5504. return QObject::qt_metacast(_clname);
  5505. }
  5506. int JavaScriptDevice::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  5507. {
  5508. _id = QObject::qt_metacall(_c, _id, _a);
  5509. if (_id < 0)
  5510. return _id;
  5511. if (_c == QMetaObject::InvokeMetaMethod) {
  5512. if (_id < 13)
  5513. qt_static_metacall(this, _c, _id, _a);
  5514. _id -= 13;
  5515. }
  5516. return _id;
  5517. }
  5518. // SIGNAL 0
  5519. void JavaScriptDevice::annotation(QString _t1, int _t2, int _t3)
  5520. {
  5521. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
  5522. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  5523. }
  5524. // SIGNAL 1
  5525. void JavaScriptDevice::triggerStartBatch()
  5526. {
  5527. QMetaObject::activate(this, &staticMetaObject, 1, 0);
  5528. }
  5529. // SIGNAL 2
  5530. void JavaScriptDevice::triggerStopBatch()
  5531. {
  5532. QMetaObject::activate(this, &staticMetaObject, 2, 0);
  5533. }
  5534. // SIGNAL 3
  5535. void JavaScriptDevice::deviceStopRequested()
  5536. {
  5537. QMetaObject::activate(this, &staticMetaObject, 3, 0);
  5538. }
  5539. static const uint qt_meta_data_PhidgetsTemperatureSensorConfWidget[] = {
  5540. // content:
  5541. 6, // revision
  5542. 0, // classname
  5543. 0, 0, // classinfo
  5544. 2, 14, // methods
  5545. 0, 0, // properties
  5546. 0, 0, // enums/sets
  5547. 1, 24, // constructors
  5548. 0, // flags
  5549. 0, // signalCount
  5550. // slots: signature, parameters, type, tag, flags
  5551. 37, 36, 36, 36, 0x08,
  5552. 53, 50, 36, 36, 0x08,
  5553. // constructors: signature, parameters, type, tag, flags
  5554. 81, 69, 36, 36, 0x0e,
  5555. 0 // eod
  5556. };
  5557. static const char qt_meta_stringdata_PhidgetsTemperatureSensorConfWidget[] = {
  5558. "PhidgetsTemperatureSensorConfWidget\0"
  5559. "\0addChannel()\0ms\0updateRate(int)\0"
  5560. "model,index\0"
  5561. "PhidgetsTemperatureSensorConfWidget(DeviceTreeModel*,QModelIndex)\0"
  5562. };
  5563. void PhidgetsTemperatureSensorConfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  5564. {
  5565. if (_c == QMetaObject::CreateInstance) {
  5566. switch (_id) {
  5567. case 0: { PhidgetsTemperatureSensorConfWidget *_r = new PhidgetsTemperatureSensorConfWidget((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  5568. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  5569. }
  5570. } else if (_c == QMetaObject::InvokeMetaMethod) {
  5571. Q_ASSERT(staticMetaObject.cast(_o));
  5572. PhidgetsTemperatureSensorConfWidget *_t = static_cast<PhidgetsTemperatureSensorConfWidget *>(_o);
  5573. switch (_id) {
  5574. case 0: _t->addChannel(); break;
  5575. case 1: _t->updateRate((*reinterpret_cast< int(*)>(_a[1]))); break;
  5576. default: ;
  5577. }
  5578. }
  5579. }
  5580. const QMetaObjectExtraData PhidgetsTemperatureSensorConfWidget::staticMetaObjectExtraData = {
  5581. 0, qt_static_metacall
  5582. };
  5583. const QMetaObject PhidgetsTemperatureSensorConfWidget::staticMetaObject = {
  5584. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_PhidgetsTemperatureSensorConfWidget,
  5585. qt_meta_data_PhidgetsTemperatureSensorConfWidget, &staticMetaObjectExtraData }
  5586. };
  5587. #ifdef Q_NO_DATA_RELOCATION
  5588. const QMetaObject &PhidgetsTemperatureSensorConfWidget::getStaticMetaObject() { return staticMetaObject; }
  5589. #endif //Q_NO_DATA_RELOCATION
  5590. const QMetaObject *PhidgetsTemperatureSensorConfWidget::metaObject() const
  5591. {
  5592. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  5593. }
  5594. void *PhidgetsTemperatureSensorConfWidget::qt_metacast(const char *_clname)
  5595. {
  5596. if (!_clname) return 0;
  5597. if (!strcmp(_clname, qt_meta_stringdata_PhidgetsTemperatureSensorConfWidget))
  5598. return static_cast<void*>(const_cast< PhidgetsTemperatureSensorConfWidget*>(this));
  5599. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  5600. }
  5601. int PhidgetsTemperatureSensorConfWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  5602. {
  5603. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  5604. if (_id < 0)
  5605. return _id;
  5606. if (_c == QMetaObject::InvokeMetaMethod) {
  5607. if (_id < 2)
  5608. qt_static_metacall(this, _c, _id, _a);
  5609. _id -= 2;
  5610. }
  5611. return _id;
  5612. }
  5613. static const uint qt_meta_data_PhidgetTemperatureSensorChannelConfWidget[] = {
  5614. // content:
  5615. 6, // revision
  5616. 0, // classname
  5617. 0, 0, // classinfo
  5618. 4, 14, // methods
  5619. 0, 0, // properties
  5620. 0, 0, // enums/sets
  5621. 1, 34, // constructors
  5622. 0, // flags
  5623. 0, // signalCount
  5624. // slots: signature, parameters, type, tag, flags
  5625. 49, 43, 42, 42, 0x08,
  5626. 82, 75, 42, 42, 0x08,
  5627. 107, 101, 42, 42, 0x08,
  5628. 129, 121, 42, 42, 0x08,
  5629. // constructors: signature, parameters, type, tag, flags
  5630. 160, 148, 42, 42, 0x0e,
  5631. 0 // eod
  5632. };
  5633. static const char qt_meta_stringdata_PhidgetTemperatureSensorChannelConfWidget[] = {
  5634. "PhidgetTemperatureSensorChannelConfWidget\0"
  5635. "\0value\0updateColumnName(QString)\0"
  5636. "hidden\0updateHidden(bool)\0index\0"
  5637. "updateTC(int)\0channel\0updateChannel(int)\0"
  5638. "model,index\0"
  5639. "PhidgetTemperatureSensorChannelConfWidget(DeviceTreeModel*,QModelIndex"
  5640. ")\0"
  5641. };
  5642. void PhidgetTemperatureSensorChannelConfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  5643. {
  5644. if (_c == QMetaObject::CreateInstance) {
  5645. switch (_id) {
  5646. case 0: { PhidgetTemperatureSensorChannelConfWidget *_r = new PhidgetTemperatureSensorChannelConfWidget((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  5647. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  5648. }
  5649. } else if (_c == QMetaObject::InvokeMetaMethod) {
  5650. Q_ASSERT(staticMetaObject.cast(_o));
  5651. PhidgetTemperatureSensorChannelConfWidget *_t = static_cast<PhidgetTemperatureSensorChannelConfWidget *>(_o);
  5652. switch (_id) {
  5653. case 0: _t->updateColumnName((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  5654. case 1: _t->updateHidden((*reinterpret_cast< bool(*)>(_a[1]))); break;
  5655. case 2: _t->updateTC((*reinterpret_cast< int(*)>(_a[1]))); break;
  5656. case 3: _t->updateChannel((*reinterpret_cast< int(*)>(_a[1]))); break;
  5657. default: ;
  5658. }
  5659. }
  5660. }
  5661. const QMetaObjectExtraData PhidgetTemperatureSensorChannelConfWidget::staticMetaObjectExtraData = {
  5662. 0, qt_static_metacall
  5663. };
  5664. const QMetaObject PhidgetTemperatureSensorChannelConfWidget::staticMetaObject = {
  5665. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_PhidgetTemperatureSensorChannelConfWidget,
  5666. qt_meta_data_PhidgetTemperatureSensorChannelConfWidget, &staticMetaObjectExtraData }
  5667. };
  5668. #ifdef Q_NO_DATA_RELOCATION
  5669. const QMetaObject &PhidgetTemperatureSensorChannelConfWidget::getStaticMetaObject() { return staticMetaObject; }
  5670. #endif //Q_NO_DATA_RELOCATION
  5671. const QMetaObject *PhidgetTemperatureSensorChannelConfWidget::metaObject() const
  5672. {
  5673. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  5674. }
  5675. void *PhidgetTemperatureSensorChannelConfWidget::qt_metacast(const char *_clname)
  5676. {
  5677. if (!_clname) return 0;
  5678. if (!strcmp(_clname, qt_meta_stringdata_PhidgetTemperatureSensorChannelConfWidget))
  5679. return static_cast<void*>(const_cast< PhidgetTemperatureSensorChannelConfWidget*>(this));
  5680. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  5681. }
  5682. int PhidgetTemperatureSensorChannelConfWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  5683. {
  5684. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  5685. if (_id < 0)
  5686. return _id;
  5687. if (_c == QMetaObject::InvokeMetaMethod) {
  5688. if (_id < 4)
  5689. qt_static_metacall(this, _c, _id, _a);
  5690. _id -= 4;
  5691. }
  5692. return _id;
  5693. }
  5694. static const uint qt_meta_data_PhidgetsTemperatureSensor[] = {
  5695. // content:
  5696. 6, // revision
  5697. 0, // classname
  5698. 0, 0, // classinfo
  5699. 7, 14, // methods
  5700. 0, 0, // properties
  5701. 0, 0, // enums/sets
  5702. 1, 49, // constructors
  5703. 0, // flags
  5704. 0, // signalCount
  5705. // slots: signature, parameters, type, tag, flags
  5706. 27, 26, 26, 26, 0x0a,
  5707. 35, 26, 26, 26, 0x0a,
  5708. 42, 26, 26, 26, 0x08,
  5709. // methods: signature, parameters, type, tag, flags
  5710. 64, 26, 60, 26, 0x02,
  5711. 92, 84, 79, 26, 0x02,
  5712. 121, 84, 113, 26, 0x02,
  5713. 144, 84, 113, 26, 0x02,
  5714. // constructors: signature, parameters, type, tag, flags
  5715. 182, 170, 26, 26, 0x0e,
  5716. 0 // eod
  5717. };
  5718. static const char qt_meta_stringdata_PhidgetsTemperatureSensor[] = {
  5719. "PhidgetsTemperatureSensor\0\0start()\0"
  5720. "stop()\0getMeasurements()\0int\0"
  5721. "channelCount()\0bool\0channel\0"
  5722. "isChannelHidden(int)\0QString\0"
  5723. "channelColumnName(int)\0channelIndicatorText(int)\0"
  5724. "deviceIndex\0PhidgetsTemperatureSensor(QModelIndex)\0"
  5725. };
  5726. void PhidgetsTemperatureSensor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  5727. {
  5728. if (_c == QMetaObject::CreateInstance) {
  5729. switch (_id) {
  5730. case 0: { PhidgetsTemperatureSensor *_r = new PhidgetsTemperatureSensor((*reinterpret_cast< const QModelIndex(*)>(_a[1])));
  5731. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  5732. }
  5733. } else if (_c == QMetaObject::InvokeMetaMethod) {
  5734. Q_ASSERT(staticMetaObject.cast(_o));
  5735. PhidgetsTemperatureSensor *_t = static_cast<PhidgetsTemperatureSensor *>(_o);
  5736. switch (_id) {
  5737. case 0: _t->start(); break;
  5738. case 1: _t->stop(); break;
  5739. case 2: _t->getMeasurements(); break;
  5740. case 3: { int _r = _t->channelCount();
  5741. if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; } break;
  5742. case 4: { bool _r = _t->isChannelHidden((*reinterpret_cast< int(*)>(_a[1])));
  5743. if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; } break;
  5744. case 5: { QString _r = _t->channelColumnName((*reinterpret_cast< int(*)>(_a[1])));
  5745. if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; } break;
  5746. case 6: { QString _r = _t->channelIndicatorText((*reinterpret_cast< int(*)>(_a[1])));
  5747. if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; } break;
  5748. default: ;
  5749. }
  5750. }
  5751. }
  5752. const QMetaObjectExtraData PhidgetsTemperatureSensor::staticMetaObjectExtraData = {
  5753. 0, qt_static_metacall
  5754. };
  5755. const QMetaObject PhidgetsTemperatureSensor::staticMetaObject = {
  5756. { &QObject::staticMetaObject, qt_meta_stringdata_PhidgetsTemperatureSensor,
  5757. qt_meta_data_PhidgetsTemperatureSensor, &staticMetaObjectExtraData }
  5758. };
  5759. #ifdef Q_NO_DATA_RELOCATION
  5760. const QMetaObject &PhidgetsTemperatureSensor::getStaticMetaObject() { return staticMetaObject; }
  5761. #endif //Q_NO_DATA_RELOCATION
  5762. const QMetaObject *PhidgetsTemperatureSensor::metaObject() const
  5763. {
  5764. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  5765. }
  5766. void *PhidgetsTemperatureSensor::qt_metacast(const char *_clname)
  5767. {
  5768. if (!_clname) return 0;
  5769. if (!strcmp(_clname, qt_meta_stringdata_PhidgetsTemperatureSensor))
  5770. return static_cast<void*>(const_cast< PhidgetsTemperatureSensor*>(this));
  5771. return QObject::qt_metacast(_clname);
  5772. }
  5773. int PhidgetsTemperatureSensor::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  5774. {
  5775. _id = QObject::qt_metacall(_c, _id, _a);
  5776. if (_id < 0)
  5777. return _id;
  5778. if (_c == QMetaObject::InvokeMetaMethod) {
  5779. if (_id < 7)
  5780. qt_static_metacall(this, _c, _id, _a);
  5781. _id -= 7;
  5782. }
  5783. return _id;
  5784. }
  5785. static const uint qt_meta_data_LinearSplineInterpolationConfWidget[] = {
  5786. // content:
  5787. 6, // revision
  5788. 0, // classname
  5789. 0, 0, // classinfo
  5790. 3, 14, // methods
  5791. 0, 0, // properties
  5792. 0, 0, // enums/sets
  5793. 1, 29, // constructors
  5794. 0, // flags
  5795. 0, // signalCount
  5796. // slots: signature, parameters, type, tag, flags
  5797. 44, 37, 36, 36, 0x08,
  5798. 77, 72, 36, 36, 0x08,
  5799. 110, 36, 36, 36, 0x08,
  5800. // constructors: signature, parameters, type, tag, flags
  5801. 136, 124, 36, 36, 0x0e,
  5802. 0 // eod
  5803. };
  5804. static const char qt_meta_stringdata_LinearSplineInterpolationConfWidget[] = {
  5805. "LinearSplineInterpolationConfWidget\0"
  5806. "\0source\0updateSourceColumn(QString)\0"
  5807. "dest\0updateDestinationColumn(QString)\0"
  5808. "updateKnots()\0model,index\0"
  5809. "LinearSplineInterpolationConfWidget(DeviceTreeModel*,QModelIndex)\0"
  5810. };
  5811. void LinearSplineInterpolationConfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  5812. {
  5813. if (_c == QMetaObject::CreateInstance) {
  5814. switch (_id) {
  5815. case 0: { LinearSplineInterpolationConfWidget *_r = new LinearSplineInterpolationConfWidget((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  5816. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  5817. }
  5818. } else if (_c == QMetaObject::InvokeMetaMethod) {
  5819. Q_ASSERT(staticMetaObject.cast(_o));
  5820. LinearSplineInterpolationConfWidget *_t = static_cast<LinearSplineInterpolationConfWidget *>(_o);
  5821. switch (_id) {
  5822. case 0: _t->updateSourceColumn((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  5823. case 1: _t->updateDestinationColumn((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  5824. case 2: _t->updateKnots(); break;
  5825. default: ;
  5826. }
  5827. }
  5828. }
  5829. const QMetaObjectExtraData LinearSplineInterpolationConfWidget::staticMetaObjectExtraData = {
  5830. 0, qt_static_metacall
  5831. };
  5832. const QMetaObject LinearSplineInterpolationConfWidget::staticMetaObject = {
  5833. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_LinearSplineInterpolationConfWidget,
  5834. qt_meta_data_LinearSplineInterpolationConfWidget, &staticMetaObjectExtraData }
  5835. };
  5836. #ifdef Q_NO_DATA_RELOCATION
  5837. const QMetaObject &LinearSplineInterpolationConfWidget::getStaticMetaObject() { return staticMetaObject; }
  5838. #endif //Q_NO_DATA_RELOCATION
  5839. const QMetaObject *LinearSplineInterpolationConfWidget::metaObject() const
  5840. {
  5841. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  5842. }
  5843. void *LinearSplineInterpolationConfWidget::qt_metacast(const char *_clname)
  5844. {
  5845. if (!_clname) return 0;
  5846. if (!strcmp(_clname, qt_meta_stringdata_LinearSplineInterpolationConfWidget))
  5847. return static_cast<void*>(const_cast< LinearSplineInterpolationConfWidget*>(this));
  5848. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  5849. }
  5850. int LinearSplineInterpolationConfWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  5851. {
  5852. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  5853. if (_id < 0)
  5854. return _id;
  5855. if (_c == QMetaObject::InvokeMetaMethod) {
  5856. if (_id < 3)
  5857. qt_static_metacall(this, _c, _id, _a);
  5858. _id -= 3;
  5859. }
  5860. return _id;
  5861. }
  5862. static const uint qt_meta_data_CoolingTimerConfWidget[] = {
  5863. // content:
  5864. 6, // revision
  5865. 0, // classname
  5866. 0, 0, // classinfo
  5867. 1, 14, // methods
  5868. 0, 0, // properties
  5869. 0, 0, // enums/sets
  5870. 1, 19, // constructors
  5871. 0, // flags
  5872. 0, // signalCount
  5873. // slots: signature, parameters, type, tag, flags
  5874. 29, 24, 23, 23, 0x08,
  5875. // constructors: signature, parameters, type, tag, flags
  5876. 64, 52, 23, 23, 0x0e,
  5877. 0 // eod
  5878. };
  5879. static const char qt_meta_stringdata_CoolingTimerConfWidget[] = {
  5880. "CoolingTimerConfWidget\0\0time\0"
  5881. "updateResetTime(QTime)\0model,index\0"
  5882. "CoolingTimerConfWidget(DeviceTreeModel*,QModelIndex)\0"
  5883. };
  5884. void CoolingTimerConfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  5885. {
  5886. if (_c == QMetaObject::CreateInstance) {
  5887. switch (_id) {
  5888. case 0: { CoolingTimerConfWidget *_r = new CoolingTimerConfWidget((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  5889. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  5890. }
  5891. } else if (_c == QMetaObject::InvokeMetaMethod) {
  5892. Q_ASSERT(staticMetaObject.cast(_o));
  5893. CoolingTimerConfWidget *_t = static_cast<CoolingTimerConfWidget *>(_o);
  5894. switch (_id) {
  5895. case 0: _t->updateResetTime((*reinterpret_cast< QTime(*)>(_a[1]))); break;
  5896. default: ;
  5897. }
  5898. }
  5899. }
  5900. const QMetaObjectExtraData CoolingTimerConfWidget::staticMetaObjectExtraData = {
  5901. 0, qt_static_metacall
  5902. };
  5903. const QMetaObject CoolingTimerConfWidget::staticMetaObject = {
  5904. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_CoolingTimerConfWidget,
  5905. qt_meta_data_CoolingTimerConfWidget, &staticMetaObjectExtraData }
  5906. };
  5907. #ifdef Q_NO_DATA_RELOCATION
  5908. const QMetaObject &CoolingTimerConfWidget::getStaticMetaObject() { return staticMetaObject; }
  5909. #endif //Q_NO_DATA_RELOCATION
  5910. const QMetaObject *CoolingTimerConfWidget::metaObject() const
  5911. {
  5912. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  5913. }
  5914. void *CoolingTimerConfWidget::qt_metacast(const char *_clname)
  5915. {
  5916. if (!_clname) return 0;
  5917. if (!strcmp(_clname, qt_meta_stringdata_CoolingTimerConfWidget))
  5918. return static_cast<void*>(const_cast< CoolingTimerConfWidget*>(this));
  5919. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  5920. }
  5921. int CoolingTimerConfWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  5922. {
  5923. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  5924. if (_id < 0)
  5925. return _id;
  5926. if (_c == QMetaObject::InvokeMetaMethod) {
  5927. if (_id < 1)
  5928. qt_static_metacall(this, _c, _id, _a);
  5929. _id -= 1;
  5930. }
  5931. return _id;
  5932. }
  5933. static const uint qt_meta_data_RangeTimerConfWidget[] = {
  5934. // content:
  5935. 6, // revision
  5936. 0, // classname
  5937. 0, 0, // classinfo
  5938. 8, 14, // methods
  5939. 0, 0, // properties
  5940. 0, 0, // enums/sets
  5941. 1, 54, // constructors
  5942. 0, // flags
  5943. 0, // signalCount
  5944. // slots: signature, parameters, type, tag, flags
  5945. 27, 22, 21, 21, 0x08,
  5946. 58, 22, 21, 21, 0x08,
  5947. 88, 22, 21, 21, 0x08,
  5948. 119, 22, 21, 21, 0x08,
  5949. 149, 22, 21, 21, 0x08,
  5950. 175, 22, 21, 21, 0x08,
  5951. 207, 200, 21, 21, 0x08,
  5952. 231, 200, 21, 21, 0x08,
  5953. // constructors: signature, parameters, type, tag, flags
  5954. 266, 254, 21, 21, 0x0e,
  5955. 0 // eod
  5956. };
  5957. static const char qt_meta_stringdata_RangeTimerConfWidget[] = {
  5958. "RangeTimerConfWidget\0\0text\0"
  5959. "updateStartButtonText(QString)\0"
  5960. "updateStopButtonText(QString)\0"
  5961. "updateStartColumnName(QString)\0"
  5962. "updateStopColumnName(QString)\0"
  5963. "updateStartValue(QString)\0"
  5964. "updateStopValue(QString)\0option\0"
  5965. "updateStartTrigger(int)\0updateStopTrigger(int)\0"
  5966. "model,index\0"
  5967. "RangeTimerConfWidget(DeviceTreeModel*,QModelIndex)\0"
  5968. };
  5969. void RangeTimerConfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  5970. {
  5971. if (_c == QMetaObject::CreateInstance) {
  5972. switch (_id) {
  5973. case 0: { RangeTimerConfWidget *_r = new RangeTimerConfWidget((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  5974. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  5975. }
  5976. } else if (_c == QMetaObject::InvokeMetaMethod) {
  5977. Q_ASSERT(staticMetaObject.cast(_o));
  5978. RangeTimerConfWidget *_t = static_cast<RangeTimerConfWidget *>(_o);
  5979. switch (_id) {
  5980. case 0: _t->updateStartButtonText((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  5981. case 1: _t->updateStopButtonText((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  5982. case 2: _t->updateStartColumnName((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  5983. case 3: _t->updateStopColumnName((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  5984. case 4: _t->updateStartValue((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  5985. case 5: _t->updateStopValue((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  5986. case 6: _t->updateStartTrigger((*reinterpret_cast< int(*)>(_a[1]))); break;
  5987. case 7: _t->updateStopTrigger((*reinterpret_cast< int(*)>(_a[1]))); break;
  5988. default: ;
  5989. }
  5990. }
  5991. }
  5992. const QMetaObjectExtraData RangeTimerConfWidget::staticMetaObjectExtraData = {
  5993. 0, qt_static_metacall
  5994. };
  5995. const QMetaObject RangeTimerConfWidget::staticMetaObject = {
  5996. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_RangeTimerConfWidget,
  5997. qt_meta_data_RangeTimerConfWidget, &staticMetaObjectExtraData }
  5998. };
  5999. #ifdef Q_NO_DATA_RELOCATION
  6000. const QMetaObject &RangeTimerConfWidget::getStaticMetaObject() { return staticMetaObject; }
  6001. #endif //Q_NO_DATA_RELOCATION
  6002. const QMetaObject *RangeTimerConfWidget::metaObject() const
  6003. {
  6004. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  6005. }
  6006. void *RangeTimerConfWidget::qt_metacast(const char *_clname)
  6007. {
  6008. if (!_clname) return 0;
  6009. if (!strcmp(_clname, qt_meta_stringdata_RangeTimerConfWidget))
  6010. return static_cast<void*>(const_cast< RangeTimerConfWidget*>(this));
  6011. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  6012. }
  6013. int RangeTimerConfWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  6014. {
  6015. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  6016. if (_id < 0)
  6017. return _id;
  6018. if (_c == QMetaObject::InvokeMetaMethod) {
  6019. if (_id < 8)
  6020. qt_static_metacall(this, _c, _id, _a);
  6021. _id -= 8;
  6022. }
  6023. return _id;
  6024. }
  6025. static const uint qt_meta_data_MultiRangeTimerConfWidget[] = {
  6026. // content:
  6027. 6, // revision
  6028. 0, // classname
  6029. 0, 0, // classinfo
  6030. 2, 14, // methods
  6031. 0, 0, // properties
  6032. 0, 0, // enums/sets
  6033. 1, 24, // constructors
  6034. 0, // flags
  6035. 0, // signalCount
  6036. // slots: signature, parameters, type, tag, flags
  6037. 32, 27, 26, 26, 0x08,
  6038. 58, 26, 26, 26, 0x08,
  6039. // constructors: signature, parameters, type, tag, flags
  6040. 88, 76, 26, 26, 0x0e,
  6041. 0 // eod
  6042. };
  6043. static const char qt_meta_stringdata_MultiRangeTimerConfWidget[] = {
  6044. "MultiRangeTimerConfWidget\0\0text\0"
  6045. "updateColumnName(QString)\0updateRangeData()\0"
  6046. "model,index\0"
  6047. "MultiRangeTimerConfWidget(DeviceTreeModel*,QModelIndex)\0"
  6048. };
  6049. void MultiRangeTimerConfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  6050. {
  6051. if (_c == QMetaObject::CreateInstance) {
  6052. switch (_id) {
  6053. case 0: { MultiRangeTimerConfWidget *_r = new MultiRangeTimerConfWidget((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  6054. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  6055. }
  6056. } else if (_c == QMetaObject::InvokeMetaMethod) {
  6057. Q_ASSERT(staticMetaObject.cast(_o));
  6058. MultiRangeTimerConfWidget *_t = static_cast<MultiRangeTimerConfWidget *>(_o);
  6059. switch (_id) {
  6060. case 0: _t->updateColumnName((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  6061. case 1: _t->updateRangeData(); break;
  6062. default: ;
  6063. }
  6064. }
  6065. }
  6066. const QMetaObjectExtraData MultiRangeTimerConfWidget::staticMetaObjectExtraData = {
  6067. 0, qt_static_metacall
  6068. };
  6069. const QMetaObject MultiRangeTimerConfWidget::staticMetaObject = {
  6070. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_MultiRangeTimerConfWidget,
  6071. qt_meta_data_MultiRangeTimerConfWidget, &staticMetaObjectExtraData }
  6072. };
  6073. #ifdef Q_NO_DATA_RELOCATION
  6074. const QMetaObject &MultiRangeTimerConfWidget::getStaticMetaObject() { return staticMetaObject; }
  6075. #endif //Q_NO_DATA_RELOCATION
  6076. const QMetaObject *MultiRangeTimerConfWidget::metaObject() const
  6077. {
  6078. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  6079. }
  6080. void *MultiRangeTimerConfWidget::qt_metacast(const char *_clname)
  6081. {
  6082. if (!_clname) return 0;
  6083. if (!strcmp(_clname, qt_meta_stringdata_MultiRangeTimerConfWidget))
  6084. return static_cast<void*>(const_cast< MultiRangeTimerConfWidget*>(this));
  6085. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  6086. }
  6087. int MultiRangeTimerConfWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  6088. {
  6089. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  6090. if (_id < 0)
  6091. return _id;
  6092. if (_c == QMetaObject::InvokeMetaMethod) {
  6093. if (_id < 2)
  6094. qt_static_metacall(this, _c, _id, _a);
  6095. _id -= 2;
  6096. }
  6097. return _id;
  6098. }
  6099. static const uint qt_meta_data_TranslationConfWidget[] = {
  6100. // content:
  6101. 6, // revision
  6102. 0, // classname
  6103. 0, 0, // classinfo
  6104. 2, 14, // methods
  6105. 0, 0, // properties
  6106. 0, 0, // enums/sets
  6107. 1, 24, // constructors
  6108. 0, // flags
  6109. 0, // signalCount
  6110. // slots: signature, parameters, type, tag, flags
  6111. 30, 23, 22, 22, 0x08,
  6112. 60, 22, 22, 22, 0x08,
  6113. // constructors: signature, parameters, type, tag, flags
  6114. 92, 80, 22, 22, 0x0e,
  6115. 0 // eod
  6116. };
  6117. static const char qt_meta_stringdata_TranslationConfWidget[] = {
  6118. "TranslationConfWidget\0\0column\0"
  6119. "updateMatchingColumn(QString)\0"
  6120. "updateTemperature()\0model,index\0"
  6121. "TranslationConfWidget(DeviceTreeModel*,QModelIndex)\0"
  6122. };
  6123. void TranslationConfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  6124. {
  6125. if (_c == QMetaObject::CreateInstance) {
  6126. switch (_id) {
  6127. case 0: { TranslationConfWidget *_r = new TranslationConfWidget((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  6128. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  6129. }
  6130. } else if (_c == QMetaObject::InvokeMetaMethod) {
  6131. Q_ASSERT(staticMetaObject.cast(_o));
  6132. TranslationConfWidget *_t = static_cast<TranslationConfWidget *>(_o);
  6133. switch (_id) {
  6134. case 0: _t->updateMatchingColumn((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  6135. case 1: _t->updateTemperature(); break;
  6136. default: ;
  6137. }
  6138. }
  6139. }
  6140. const QMetaObjectExtraData TranslationConfWidget::staticMetaObjectExtraData = {
  6141. 0, qt_static_metacall
  6142. };
  6143. const QMetaObject TranslationConfWidget::staticMetaObject = {
  6144. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_TranslationConfWidget,
  6145. qt_meta_data_TranslationConfWidget, &staticMetaObjectExtraData }
  6146. };
  6147. #ifdef Q_NO_DATA_RELOCATION
  6148. const QMetaObject &TranslationConfWidget::getStaticMetaObject() { return staticMetaObject; }
  6149. #endif //Q_NO_DATA_RELOCATION
  6150. const QMetaObject *TranslationConfWidget::metaObject() const
  6151. {
  6152. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  6153. }
  6154. void *TranslationConfWidget::qt_metacast(const char *_clname)
  6155. {
  6156. if (!_clname) return 0;
  6157. if (!strcmp(_clname, qt_meta_stringdata_TranslationConfWidget))
  6158. return static_cast<void*>(const_cast< TranslationConfWidget*>(this));
  6159. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  6160. }
  6161. int TranslationConfWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  6162. {
  6163. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  6164. if (_id < 0)
  6165. return _id;
  6166. if (_c == QMetaObject::InvokeMetaMethod) {
  6167. if (_id < 2)
  6168. qt_static_metacall(this, _c, _id, _a);
  6169. _id -= 2;
  6170. }
  6171. return _id;
  6172. }
  6173. static const uint qt_meta_data_RateOfChange[] = {
  6174. // content:
  6175. 6, // revision
  6176. 0, // classname
  6177. 0, 0, // classinfo
  6178. 4, 14, // methods
  6179. 0, 0, // properties
  6180. 0, 0, // enums/sets
  6181. 0, 0, // constructors
  6182. 0, // flags
  6183. 1, // signalCount
  6184. // signals: signature, parameters, type, tag, flags
  6185. 22, 14, 13, 13, 0x05,
  6186. // slots: signature, parameters, type, tag, flags
  6187. 43, 14, 13, 13, 0x0a,
  6188. 79, 71, 13, 13, 0x0a,
  6189. 97, 71, 13, 13, 0x0a,
  6190. 0 // eod
  6191. };
  6192. static const char qt_meta_stringdata_RateOfChange[] = {
  6193. "RateOfChange\0\0measure\0newData(Measurement)\0"
  6194. "newMeasurement(Measurement)\0seconds\0"
  6195. "setCacheTime(int)\0setScaleTime(int)\0"
  6196. };
  6197. void RateOfChange::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  6198. {
  6199. if (_c == QMetaObject::InvokeMetaMethod) {
  6200. Q_ASSERT(staticMetaObject.cast(_o));
  6201. RateOfChange *_t = static_cast<RateOfChange *>(_o);
  6202. switch (_id) {
  6203. case 0: _t->newData((*reinterpret_cast< Measurement(*)>(_a[1]))); break;
  6204. case 1: _t->newMeasurement((*reinterpret_cast< Measurement(*)>(_a[1]))); break;
  6205. case 2: _t->setCacheTime((*reinterpret_cast< int(*)>(_a[1]))); break;
  6206. case 3: _t->setScaleTime((*reinterpret_cast< int(*)>(_a[1]))); break;
  6207. default: ;
  6208. }
  6209. }
  6210. }
  6211. const QMetaObjectExtraData RateOfChange::staticMetaObjectExtraData = {
  6212. 0, qt_static_metacall
  6213. };
  6214. const QMetaObject RateOfChange::staticMetaObject = {
  6215. { &QObject::staticMetaObject, qt_meta_stringdata_RateOfChange,
  6216. qt_meta_data_RateOfChange, &staticMetaObjectExtraData }
  6217. };
  6218. #ifdef Q_NO_DATA_RELOCATION
  6219. const QMetaObject &RateOfChange::getStaticMetaObject() { return staticMetaObject; }
  6220. #endif //Q_NO_DATA_RELOCATION
  6221. const QMetaObject *RateOfChange::metaObject() const
  6222. {
  6223. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  6224. }
  6225. void *RateOfChange::qt_metacast(const char *_clname)
  6226. {
  6227. if (!_clname) return 0;
  6228. if (!strcmp(_clname, qt_meta_stringdata_RateOfChange))
  6229. return static_cast<void*>(const_cast< RateOfChange*>(this));
  6230. return QObject::qt_metacast(_clname);
  6231. }
  6232. int RateOfChange::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  6233. {
  6234. _id = QObject::qt_metacall(_c, _id, _a);
  6235. if (_id < 0)
  6236. return _id;
  6237. if (_c == QMetaObject::InvokeMetaMethod) {
  6238. if (_id < 4)
  6239. qt_static_metacall(this, _c, _id, _a);
  6240. _id -= 4;
  6241. }
  6242. return _id;
  6243. }
  6244. // SIGNAL 0
  6245. void RateOfChange::newData(Measurement _t1)
  6246. {
  6247. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
  6248. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  6249. }
  6250. static const uint qt_meta_data_RateOfChangeConfWidget[] = {
  6251. // content:
  6252. 6, // revision
  6253. 0, // classname
  6254. 0, 0, // classinfo
  6255. 3, 14, // methods
  6256. 0, 0, // properties
  6257. 0, 0, // enums/sets
  6258. 1, 29, // constructors
  6259. 0, // flags
  6260. 0, // signalCount
  6261. // slots: signature, parameters, type, tag, flags
  6262. 31, 24, 23, 23, 0x08,
  6263. 61, 53, 23, 23, 0x08,
  6264. 86, 53, 23, 23, 0x08,
  6265. // constructors: signature, parameters, type, tag, flags
  6266. 123, 111, 23, 23, 0x0e,
  6267. 0 // eod
  6268. };
  6269. static const char qt_meta_stringdata_RateOfChangeConfWidget[] = {
  6270. "RateOfChangeConfWidget\0\0column\0"
  6271. "updateColumn(QString)\0seconds\0"
  6272. "updateCacheTime(QString)\0"
  6273. "updateScaleTime(QString)\0model,index\0"
  6274. "RateOfChangeConfWidget(DeviceTreeModel*,QModelIndex)\0"
  6275. };
  6276. void RateOfChangeConfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  6277. {
  6278. if (_c == QMetaObject::CreateInstance) {
  6279. switch (_id) {
  6280. case 0: { RateOfChangeConfWidget *_r = new RateOfChangeConfWidget((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  6281. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  6282. }
  6283. } else if (_c == QMetaObject::InvokeMetaMethod) {
  6284. Q_ASSERT(staticMetaObject.cast(_o));
  6285. RateOfChangeConfWidget *_t = static_cast<RateOfChangeConfWidget *>(_o);
  6286. switch (_id) {
  6287. case 0: _t->updateColumn((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  6288. case 1: _t->updateCacheTime((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  6289. case 2: _t->updateScaleTime((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  6290. default: ;
  6291. }
  6292. }
  6293. }
  6294. const QMetaObjectExtraData RateOfChangeConfWidget::staticMetaObjectExtraData = {
  6295. 0, qt_static_metacall
  6296. };
  6297. const QMetaObject RateOfChangeConfWidget::staticMetaObject = {
  6298. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_RateOfChangeConfWidget,
  6299. qt_meta_data_RateOfChangeConfWidget, &staticMetaObjectExtraData }
  6300. };
  6301. #ifdef Q_NO_DATA_RELOCATION
  6302. const QMetaObject &RateOfChangeConfWidget::getStaticMetaObject() { return staticMetaObject; }
  6303. #endif //Q_NO_DATA_RELOCATION
  6304. const QMetaObject *RateOfChangeConfWidget::metaObject() const
  6305. {
  6306. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  6307. }
  6308. void *RateOfChangeConfWidget::qt_metacast(const char *_clname)
  6309. {
  6310. if (!_clname) return 0;
  6311. if (!strcmp(_clname, qt_meta_stringdata_RateOfChangeConfWidget))
  6312. return static_cast<void*>(const_cast< RateOfChangeConfWidget*>(this));
  6313. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  6314. }
  6315. int RateOfChangeConfWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  6316. {
  6317. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  6318. if (_id < 0)
  6319. return _id;
  6320. if (_c == QMetaObject::InvokeMetaMethod) {
  6321. if (_id < 3)
  6322. qt_static_metacall(this, _c, _id, _a);
  6323. _id -= 3;
  6324. }
  6325. return _id;
  6326. }
  6327. static const uint qt_meta_data_DataqSdkDevice[] = {
  6328. // content:
  6329. 6, // revision
  6330. 0, // classname
  6331. 0, 0, // classinfo
  6332. 3, 14, // methods
  6333. 0, 0, // properties
  6334. 0, 0, // enums/sets
  6335. 0, 0, // constructors
  6336. 0, // flags
  6337. 0, // signalCount
  6338. // slots: signature, parameters, type, tag, flags
  6339. 16, 15, 15, 15, 0x08,
  6340. // methods: signature, parameters, type, tag, flags
  6341. 36, 33, 15, 15, 0x02,
  6342. 57, 15, 15, 15, 0x02,
  6343. 0 // eod
  6344. };
  6345. static const char qt_meta_stringdata_DataqSdkDevice[] = {
  6346. "DataqSdkDevice\0\0threadFinished()\0Hz\0"
  6347. "setClockRate(double)\0start()\0"
  6348. };
  6349. void DataqSdkDevice::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  6350. {
  6351. if (_c == QMetaObject::InvokeMetaMethod) {
  6352. Q_ASSERT(staticMetaObject.cast(_o));
  6353. DataqSdkDevice *_t = static_cast<DataqSdkDevice *>(_o);
  6354. switch (_id) {
  6355. case 0: _t->threadFinished(); break;
  6356. case 1: _t->setClockRate((*reinterpret_cast< double(*)>(_a[1]))); break;
  6357. case 2: _t->start(); break;
  6358. default: ;
  6359. }
  6360. }
  6361. }
  6362. const QMetaObjectExtraData DataqSdkDevice::staticMetaObjectExtraData = {
  6363. 0, qt_static_metacall
  6364. };
  6365. const QMetaObject DataqSdkDevice::staticMetaObject = {
  6366. { &QObject::staticMetaObject, qt_meta_stringdata_DataqSdkDevice,
  6367. qt_meta_data_DataqSdkDevice, &staticMetaObjectExtraData }
  6368. };
  6369. #ifdef Q_NO_DATA_RELOCATION
  6370. const QMetaObject &DataqSdkDevice::getStaticMetaObject() { return staticMetaObject; }
  6371. #endif //Q_NO_DATA_RELOCATION
  6372. const QMetaObject *DataqSdkDevice::metaObject() const
  6373. {
  6374. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  6375. }
  6376. void *DataqSdkDevice::qt_metacast(const char *_clname)
  6377. {
  6378. if (!_clname) return 0;
  6379. if (!strcmp(_clname, qt_meta_stringdata_DataqSdkDevice))
  6380. return static_cast<void*>(const_cast< DataqSdkDevice*>(this));
  6381. return QObject::qt_metacast(_clname);
  6382. }
  6383. int DataqSdkDevice::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  6384. {
  6385. _id = QObject::qt_metacall(_c, _id, _a);
  6386. if (_id < 0)
  6387. return _id;
  6388. if (_c == QMetaObject::InvokeMetaMethod) {
  6389. if (_id < 3)
  6390. qt_static_metacall(this, _c, _id, _a);
  6391. _id -= 3;
  6392. }
  6393. return _id;
  6394. }
  6395. static const uint qt_meta_data_DataqSdkDeviceImplementation[] = {
  6396. // content:
  6397. 6, // revision
  6398. 0, // classname
  6399. 0, 0, // classinfo
  6400. 1, 14, // methods
  6401. 0, 0, // properties
  6402. 0, 0, // enums/sets
  6403. 0, 0, // constructors
  6404. 0, // flags
  6405. 0, // signalCount
  6406. // slots: signature, parameters, type, tag, flags
  6407. 30, 29, 29, 29, 0x0a,
  6408. 0 // eod
  6409. };
  6410. static const char qt_meta_stringdata_DataqSdkDeviceImplementation[] = {
  6411. "DataqSdkDeviceImplementation\0\0measure()\0"
  6412. };
  6413. void DataqSdkDeviceImplementation::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  6414. {
  6415. if (_c == QMetaObject::InvokeMetaMethod) {
  6416. Q_ASSERT(staticMetaObject.cast(_o));
  6417. DataqSdkDeviceImplementation *_t = static_cast<DataqSdkDeviceImplementation *>(_o);
  6418. switch (_id) {
  6419. case 0: _t->measure(); break;
  6420. default: ;
  6421. }
  6422. }
  6423. Q_UNUSED(_a);
  6424. }
  6425. const QMetaObjectExtraData DataqSdkDeviceImplementation::staticMetaObjectExtraData = {
  6426. 0, qt_static_metacall
  6427. };
  6428. const QMetaObject DataqSdkDeviceImplementation::staticMetaObject = {
  6429. { &QThread::staticMetaObject, qt_meta_stringdata_DataqSdkDeviceImplementation,
  6430. qt_meta_data_DataqSdkDeviceImplementation, &staticMetaObjectExtraData }
  6431. };
  6432. #ifdef Q_NO_DATA_RELOCATION
  6433. const QMetaObject &DataqSdkDeviceImplementation::getStaticMetaObject() { return staticMetaObject; }
  6434. #endif //Q_NO_DATA_RELOCATION
  6435. const QMetaObject *DataqSdkDeviceImplementation::metaObject() const
  6436. {
  6437. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  6438. }
  6439. void *DataqSdkDeviceImplementation::qt_metacast(const char *_clname)
  6440. {
  6441. if (!_clname) return 0;
  6442. if (!strcmp(_clname, qt_meta_stringdata_DataqSdkDeviceImplementation))
  6443. return static_cast<void*>(const_cast< DataqSdkDeviceImplementation*>(this));
  6444. return QThread::qt_metacast(_clname);
  6445. }
  6446. int DataqSdkDeviceImplementation::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  6447. {
  6448. _id = QThread::qt_metacall(_c, _id, _a);
  6449. if (_id < 0)
  6450. return _id;
  6451. if (_c == QMetaObject::InvokeMetaMethod) {
  6452. if (_id < 1)
  6453. qt_static_metacall(this, _c, _id, _a);
  6454. _id -= 1;
  6455. }
  6456. return _id;
  6457. }
  6458. static const uint qt_meta_data_DataqSdkDeviceConfWidget[] = {
  6459. // content:
  6460. 6, // revision
  6461. 0, // classname
  6462. 0, 0, // classinfo
  6463. 4, 14, // methods
  6464. 0, 0, // properties
  6465. 0, 0, // enums/sets
  6466. 1, 34, // constructors
  6467. 0, // flags
  6468. 0, // signalCount
  6469. // slots: signature, parameters, type, tag, flags
  6470. 36, 26, 25, 25, 0x08,
  6471. 72, 59, 25, 25, 0x08,
  6472. 103, 96, 25, 25, 0x08,
  6473. 123, 25, 25, 25, 0x08,
  6474. // constructors: signature, parameters, type, tag, flags
  6475. 148, 136, 25, 25, 0x0e,
  6476. 0 // eod
  6477. };
  6478. static const char qt_meta_stringdata_DataqSdkDeviceConfWidget[] = {
  6479. "DataqSdkDeviceConfWidget\0\0automatic\0"
  6480. "updateAutoSelect(bool)\0deviceNumber\0"
  6481. "updateDeviceNumber(int)\0portId\0"
  6482. "updatePort(QString)\0addChannel()\0"
  6483. "model,index\0"
  6484. "DataqSdkDeviceConfWidget(DeviceTreeModel*,QModelIndex)\0"
  6485. };
  6486. void DataqSdkDeviceConfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  6487. {
  6488. if (_c == QMetaObject::CreateInstance) {
  6489. switch (_id) {
  6490. case 0: { DataqSdkDeviceConfWidget *_r = new DataqSdkDeviceConfWidget((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  6491. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  6492. }
  6493. } else if (_c == QMetaObject::InvokeMetaMethod) {
  6494. Q_ASSERT(staticMetaObject.cast(_o));
  6495. DataqSdkDeviceConfWidget *_t = static_cast<DataqSdkDeviceConfWidget *>(_o);
  6496. switch (_id) {
  6497. case 0: _t->updateAutoSelect((*reinterpret_cast< bool(*)>(_a[1]))); break;
  6498. case 1: _t->updateDeviceNumber((*reinterpret_cast< int(*)>(_a[1]))); break;
  6499. case 2: _t->updatePort((*reinterpret_cast< QString(*)>(_a[1]))); break;
  6500. case 3: _t->addChannel(); break;
  6501. default: ;
  6502. }
  6503. }
  6504. }
  6505. const QMetaObjectExtraData DataqSdkDeviceConfWidget::staticMetaObjectExtraData = {
  6506. 0, qt_static_metacall
  6507. };
  6508. const QMetaObject DataqSdkDeviceConfWidget::staticMetaObject = {
  6509. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_DataqSdkDeviceConfWidget,
  6510. qt_meta_data_DataqSdkDeviceConfWidget, &staticMetaObjectExtraData }
  6511. };
  6512. #ifdef Q_NO_DATA_RELOCATION
  6513. const QMetaObject &DataqSdkDeviceConfWidget::getStaticMetaObject() { return staticMetaObject; }
  6514. #endif //Q_NO_DATA_RELOCATION
  6515. const QMetaObject *DataqSdkDeviceConfWidget::metaObject() const
  6516. {
  6517. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  6518. }
  6519. void *DataqSdkDeviceConfWidget::qt_metacast(const char *_clname)
  6520. {
  6521. if (!_clname) return 0;
  6522. if (!strcmp(_clname, qt_meta_stringdata_DataqSdkDeviceConfWidget))
  6523. return static_cast<void*>(const_cast< DataqSdkDeviceConfWidget*>(this));
  6524. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  6525. }
  6526. int DataqSdkDeviceConfWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  6527. {
  6528. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  6529. if (_id < 0)
  6530. return _id;
  6531. if (_c == QMetaObject::InvokeMetaMethod) {
  6532. if (_id < 4)
  6533. qt_static_metacall(this, _c, _id, _a);
  6534. _id -= 4;
  6535. }
  6536. return _id;
  6537. }
  6538. static const uint qt_meta_data_DataqSdkChannelConfWidget[] = {
  6539. // content:
  6540. 6, // revision
  6541. 0, // classname
  6542. 0, 0, // classinfo
  6543. 15, 14, // methods
  6544. 0, 0, // properties
  6545. 0, 0, // enums/sets
  6546. 1, 89, // constructors
  6547. 0, // flags
  6548. 0, // signalCount
  6549. // slots: signature, parameters, type, tag, flags
  6550. 32, 27, 26, 26, 0x08,
  6551. 59, 53, 26, 26, 0x08,
  6552. 85, 53, 26, 26, 0x08,
  6553. 114, 53, 26, 26, 0x08,
  6554. 143, 53, 26, 26, 0x08,
  6555. 170, 53, 26, 26, 0x08,
  6556. 204, 197, 26, 26, 0x08,
  6557. 239, 231, 26, 26, 0x08,
  6558. 268, 53, 26, 26, 0x08,
  6559. 295, 26, 26, 26, 0x08,
  6560. 314, 26, 26, 26, 0x08,
  6561. 332, 26, 26, 26, 0x08,
  6562. 359, 351, 26, 26, 0x08,
  6563. 384, 351, 26, 26, 0x08,
  6564. 417, 410, 26, 26, 0x08,
  6565. // constructors: signature, parameters, type, tag, flags
  6566. 448, 436, 26, 26, 0x0e,
  6567. 0 // eod
  6568. };
  6569. static const char qt_meta_stringdata_DataqSdkChannelConfWidget[] = {
  6570. "DataqSdkChannelConfWidget\0\0unit\0"
  6571. "updateUnits(QString)\0value\0"
  6572. "updateColumnName(QString)\0"
  6573. "updateMeasuredLower(QString)\0"
  6574. "updateMeasuredUpper(QString)\0"
  6575. "updateMappedLower(QString)\0"
  6576. "updateMappedUpper(QString)\0closed\0"
  6577. "updateClosedInterval(bool)\0enabled\0"
  6578. "updateSmoothingEnabled(bool)\0"
  6579. "updateSensitivity(QString)\0"
  6580. "startCalibration()\0stopCalibration()\0"
  6581. "resetCalibration()\0measure\0"
  6582. "updateInput(Measurement)\0"
  6583. "updateOutput(Measurement)\0hidden\0"
  6584. "updateHidden(bool)\0model,index\0"
  6585. "DataqSdkChannelConfWidget(DeviceTreeModel*,QModelIndex)\0"
  6586. };
  6587. void DataqSdkChannelConfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  6588. {
  6589. if (_c == QMetaObject::CreateInstance) {
  6590. switch (_id) {
  6591. case 0: { DataqSdkChannelConfWidget *_r = new DataqSdkChannelConfWidget((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  6592. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  6593. }
  6594. } else if (_c == QMetaObject::InvokeMetaMethod) {
  6595. Q_ASSERT(staticMetaObject.cast(_o));
  6596. DataqSdkChannelConfWidget *_t = static_cast<DataqSdkChannelConfWidget *>(_o);
  6597. switch (_id) {
  6598. case 0: _t->updateUnits((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  6599. case 1: _t->updateColumnName((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  6600. case 2: _t->updateMeasuredLower((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  6601. case 3: _t->updateMeasuredUpper((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  6602. case 4: _t->updateMappedLower((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  6603. case 5: _t->updateMappedUpper((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  6604. case 6: _t->updateClosedInterval((*reinterpret_cast< bool(*)>(_a[1]))); break;
  6605. case 7: _t->updateSmoothingEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break;
  6606. case 8: _t->updateSensitivity((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  6607. case 9: _t->startCalibration(); break;
  6608. case 10: _t->stopCalibration(); break;
  6609. case 11: _t->resetCalibration(); break;
  6610. case 12: _t->updateInput((*reinterpret_cast< Measurement(*)>(_a[1]))); break;
  6611. case 13: _t->updateOutput((*reinterpret_cast< Measurement(*)>(_a[1]))); break;
  6612. case 14: _t->updateHidden((*reinterpret_cast< bool(*)>(_a[1]))); break;
  6613. default: ;
  6614. }
  6615. }
  6616. }
  6617. const QMetaObjectExtraData DataqSdkChannelConfWidget::staticMetaObjectExtraData = {
  6618. 0, qt_static_metacall
  6619. };
  6620. const QMetaObject DataqSdkChannelConfWidget::staticMetaObject = {
  6621. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_DataqSdkChannelConfWidget,
  6622. qt_meta_data_DataqSdkChannelConfWidget, &staticMetaObjectExtraData }
  6623. };
  6624. #ifdef Q_NO_DATA_RELOCATION
  6625. const QMetaObject &DataqSdkChannelConfWidget::getStaticMetaObject() { return staticMetaObject; }
  6626. #endif //Q_NO_DATA_RELOCATION
  6627. const QMetaObject *DataqSdkChannelConfWidget::metaObject() const
  6628. {
  6629. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  6630. }
  6631. void *DataqSdkChannelConfWidget::qt_metacast(const char *_clname)
  6632. {
  6633. if (!_clname) return 0;
  6634. if (!strcmp(_clname, qt_meta_stringdata_DataqSdkChannelConfWidget))
  6635. return static_cast<void*>(const_cast< DataqSdkChannelConfWidget*>(this));
  6636. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  6637. }
  6638. int DataqSdkChannelConfWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  6639. {
  6640. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  6641. if (_id < 0)
  6642. return _id;
  6643. if (_c == QMetaObject::InvokeMetaMethod) {
  6644. if (_id < 15)
  6645. qt_static_metacall(this, _c, _id, _a);
  6646. _id -= 15;
  6647. }
  6648. return _id;
  6649. }
  6650. static const uint qt_meta_data_SerialScaleConfWidget[] = {
  6651. // content:
  6652. 6, // revision
  6653. 0, // classname
  6654. 0, 0, // classinfo
  6655. 5, 14, // methods
  6656. 0, 0, // properties
  6657. 0, 0, // enums/sets
  6658. 1, 39, // constructors
  6659. 0, // flags
  6660. 0, // signalCount
  6661. // slots: signature, parameters, type, tag, flags
  6662. 31, 23, 22, 22, 0x08,
  6663. 56, 51, 22, 22, 0x08,
  6664. 86, 80, 22, 22, 0x08,
  6665. 104, 80, 22, 22, 0x08,
  6666. 127, 80, 22, 22, 0x08,
  6667. // constructors: signature, parameters, type, tag, flags
  6668. 159, 147, 22, 22, 0x0e,
  6669. 0 // eod
  6670. };
  6671. static const char qt_meta_stringdata_SerialScaleConfWidget[] = {
  6672. "SerialScaleConfWidget\0\0newPort\0"
  6673. "updatePort(QString)\0rate\0"
  6674. "updateBaudRate(QString)\0index\0"
  6675. "updateParity(int)\0updateFlowControl(int)\0"
  6676. "updateStopBits(int)\0model,index\0"
  6677. "SerialScaleConfWidget(DeviceTreeModel*,QModelIndex)\0"
  6678. };
  6679. void SerialScaleConfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  6680. {
  6681. if (_c == QMetaObject::CreateInstance) {
  6682. switch (_id) {
  6683. case 0: { SerialScaleConfWidget *_r = new SerialScaleConfWidget((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  6684. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  6685. }
  6686. } else if (_c == QMetaObject::InvokeMetaMethod) {
  6687. Q_ASSERT(staticMetaObject.cast(_o));
  6688. SerialScaleConfWidget *_t = static_cast<SerialScaleConfWidget *>(_o);
  6689. switch (_id) {
  6690. case 0: _t->updatePort((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  6691. case 1: _t->updateBaudRate((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  6692. case 2: _t->updateParity((*reinterpret_cast< int(*)>(_a[1]))); break;
  6693. case 3: _t->updateFlowControl((*reinterpret_cast< int(*)>(_a[1]))); break;
  6694. case 4: _t->updateStopBits((*reinterpret_cast< int(*)>(_a[1]))); break;
  6695. default: ;
  6696. }
  6697. }
  6698. }
  6699. const QMetaObjectExtraData SerialScaleConfWidget::staticMetaObjectExtraData = {
  6700. 0, qt_static_metacall
  6701. };
  6702. const QMetaObject SerialScaleConfWidget::staticMetaObject = {
  6703. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_SerialScaleConfWidget,
  6704. qt_meta_data_SerialScaleConfWidget, &staticMetaObjectExtraData }
  6705. };
  6706. #ifdef Q_NO_DATA_RELOCATION
  6707. const QMetaObject &SerialScaleConfWidget::getStaticMetaObject() { return staticMetaObject; }
  6708. #endif //Q_NO_DATA_RELOCATION
  6709. const QMetaObject *SerialScaleConfWidget::metaObject() const
  6710. {
  6711. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  6712. }
  6713. void *SerialScaleConfWidget::qt_metacast(const char *_clname)
  6714. {
  6715. if (!_clname) return 0;
  6716. if (!strcmp(_clname, qt_meta_stringdata_SerialScaleConfWidget))
  6717. return static_cast<void*>(const_cast< SerialScaleConfWidget*>(this));
  6718. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  6719. }
  6720. int SerialScaleConfWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  6721. {
  6722. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  6723. if (_id < 0)
  6724. return _id;
  6725. if (_c == QMetaObject::InvokeMetaMethod) {
  6726. if (_id < 5)
  6727. qt_static_metacall(this, _c, _id, _a);
  6728. _id -= 5;
  6729. }
  6730. return _id;
  6731. }
  6732. static const uint qt_meta_data_ValueAnnotationConfWidget[] = {
  6733. // content:
  6734. 6, // revision
  6735. 0, // classname
  6736. 0, 0, // classinfo
  6737. 3, 14, // methods
  6738. 0, 0, // properties
  6739. 0, 0, // enums/sets
  6740. 1, 29, // constructors
  6741. 0, // flags
  6742. 0, // signalCount
  6743. // slots: signature, parameters, type, tag, flags
  6744. 34, 27, 26, 26, 0x08,
  6745. 62, 26, 26, 26, 0x08,
  6746. 94, 82, 26, 26, 0x08,
  6747. // constructors: signature, parameters, type, tag, flags
  6748. 124, 112, 26, 26, 0x0e,
  6749. 0 // eod
  6750. };
  6751. static const char qt_meta_stringdata_ValueAnnotationConfWidget[] = {
  6752. "ValueAnnotationConfWidget\0\0source\0"
  6753. "updateSourceColumn(QString)\0"
  6754. "updateAnnotations()\0noteOnStart\0"
  6755. "updateStart(bool)\0model,index\0"
  6756. "ValueAnnotationConfWidget(DeviceTreeModel*,QModelIndex)\0"
  6757. };
  6758. void ValueAnnotationConfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  6759. {
  6760. if (_c == QMetaObject::CreateInstance) {
  6761. switch (_id) {
  6762. case 0: { ValueAnnotationConfWidget *_r = new ValueAnnotationConfWidget((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  6763. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  6764. }
  6765. } else if (_c == QMetaObject::InvokeMetaMethod) {
  6766. Q_ASSERT(staticMetaObject.cast(_o));
  6767. ValueAnnotationConfWidget *_t = static_cast<ValueAnnotationConfWidget *>(_o);
  6768. switch (_id) {
  6769. case 0: _t->updateSourceColumn((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  6770. case 1: _t->updateAnnotations(); break;
  6771. case 2: _t->updateStart((*reinterpret_cast< bool(*)>(_a[1]))); break;
  6772. default: ;
  6773. }
  6774. }
  6775. }
  6776. const QMetaObjectExtraData ValueAnnotationConfWidget::staticMetaObjectExtraData = {
  6777. 0, qt_static_metacall
  6778. };
  6779. const QMetaObject ValueAnnotationConfWidget::staticMetaObject = {
  6780. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_ValueAnnotationConfWidget,
  6781. qt_meta_data_ValueAnnotationConfWidget, &staticMetaObjectExtraData }
  6782. };
  6783. #ifdef Q_NO_DATA_RELOCATION
  6784. const QMetaObject &ValueAnnotationConfWidget::getStaticMetaObject() { return staticMetaObject; }
  6785. #endif //Q_NO_DATA_RELOCATION
  6786. const QMetaObject *ValueAnnotationConfWidget::metaObject() const
  6787. {
  6788. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  6789. }
  6790. void *ValueAnnotationConfWidget::qt_metacast(const char *_clname)
  6791. {
  6792. if (!_clname) return 0;
  6793. if (!strcmp(_clname, qt_meta_stringdata_ValueAnnotationConfWidget))
  6794. return static_cast<void*>(const_cast< ValueAnnotationConfWidget*>(this));
  6795. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  6796. }
  6797. int ValueAnnotationConfWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  6798. {
  6799. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  6800. if (_id < 0)
  6801. return _id;
  6802. if (_c == QMetaObject::InvokeMetaMethod) {
  6803. if (_id < 3)
  6804. qt_static_metacall(this, _c, _id, _a);
  6805. _id -= 3;
  6806. }
  6807. return _id;
  6808. }
  6809. static const uint qt_meta_data_ValueAnnotation[] = {
  6810. // content:
  6811. 6, // revision
  6812. 0, // classname
  6813. 0, 0, // classinfo
  6814. 7, 14, // methods
  6815. 0, 0, // properties
  6816. 0, 0, // enums/sets
  6817. 0, 0, // constructors
  6818. 0, // flags
  6819. 1, // signalCount
  6820. // signals: signature, parameters, type, tag, flags
  6821. 50, 17, 16, 16, 0x05,
  6822. // slots: signature, parameters, type, tag, flags
  6823. 86, 78, 16, 16, 0x0a,
  6824. 114, 16, 16, 16, 0x0a,
  6825. 132, 125, 16, 16, 0x0a,
  6826. 157, 125, 16, 16, 0x0a,
  6827. 191, 183, 16, 16, 0x0a,
  6828. // methods: signature, parameters, type, tag, flags
  6829. 229, 212, 16, 16, 0x02,
  6830. 0 // eod
  6831. };
  6832. static const char qt_meta_stringdata_ValueAnnotation[] = {
  6833. "ValueAnnotation\0\0annotation,tempcolumn,notecolumn\0"
  6834. "annotation(QString,int,int)\0measure\0"
  6835. "newMeasurement(Measurement)\0annotate()\0"
  6836. "column\0setAnnotationColumn(int)\0"
  6837. "setTemperatureColumn(int)\0epsilon\0"
  6838. "setTolerance(double)\0value,annotation\0"
  6839. "setAnnotation(double,QString)\0"
  6840. };
  6841. void ValueAnnotation::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  6842. {
  6843. if (_c == QMetaObject::InvokeMetaMethod) {
  6844. Q_ASSERT(staticMetaObject.cast(_o));
  6845. ValueAnnotation *_t = static_cast<ValueAnnotation *>(_o);
  6846. switch (_id) {
  6847. case 0: _t->annotation((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
  6848. case 1: _t->newMeasurement((*reinterpret_cast< Measurement(*)>(_a[1]))); break;
  6849. case 2: _t->annotate(); break;
  6850. case 3: _t->setAnnotationColumn((*reinterpret_cast< int(*)>(_a[1]))); break;
  6851. case 4: _t->setTemperatureColumn((*reinterpret_cast< int(*)>(_a[1]))); break;
  6852. case 5: _t->setTolerance((*reinterpret_cast< double(*)>(_a[1]))); break;
  6853. case 6: _t->setAnnotation((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
  6854. default: ;
  6855. }
  6856. }
  6857. }
  6858. const QMetaObjectExtraData ValueAnnotation::staticMetaObjectExtraData = {
  6859. 0, qt_static_metacall
  6860. };
  6861. const QMetaObject ValueAnnotation::staticMetaObject = {
  6862. { &QObject::staticMetaObject, qt_meta_stringdata_ValueAnnotation,
  6863. qt_meta_data_ValueAnnotation, &staticMetaObjectExtraData }
  6864. };
  6865. #ifdef Q_NO_DATA_RELOCATION
  6866. const QMetaObject &ValueAnnotation::getStaticMetaObject() { return staticMetaObject; }
  6867. #endif //Q_NO_DATA_RELOCATION
  6868. const QMetaObject *ValueAnnotation::metaObject() const
  6869. {
  6870. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  6871. }
  6872. void *ValueAnnotation::qt_metacast(const char *_clname)
  6873. {
  6874. if (!_clname) return 0;
  6875. if (!strcmp(_clname, qt_meta_stringdata_ValueAnnotation))
  6876. return static_cast<void*>(const_cast< ValueAnnotation*>(this));
  6877. return QObject::qt_metacast(_clname);
  6878. }
  6879. int ValueAnnotation::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  6880. {
  6881. _id = QObject::qt_metacall(_c, _id, _a);
  6882. if (_id < 0)
  6883. return _id;
  6884. if (_c == QMetaObject::InvokeMetaMethod) {
  6885. if (_id < 7)
  6886. qt_static_metacall(this, _c, _id, _a);
  6887. _id -= 7;
  6888. }
  6889. return _id;
  6890. }
  6891. // SIGNAL 0
  6892. void ValueAnnotation::annotation(QString _t1, int _t2, int _t3)
  6893. {
  6894. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
  6895. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  6896. }
  6897. QT_END_MOC_NAMESPACE