Typica is a free program for professional coffee roasters. https://typica.us
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

moc_typica.cpp 260KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976
  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. 4, 14, // methods
  3259. 0, 0, // properties
  3260. 0, 0, // enums/sets
  3261. 1, 34, // constructors
  3262. 0, // flags
  3263. 0, // signalCount
  3264. // slots: signature, parameters, type, tag, flags
  3265. 22, 19, 18, 18, 0x08,
  3266. 49, 43, 18, 18, 0x08,
  3267. 74, 43, 18, 18, 0x08,
  3268. 98, 43, 18, 18, 0x08,
  3269. // constructors: signature, parameters, type, tag, flags
  3270. 138, 126, 18, 18, 0x0e,
  3271. 0 // eod
  3272. };
  3273. static const char qt_meta_stringdata_RoasterConfWidget[] = {
  3274. "RoasterConfWidget\0\0id\0updateRoasterId(int)\0"
  3275. "value\0updateCapacityCheck(int)\0"
  3276. "updateCapacity(QString)\0"
  3277. "updateCapacityUnit(QString)\0model,index\0"
  3278. "RoasterConfWidget(DeviceTreeModel*,QModelIndex)\0"
  3279. };
  3280. void RoasterConfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  3281. {
  3282. if (_c == QMetaObject::CreateInstance) {
  3283. switch (_id) {
  3284. case 0: { RoasterConfWidget *_r = new RoasterConfWidget((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  3285. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  3286. }
  3287. } else if (_c == QMetaObject::InvokeMetaMethod) {
  3288. Q_ASSERT(staticMetaObject.cast(_o));
  3289. RoasterConfWidget *_t = static_cast<RoasterConfWidget *>(_o);
  3290. switch (_id) {
  3291. case 0: _t->updateRoasterId((*reinterpret_cast< int(*)>(_a[1]))); break;
  3292. case 1: _t->updateCapacityCheck((*reinterpret_cast< int(*)>(_a[1]))); break;
  3293. case 2: _t->updateCapacity((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  3294. case 3: _t->updateCapacityUnit((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  3295. default: ;
  3296. }
  3297. }
  3298. }
  3299. const QMetaObjectExtraData RoasterConfWidget::staticMetaObjectExtraData = {
  3300. 0, qt_static_metacall
  3301. };
  3302. const QMetaObject RoasterConfWidget::staticMetaObject = {
  3303. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_RoasterConfWidget,
  3304. qt_meta_data_RoasterConfWidget, &staticMetaObjectExtraData }
  3305. };
  3306. #ifdef Q_NO_DATA_RELOCATION
  3307. const QMetaObject &RoasterConfWidget::getStaticMetaObject() { return staticMetaObject; }
  3308. #endif //Q_NO_DATA_RELOCATION
  3309. const QMetaObject *RoasterConfWidget::metaObject() const
  3310. {
  3311. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  3312. }
  3313. void *RoasterConfWidget::qt_metacast(const char *_clname)
  3314. {
  3315. if (!_clname) return 0;
  3316. if (!strcmp(_clname, qt_meta_stringdata_RoasterConfWidget))
  3317. return static_cast<void*>(const_cast< RoasterConfWidget*>(this));
  3318. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  3319. }
  3320. int RoasterConfWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  3321. {
  3322. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  3323. if (_id < 0)
  3324. return _id;
  3325. if (_c == QMetaObject::InvokeMetaMethod) {
  3326. if (_id < 4)
  3327. qt_static_metacall(this, _c, _id, _a);
  3328. _id -= 4;
  3329. }
  3330. return _id;
  3331. }
  3332. static const uint qt_meta_data_NiDaqMxBaseDriverConfWidget[] = {
  3333. // content:
  3334. 6, // revision
  3335. 0, // classname
  3336. 0, 0, // classinfo
  3337. 0, 0, // methods
  3338. 0, 0, // properties
  3339. 0, 0, // enums/sets
  3340. 1, 14, // constructors
  3341. 0, // flags
  3342. 0, // signalCount
  3343. // constructors: signature, parameters, type, tag, flags
  3344. 41, 29, 28, 28, 0x0e,
  3345. 0 // eod
  3346. };
  3347. static const char qt_meta_stringdata_NiDaqMxBaseDriverConfWidget[] = {
  3348. "NiDaqMxBaseDriverConfWidget\0\0model,index\0"
  3349. "NiDaqMxBaseDriverConfWidget(DeviceTreeModel*,QModelIndex)\0"
  3350. };
  3351. void NiDaqMxBaseDriverConfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  3352. {
  3353. if (_c == QMetaObject::CreateInstance) {
  3354. switch (_id) {
  3355. case 0: { NiDaqMxBaseDriverConfWidget *_r = new NiDaqMxBaseDriverConfWidget((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  3356. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  3357. }
  3358. }
  3359. Q_UNUSED(_o);
  3360. }
  3361. const QMetaObjectExtraData NiDaqMxBaseDriverConfWidget::staticMetaObjectExtraData = {
  3362. 0, qt_static_metacall
  3363. };
  3364. const QMetaObject NiDaqMxBaseDriverConfWidget::staticMetaObject = {
  3365. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_NiDaqMxBaseDriverConfWidget,
  3366. qt_meta_data_NiDaqMxBaseDriverConfWidget, &staticMetaObjectExtraData }
  3367. };
  3368. #ifdef Q_NO_DATA_RELOCATION
  3369. const QMetaObject &NiDaqMxBaseDriverConfWidget::getStaticMetaObject() { return staticMetaObject; }
  3370. #endif //Q_NO_DATA_RELOCATION
  3371. const QMetaObject *NiDaqMxBaseDriverConfWidget::metaObject() const
  3372. {
  3373. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  3374. }
  3375. void *NiDaqMxBaseDriverConfWidget::qt_metacast(const char *_clname)
  3376. {
  3377. if (!_clname) return 0;
  3378. if (!strcmp(_clname, qt_meta_stringdata_NiDaqMxBaseDriverConfWidget))
  3379. return static_cast<void*>(const_cast< NiDaqMxBaseDriverConfWidget*>(this));
  3380. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  3381. }
  3382. int NiDaqMxBaseDriverConfWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  3383. {
  3384. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  3385. if (_id < 0)
  3386. return _id;
  3387. return _id;
  3388. }
  3389. static const uint qt_meta_data_NiDaqMxBase9211ConfWidget[] = {
  3390. // content:
  3391. 6, // revision
  3392. 0, // classname
  3393. 0, 0, // classinfo
  3394. 2, 14, // methods
  3395. 0, 0, // properties
  3396. 0, 0, // enums/sets
  3397. 1, 24, // constructors
  3398. 0, // flags
  3399. 0, // signalCount
  3400. // slots: signature, parameters, type, tag, flags
  3401. 27, 26, 26, 26, 0x08,
  3402. 46, 40, 26, 26, 0x08,
  3403. // constructors: signature, parameters, type, tag, flags
  3404. 83, 70, 26, 26, 0x0e,
  3405. 0 // eod
  3406. };
  3407. static const char qt_meta_stringdata_NiDaqMxBase9211ConfWidget[] = {
  3408. "NiDaqMxBase9211ConfWidget\0\0addChannel()\0"
  3409. "newId\0updateDeviceId(QString)\0"
  3410. "device,index\0"
  3411. "NiDaqMxBase9211ConfWidget(DeviceTreeModel*,QModelIndex)\0"
  3412. };
  3413. void NiDaqMxBase9211ConfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  3414. {
  3415. if (_c == QMetaObject::CreateInstance) {
  3416. switch (_id) {
  3417. case 0: { NiDaqMxBase9211ConfWidget *_r = new NiDaqMxBase9211ConfWidget((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  3418. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  3419. }
  3420. } else if (_c == QMetaObject::InvokeMetaMethod) {
  3421. Q_ASSERT(staticMetaObject.cast(_o));
  3422. NiDaqMxBase9211ConfWidget *_t = static_cast<NiDaqMxBase9211ConfWidget *>(_o);
  3423. switch (_id) {
  3424. case 0: _t->addChannel(); break;
  3425. case 1: _t->updateDeviceId((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  3426. default: ;
  3427. }
  3428. }
  3429. }
  3430. const QMetaObjectExtraData NiDaqMxBase9211ConfWidget::staticMetaObjectExtraData = {
  3431. 0, qt_static_metacall
  3432. };
  3433. const QMetaObject NiDaqMxBase9211ConfWidget::staticMetaObject = {
  3434. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_NiDaqMxBase9211ConfWidget,
  3435. qt_meta_data_NiDaqMxBase9211ConfWidget, &staticMetaObjectExtraData }
  3436. };
  3437. #ifdef Q_NO_DATA_RELOCATION
  3438. const QMetaObject &NiDaqMxBase9211ConfWidget::getStaticMetaObject() { return staticMetaObject; }
  3439. #endif //Q_NO_DATA_RELOCATION
  3440. const QMetaObject *NiDaqMxBase9211ConfWidget::metaObject() const
  3441. {
  3442. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  3443. }
  3444. void *NiDaqMxBase9211ConfWidget::qt_metacast(const char *_clname)
  3445. {
  3446. if (!_clname) return 0;
  3447. if (!strcmp(_clname, qt_meta_stringdata_NiDaqMxBase9211ConfWidget))
  3448. return static_cast<void*>(const_cast< NiDaqMxBase9211ConfWidget*>(this));
  3449. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  3450. }
  3451. int NiDaqMxBase9211ConfWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  3452. {
  3453. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  3454. if (_id < 0)
  3455. return _id;
  3456. if (_c == QMetaObject::InvokeMetaMethod) {
  3457. if (_id < 2)
  3458. qt_static_metacall(this, _c, _id, _a);
  3459. _id -= 2;
  3460. }
  3461. return _id;
  3462. }
  3463. static const uint qt_meta_data_Ni9211TcConfWidget[] = {
  3464. // content:
  3465. 6, // revision
  3466. 0, // classname
  3467. 0, 0, // classinfo
  3468. 3, 14, // methods
  3469. 0, 0, // properties
  3470. 0, 0, // enums/sets
  3471. 1, 29, // constructors
  3472. 0, // flags
  3473. 0, // signalCount
  3474. // slots: signature, parameters, type, tag, flags
  3475. 25, 20, 19, 19, 0x08,
  3476. 62, 57, 19, 19, 0x08,
  3477. 95, 88, 19, 19, 0x08,
  3478. // constructors: signature, parameters, type, tag, flags
  3479. 127, 114, 19, 19, 0x0e,
  3480. 0 // eod
  3481. };
  3482. static const char qt_meta_stringdata_Ni9211TcConfWidget[] = {
  3483. "Ni9211TcConfWidget\0\0type\0"
  3484. "updateThermocoupleType(QString)\0name\0"
  3485. "updateColumnName(QString)\0hidden\0"
  3486. "updateHidden(bool)\0device,index\0"
  3487. "Ni9211TcConfWidget(DeviceTreeModel*,QModelIndex)\0"
  3488. };
  3489. void Ni9211TcConfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  3490. {
  3491. if (_c == QMetaObject::CreateInstance) {
  3492. switch (_id) {
  3493. case 0: { Ni9211TcConfWidget *_r = new Ni9211TcConfWidget((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  3494. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  3495. }
  3496. } else if (_c == QMetaObject::InvokeMetaMethod) {
  3497. Q_ASSERT(staticMetaObject.cast(_o));
  3498. Ni9211TcConfWidget *_t = static_cast<Ni9211TcConfWidget *>(_o);
  3499. switch (_id) {
  3500. case 0: _t->updateThermocoupleType((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  3501. case 1: _t->updateColumnName((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  3502. case 2: _t->updateHidden((*reinterpret_cast< bool(*)>(_a[1]))); break;
  3503. default: ;
  3504. }
  3505. }
  3506. }
  3507. const QMetaObjectExtraData Ni9211TcConfWidget::staticMetaObjectExtraData = {
  3508. 0, qt_static_metacall
  3509. };
  3510. const QMetaObject Ni9211TcConfWidget::staticMetaObject = {
  3511. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_Ni9211TcConfWidget,
  3512. qt_meta_data_Ni9211TcConfWidget, &staticMetaObjectExtraData }
  3513. };
  3514. #ifdef Q_NO_DATA_RELOCATION
  3515. const QMetaObject &Ni9211TcConfWidget::getStaticMetaObject() { return staticMetaObject; }
  3516. #endif //Q_NO_DATA_RELOCATION
  3517. const QMetaObject *Ni9211TcConfWidget::metaObject() const
  3518. {
  3519. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  3520. }
  3521. void *Ni9211TcConfWidget::qt_metacast(const char *_clname)
  3522. {
  3523. if (!_clname) return 0;
  3524. if (!strcmp(_clname, qt_meta_stringdata_Ni9211TcConfWidget))
  3525. return static_cast<void*>(const_cast< Ni9211TcConfWidget*>(this));
  3526. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  3527. }
  3528. int Ni9211TcConfWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  3529. {
  3530. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  3531. if (_id < 0)
  3532. return _id;
  3533. if (_c == QMetaObject::InvokeMetaMethod) {
  3534. if (_id < 3)
  3535. qt_static_metacall(this, _c, _id, _a);
  3536. _id -= 3;
  3537. }
  3538. return _id;
  3539. }
  3540. static const uint qt_meta_data_NiDaqMxDriverConfWidget[] = {
  3541. // content:
  3542. 6, // revision
  3543. 0, // classname
  3544. 0, 0, // classinfo
  3545. 0, 0, // methods
  3546. 0, 0, // properties
  3547. 0, 0, // enums/sets
  3548. 1, 14, // constructors
  3549. 0, // flags
  3550. 0, // signalCount
  3551. // constructors: signature, parameters, type, tag, flags
  3552. 37, 25, 24, 24, 0x0e,
  3553. 0 // eod
  3554. };
  3555. static const char qt_meta_stringdata_NiDaqMxDriverConfWidget[] = {
  3556. "NiDaqMxDriverConfWidget\0\0model,index\0"
  3557. "NiDaqMxDriverConfWidget(DeviceTreeModel*,QModelIndex)\0"
  3558. };
  3559. void NiDaqMxDriverConfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  3560. {
  3561. if (_c == QMetaObject::CreateInstance) {
  3562. switch (_id) {
  3563. case 0: { NiDaqMxDriverConfWidget *_r = new NiDaqMxDriverConfWidget((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  3564. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  3565. }
  3566. }
  3567. Q_UNUSED(_o);
  3568. }
  3569. const QMetaObjectExtraData NiDaqMxDriverConfWidget::staticMetaObjectExtraData = {
  3570. 0, qt_static_metacall
  3571. };
  3572. const QMetaObject NiDaqMxDriverConfWidget::staticMetaObject = {
  3573. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_NiDaqMxDriverConfWidget,
  3574. qt_meta_data_NiDaqMxDriverConfWidget, &staticMetaObjectExtraData }
  3575. };
  3576. #ifdef Q_NO_DATA_RELOCATION
  3577. const QMetaObject &NiDaqMxDriverConfWidget::getStaticMetaObject() { return staticMetaObject; }
  3578. #endif //Q_NO_DATA_RELOCATION
  3579. const QMetaObject *NiDaqMxDriverConfWidget::metaObject() const
  3580. {
  3581. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  3582. }
  3583. void *NiDaqMxDriverConfWidget::qt_metacast(const char *_clname)
  3584. {
  3585. if (!_clname) return 0;
  3586. if (!strcmp(_clname, qt_meta_stringdata_NiDaqMxDriverConfWidget))
  3587. return static_cast<void*>(const_cast< NiDaqMxDriverConfWidget*>(this));
  3588. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  3589. }
  3590. int NiDaqMxDriverConfWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  3591. {
  3592. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  3593. if (_id < 0)
  3594. return _id;
  3595. return _id;
  3596. }
  3597. static const uint qt_meta_data_NiDaqMx9211ConfWidget[] = {
  3598. // content:
  3599. 6, // revision
  3600. 0, // classname
  3601. 0, 0, // classinfo
  3602. 2, 14, // methods
  3603. 0, 0, // properties
  3604. 0, 0, // enums/sets
  3605. 1, 24, // constructors
  3606. 0, // flags
  3607. 0, // signalCount
  3608. // slots: signature, parameters, type, tag, flags
  3609. 23, 22, 22, 22, 0x08,
  3610. 42, 36, 22, 22, 0x08,
  3611. // constructors: signature, parameters, type, tag, flags
  3612. 78, 66, 22, 22, 0x0e,
  3613. 0 // eod
  3614. };
  3615. static const char qt_meta_stringdata_NiDaqMx9211ConfWidget[] = {
  3616. "NiDaqMx9211ConfWidget\0\0addChannel()\0"
  3617. "newId\0updateDeviceId(QString)\0model,index\0"
  3618. "NiDaqMx9211ConfWidget(DeviceTreeModel*,QModelIndex)\0"
  3619. };
  3620. void NiDaqMx9211ConfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  3621. {
  3622. if (_c == QMetaObject::CreateInstance) {
  3623. switch (_id) {
  3624. case 0: { NiDaqMx9211ConfWidget *_r = new NiDaqMx9211ConfWidget((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  3625. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  3626. }
  3627. } else if (_c == QMetaObject::InvokeMetaMethod) {
  3628. Q_ASSERT(staticMetaObject.cast(_o));
  3629. NiDaqMx9211ConfWidget *_t = static_cast<NiDaqMx9211ConfWidget *>(_o);
  3630. switch (_id) {
  3631. case 0: _t->addChannel(); break;
  3632. case 1: _t->updateDeviceId((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  3633. default: ;
  3634. }
  3635. }
  3636. }
  3637. const QMetaObjectExtraData NiDaqMx9211ConfWidget::staticMetaObjectExtraData = {
  3638. 0, qt_static_metacall
  3639. };
  3640. const QMetaObject NiDaqMx9211ConfWidget::staticMetaObject = {
  3641. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_NiDaqMx9211ConfWidget,
  3642. qt_meta_data_NiDaqMx9211ConfWidget, &staticMetaObjectExtraData }
  3643. };
  3644. #ifdef Q_NO_DATA_RELOCATION
  3645. const QMetaObject &NiDaqMx9211ConfWidget::getStaticMetaObject() { return staticMetaObject; }
  3646. #endif //Q_NO_DATA_RELOCATION
  3647. const QMetaObject *NiDaqMx9211ConfWidget::metaObject() const
  3648. {
  3649. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  3650. }
  3651. void *NiDaqMx9211ConfWidget::qt_metacast(const char *_clname)
  3652. {
  3653. if (!_clname) return 0;
  3654. if (!strcmp(_clname, qt_meta_stringdata_NiDaqMx9211ConfWidget))
  3655. return static_cast<void*>(const_cast< NiDaqMx9211ConfWidget*>(this));
  3656. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  3657. }
  3658. int NiDaqMx9211ConfWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  3659. {
  3660. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  3661. if (_id < 0)
  3662. return _id;
  3663. if (_c == QMetaObject::InvokeMetaMethod) {
  3664. if (_id < 2)
  3665. qt_static_metacall(this, _c, _id, _a);
  3666. _id -= 2;
  3667. }
  3668. return _id;
  3669. }
  3670. static const uint qt_meta_data_NiDaqMxTc01ConfWidget[] = {
  3671. // content:
  3672. 6, // revision
  3673. 0, // classname
  3674. 0, 0, // classinfo
  3675. 4, 14, // methods
  3676. 0, 0, // properties
  3677. 0, 0, // enums/sets
  3678. 1, 34, // constructors
  3679. 0, // flags
  3680. 0, // signalCount
  3681. // slots: signature, parameters, type, tag, flags
  3682. 29, 23, 22, 22, 0x08,
  3683. 58, 53, 22, 22, 0x08,
  3684. 95, 90, 22, 22, 0x08,
  3685. 128, 121, 22, 22, 0x08,
  3686. // constructors: signature, parameters, type, tag, flags
  3687. 159, 147, 22, 22, 0x0e,
  3688. 0 // eod
  3689. };
  3690. static const char qt_meta_stringdata_NiDaqMxTc01ConfWidget[] = {
  3691. "NiDaqMxTc01ConfWidget\0\0newId\0"
  3692. "updateDeviceId(QString)\0type\0"
  3693. "updateThermocoupleType(QString)\0name\0"
  3694. "updateColumnName(QString)\0hidden\0"
  3695. "updateHidden(bool)\0model,index\0"
  3696. "NiDaqMxTc01ConfWidget(DeviceTreeModel*,QModelIndex)\0"
  3697. };
  3698. void NiDaqMxTc01ConfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  3699. {
  3700. if (_c == QMetaObject::CreateInstance) {
  3701. switch (_id) {
  3702. case 0: { NiDaqMxTc01ConfWidget *_r = new NiDaqMxTc01ConfWidget((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  3703. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  3704. }
  3705. } else if (_c == QMetaObject::InvokeMetaMethod) {
  3706. Q_ASSERT(staticMetaObject.cast(_o));
  3707. NiDaqMxTc01ConfWidget *_t = static_cast<NiDaqMxTc01ConfWidget *>(_o);
  3708. switch (_id) {
  3709. case 0: _t->updateDeviceId((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  3710. case 1: _t->updateThermocoupleType((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  3711. case 2: _t->updateColumnName((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  3712. case 3: _t->updateHidden((*reinterpret_cast< bool(*)>(_a[1]))); break;
  3713. default: ;
  3714. }
  3715. }
  3716. }
  3717. const QMetaObjectExtraData NiDaqMxTc01ConfWidget::staticMetaObjectExtraData = {
  3718. 0, qt_static_metacall
  3719. };
  3720. const QMetaObject NiDaqMxTc01ConfWidget::staticMetaObject = {
  3721. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_NiDaqMxTc01ConfWidget,
  3722. qt_meta_data_NiDaqMxTc01ConfWidget, &staticMetaObjectExtraData }
  3723. };
  3724. #ifdef Q_NO_DATA_RELOCATION
  3725. const QMetaObject &NiDaqMxTc01ConfWidget::getStaticMetaObject() { return staticMetaObject; }
  3726. #endif //Q_NO_DATA_RELOCATION
  3727. const QMetaObject *NiDaqMxTc01ConfWidget::metaObject() const
  3728. {
  3729. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  3730. }
  3731. void *NiDaqMxTc01ConfWidget::qt_metacast(const char *_clname)
  3732. {
  3733. if (!_clname) return 0;
  3734. if (!strcmp(_clname, qt_meta_stringdata_NiDaqMxTc01ConfWidget))
  3735. return static_cast<void*>(const_cast< NiDaqMxTc01ConfWidget*>(this));
  3736. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  3737. }
  3738. int NiDaqMxTc01ConfWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  3739. {
  3740. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  3741. if (_id < 0)
  3742. return _id;
  3743. if (_c == QMetaObject::InvokeMetaMethod) {
  3744. if (_id < 4)
  3745. qt_static_metacall(this, _c, _id, _a);
  3746. _id -= 4;
  3747. }
  3748. return _id;
  3749. }
  3750. static const uint qt_meta_data_PortSelector[] = {
  3751. // content:
  3752. 6, // revision
  3753. 0, // classname
  3754. 0, 0, // classinfo
  3755. 1, 14, // methods
  3756. 0, 0, // properties
  3757. 0, 0, // enums/sets
  3758. 0, 0, // constructors
  3759. 0, // flags
  3760. 0, // signalCount
  3761. // slots: signature, parameters, type, tag, flags
  3762. 19, 14, 13, 13, 0x08,
  3763. 0 // eod
  3764. };
  3765. static const char qt_meta_stringdata_PortSelector[] = {
  3766. "PortSelector\0\0port\0addDevice(QextPortInfo)\0"
  3767. };
  3768. void PortSelector::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  3769. {
  3770. if (_c == QMetaObject::InvokeMetaMethod) {
  3771. Q_ASSERT(staticMetaObject.cast(_o));
  3772. PortSelector *_t = static_cast<PortSelector *>(_o);
  3773. switch (_id) {
  3774. case 0: _t->addDevice((*reinterpret_cast< QextPortInfo(*)>(_a[1]))); break;
  3775. default: ;
  3776. }
  3777. }
  3778. }
  3779. const QMetaObjectExtraData PortSelector::staticMetaObjectExtraData = {
  3780. 0, qt_static_metacall
  3781. };
  3782. const QMetaObject PortSelector::staticMetaObject = {
  3783. { &QComboBox::staticMetaObject, qt_meta_stringdata_PortSelector,
  3784. qt_meta_data_PortSelector, &staticMetaObjectExtraData }
  3785. };
  3786. #ifdef Q_NO_DATA_RELOCATION
  3787. const QMetaObject &PortSelector::getStaticMetaObject() { return staticMetaObject; }
  3788. #endif //Q_NO_DATA_RELOCATION
  3789. const QMetaObject *PortSelector::metaObject() const
  3790. {
  3791. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  3792. }
  3793. void *PortSelector::qt_metacast(const char *_clname)
  3794. {
  3795. if (!_clname) return 0;
  3796. if (!strcmp(_clname, qt_meta_stringdata_PortSelector))
  3797. return static_cast<void*>(const_cast< PortSelector*>(this));
  3798. return QComboBox::qt_metacast(_clname);
  3799. }
  3800. int PortSelector::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  3801. {
  3802. _id = QComboBox::qt_metacall(_c, _id, _a);
  3803. if (_id < 0)
  3804. return _id;
  3805. if (_c == QMetaObject::InvokeMetaMethod) {
  3806. if (_id < 1)
  3807. qt_static_metacall(this, _c, _id, _a);
  3808. _id -= 1;
  3809. }
  3810. return _id;
  3811. }
  3812. static const uint qt_meta_data_BaudSelector[] = {
  3813. // content:
  3814. 6, // revision
  3815. 0, // classname
  3816. 0, 0, // classinfo
  3817. 0, 0, // methods
  3818. 0, 0, // properties
  3819. 1, 14, // enums/sets
  3820. 0, 0, // constructors
  3821. 0, // flags
  3822. 0, // signalCount
  3823. // enums: name, flags, count, data
  3824. 13, 0x0, 11, 18,
  3825. // enum data: key, value
  3826. 26, uint(BaudSelector::BAUD110),
  3827. 34, uint(BaudSelector::BAUD300),
  3828. 42, uint(BaudSelector::BAUD600),
  3829. 50, uint(BaudSelector::BAUD1200),
  3830. 59, uint(BaudSelector::BAUD2400),
  3831. 68, uint(BaudSelector::BAUD4800),
  3832. 77, uint(BaudSelector::BAUD9600),
  3833. 86, uint(BaudSelector::BAUD19200),
  3834. 96, uint(BaudSelector::BAUD38400),
  3835. 106, uint(BaudSelector::BAUD57600),
  3836. 116, uint(BaudSelector::BAUD115200),
  3837. 0 // eod
  3838. };
  3839. static const char qt_meta_stringdata_BaudSelector[] = {
  3840. "BaudSelector\0BaudRateType\0BAUD110\0"
  3841. "BAUD300\0BAUD600\0BAUD1200\0BAUD2400\0"
  3842. "BAUD4800\0BAUD9600\0BAUD19200\0BAUD38400\0"
  3843. "BAUD57600\0BAUD115200\0"
  3844. };
  3845. void BaudSelector::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  3846. {
  3847. Q_UNUSED(_o);
  3848. Q_UNUSED(_id);
  3849. Q_UNUSED(_c);
  3850. Q_UNUSED(_a);
  3851. }
  3852. const QMetaObjectExtraData BaudSelector::staticMetaObjectExtraData = {
  3853. 0, qt_static_metacall
  3854. };
  3855. const QMetaObject BaudSelector::staticMetaObject = {
  3856. { &QComboBox::staticMetaObject, qt_meta_stringdata_BaudSelector,
  3857. qt_meta_data_BaudSelector, &staticMetaObjectExtraData }
  3858. };
  3859. #ifdef Q_NO_DATA_RELOCATION
  3860. const QMetaObject &BaudSelector::getStaticMetaObject() { return staticMetaObject; }
  3861. #endif //Q_NO_DATA_RELOCATION
  3862. const QMetaObject *BaudSelector::metaObject() const
  3863. {
  3864. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  3865. }
  3866. void *BaudSelector::qt_metacast(const char *_clname)
  3867. {
  3868. if (!_clname) return 0;
  3869. if (!strcmp(_clname, qt_meta_stringdata_BaudSelector))
  3870. return static_cast<void*>(const_cast< BaudSelector*>(this));
  3871. return QComboBox::qt_metacast(_clname);
  3872. }
  3873. int BaudSelector::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  3874. {
  3875. _id = QComboBox::qt_metacall(_c, _id, _a);
  3876. if (_id < 0)
  3877. return _id;
  3878. return _id;
  3879. }
  3880. static const uint qt_meta_data_ParitySelector[] = {
  3881. // content:
  3882. 6, // revision
  3883. 0, // classname
  3884. 0, 0, // classinfo
  3885. 0, 0, // methods
  3886. 0, 0, // properties
  3887. 1, 14, // enums/sets
  3888. 0, 0, // constructors
  3889. 0, // flags
  3890. 0, // signalCount
  3891. // enums: name, flags, count, data
  3892. 15, 0x0, 4, 18,
  3893. // enum data: key, value
  3894. 26, uint(ParitySelector::PAR_NONE),
  3895. 35, uint(ParitySelector::PAR_ODD),
  3896. 43, uint(ParitySelector::PAR_EVEN),
  3897. 52, uint(ParitySelector::PAR_SPACE),
  3898. 0 // eod
  3899. };
  3900. static const char qt_meta_stringdata_ParitySelector[] = {
  3901. "ParitySelector\0ParityType\0PAR_NONE\0"
  3902. "PAR_ODD\0PAR_EVEN\0PAR_SPACE\0"
  3903. };
  3904. void ParitySelector::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  3905. {
  3906. Q_UNUSED(_o);
  3907. Q_UNUSED(_id);
  3908. Q_UNUSED(_c);
  3909. Q_UNUSED(_a);
  3910. }
  3911. const QMetaObjectExtraData ParitySelector::staticMetaObjectExtraData = {
  3912. 0, qt_static_metacall
  3913. };
  3914. const QMetaObject ParitySelector::staticMetaObject = {
  3915. { &QComboBox::staticMetaObject, qt_meta_stringdata_ParitySelector,
  3916. qt_meta_data_ParitySelector, &staticMetaObjectExtraData }
  3917. };
  3918. #ifdef Q_NO_DATA_RELOCATION
  3919. const QMetaObject &ParitySelector::getStaticMetaObject() { return staticMetaObject; }
  3920. #endif //Q_NO_DATA_RELOCATION
  3921. const QMetaObject *ParitySelector::metaObject() const
  3922. {
  3923. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  3924. }
  3925. void *ParitySelector::qt_metacast(const char *_clname)
  3926. {
  3927. if (!_clname) return 0;
  3928. if (!strcmp(_clname, qt_meta_stringdata_ParitySelector))
  3929. return static_cast<void*>(const_cast< ParitySelector*>(this));
  3930. return QComboBox::qt_metacast(_clname);
  3931. }
  3932. int ParitySelector::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  3933. {
  3934. _id = QComboBox::qt_metacall(_c, _id, _a);
  3935. if (_id < 0)
  3936. return _id;
  3937. return _id;
  3938. }
  3939. static const uint qt_meta_data_FlowSelector[] = {
  3940. // content:
  3941. 6, // revision
  3942. 0, // classname
  3943. 0, 0, // classinfo
  3944. 0, 0, // methods
  3945. 0, 0, // properties
  3946. 1, 14, // enums/sets
  3947. 0, 0, // constructors
  3948. 0, // flags
  3949. 0, // signalCount
  3950. // enums: name, flags, count, data
  3951. 13, 0x0, 3, 18,
  3952. // enum data: key, value
  3953. 22, uint(FlowSelector::FLOW_OFF),
  3954. 31, uint(FlowSelector::FLOW_HARDWARE),
  3955. 45, uint(FlowSelector::FLOW_XONXOFF),
  3956. 0 // eod
  3957. };
  3958. static const char qt_meta_stringdata_FlowSelector[] = {
  3959. "FlowSelector\0FlowType\0FLOW_OFF\0"
  3960. "FLOW_HARDWARE\0FLOW_XONXOFF\0"
  3961. };
  3962. void FlowSelector::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  3963. {
  3964. Q_UNUSED(_o);
  3965. Q_UNUSED(_id);
  3966. Q_UNUSED(_c);
  3967. Q_UNUSED(_a);
  3968. }
  3969. const QMetaObjectExtraData FlowSelector::staticMetaObjectExtraData = {
  3970. 0, qt_static_metacall
  3971. };
  3972. const QMetaObject FlowSelector::staticMetaObject = {
  3973. { &QComboBox::staticMetaObject, qt_meta_stringdata_FlowSelector,
  3974. qt_meta_data_FlowSelector, &staticMetaObjectExtraData }
  3975. };
  3976. #ifdef Q_NO_DATA_RELOCATION
  3977. const QMetaObject &FlowSelector::getStaticMetaObject() { return staticMetaObject; }
  3978. #endif //Q_NO_DATA_RELOCATION
  3979. const QMetaObject *FlowSelector::metaObject() const
  3980. {
  3981. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  3982. }
  3983. void *FlowSelector::qt_metacast(const char *_clname)
  3984. {
  3985. if (!_clname) return 0;
  3986. if (!strcmp(_clname, qt_meta_stringdata_FlowSelector))
  3987. return static_cast<void*>(const_cast< FlowSelector*>(this));
  3988. return QComboBox::qt_metacast(_clname);
  3989. }
  3990. int FlowSelector::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  3991. {
  3992. _id = QComboBox::qt_metacall(_c, _id, _a);
  3993. if (_id < 0)
  3994. return _id;
  3995. return _id;
  3996. }
  3997. static const uint qt_meta_data_StopSelector[] = {
  3998. // content:
  3999. 6, // revision
  4000. 0, // classname
  4001. 0, 0, // classinfo
  4002. 0, 0, // methods
  4003. 0, 0, // properties
  4004. 1, 14, // enums/sets
  4005. 0, 0, // constructors
  4006. 0, // flags
  4007. 0, // signalCount
  4008. // enums: name, flags, count, data
  4009. 13, 0x0, 2, 18,
  4010. // enum data: key, value
  4011. 26, uint(StopSelector::STOP_1),
  4012. 33, uint(StopSelector::STOP_2),
  4013. 0 // eod
  4014. };
  4015. static const char qt_meta_stringdata_StopSelector[] = {
  4016. "StopSelector\0StopBitsType\0STOP_1\0"
  4017. "STOP_2\0"
  4018. };
  4019. void StopSelector::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  4020. {
  4021. Q_UNUSED(_o);
  4022. Q_UNUSED(_id);
  4023. Q_UNUSED(_c);
  4024. Q_UNUSED(_a);
  4025. }
  4026. const QMetaObjectExtraData StopSelector::staticMetaObjectExtraData = {
  4027. 0, qt_static_metacall
  4028. };
  4029. const QMetaObject StopSelector::staticMetaObject = {
  4030. { &QComboBox::staticMetaObject, qt_meta_stringdata_StopSelector,
  4031. qt_meta_data_StopSelector, &staticMetaObjectExtraData }
  4032. };
  4033. #ifdef Q_NO_DATA_RELOCATION
  4034. const QMetaObject &StopSelector::getStaticMetaObject() { return staticMetaObject; }
  4035. #endif //Q_NO_DATA_RELOCATION
  4036. const QMetaObject *StopSelector::metaObject() const
  4037. {
  4038. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  4039. }
  4040. void *StopSelector::qt_metacast(const char *_clname)
  4041. {
  4042. if (!_clname) return 0;
  4043. if (!strcmp(_clname, qt_meta_stringdata_StopSelector))
  4044. return static_cast<void*>(const_cast< StopSelector*>(this));
  4045. return QComboBox::qt_metacast(_clname);
  4046. }
  4047. int StopSelector::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  4048. {
  4049. _id = QComboBox::qt_metacall(_c, _id, _a);
  4050. if (_id < 0)
  4051. return _id;
  4052. return _id;
  4053. }
  4054. static const uint qt_meta_data_ShortHexSpinBox[] = {
  4055. // content:
  4056. 6, // revision
  4057. 0, // classname
  4058. 0, 0, // classinfo
  4059. 0, 0, // methods
  4060. 0, 0, // properties
  4061. 0, 0, // enums/sets
  4062. 0, 0, // constructors
  4063. 0, // flags
  4064. 0, // signalCount
  4065. 0 // eod
  4066. };
  4067. static const char qt_meta_stringdata_ShortHexSpinBox[] = {
  4068. "ShortHexSpinBox\0"
  4069. };
  4070. void ShortHexSpinBox::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  4071. {
  4072. Q_UNUSED(_o);
  4073. Q_UNUSED(_id);
  4074. Q_UNUSED(_c);
  4075. Q_UNUSED(_a);
  4076. }
  4077. const QMetaObjectExtraData ShortHexSpinBox::staticMetaObjectExtraData = {
  4078. 0, qt_static_metacall
  4079. };
  4080. const QMetaObject ShortHexSpinBox::staticMetaObject = {
  4081. { &QSpinBox::staticMetaObject, qt_meta_stringdata_ShortHexSpinBox,
  4082. qt_meta_data_ShortHexSpinBox, &staticMetaObjectExtraData }
  4083. };
  4084. #ifdef Q_NO_DATA_RELOCATION
  4085. const QMetaObject &ShortHexSpinBox::getStaticMetaObject() { return staticMetaObject; }
  4086. #endif //Q_NO_DATA_RELOCATION
  4087. const QMetaObject *ShortHexSpinBox::metaObject() const
  4088. {
  4089. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  4090. }
  4091. void *ShortHexSpinBox::qt_metacast(const char *_clname)
  4092. {
  4093. if (!_clname) return 0;
  4094. if (!strcmp(_clname, qt_meta_stringdata_ShortHexSpinBox))
  4095. return static_cast<void*>(const_cast< ShortHexSpinBox*>(this));
  4096. return QSpinBox::qt_metacast(_clname);
  4097. }
  4098. int ShortHexSpinBox::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  4099. {
  4100. _id = QSpinBox::qt_metacall(_c, _id, _a);
  4101. if (_id < 0)
  4102. return _id;
  4103. return _id;
  4104. }
  4105. static const uint qt_meta_data_ModbusRtuPortConfWidget[] = {
  4106. // content:
  4107. 6, // revision
  4108. 0, // classname
  4109. 0, 0, // classinfo
  4110. 5, 14, // methods
  4111. 0, 0, // properties
  4112. 0, 0, // enums/sets
  4113. 1, 39, // constructors
  4114. 0, // flags
  4115. 0, // signalCount
  4116. // slots: signature, parameters, type, tag, flags
  4117. 33, 25, 24, 24, 0x08,
  4118. 61, 53, 24, 24, 0x08,
  4119. 95, 85, 24, 24, 0x08,
  4120. 125, 117, 24, 24, 0x08,
  4121. 164, 152, 24, 24, 0x08,
  4122. // constructors: signature, parameters, type, tag, flags
  4123. 200, 188, 24, 24, 0x0e,
  4124. 0 // eod
  4125. };
  4126. static const char qt_meta_stringdata_ModbusRtuPortConfWidget[] = {
  4127. "ModbusRtuPortConfWidget\0\0newPort\0"
  4128. "updatePort(QString)\0newRate\0"
  4129. "updateBaudRate(QString)\0newParity\0"
  4130. "updateParity(QString)\0newFlow\0"
  4131. "updateFlowControl(QString)\0newStopBits\0"
  4132. "updateStopBits(QString)\0model,index\0"
  4133. "ModbusRtuPortConfWidget(DeviceTreeModel*,QModelIndex)\0"
  4134. };
  4135. void ModbusRtuPortConfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  4136. {
  4137. if (_c == QMetaObject::CreateInstance) {
  4138. switch (_id) {
  4139. case 0: { ModbusRtuPortConfWidget *_r = new ModbusRtuPortConfWidget((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  4140. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  4141. }
  4142. } else if (_c == QMetaObject::InvokeMetaMethod) {
  4143. Q_ASSERT(staticMetaObject.cast(_o));
  4144. ModbusRtuPortConfWidget *_t = static_cast<ModbusRtuPortConfWidget *>(_o);
  4145. switch (_id) {
  4146. case 0: _t->updatePort((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  4147. case 1: _t->updateBaudRate((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  4148. case 2: _t->updateParity((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  4149. case 3: _t->updateFlowControl((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  4150. case 4: _t->updateStopBits((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  4151. default: ;
  4152. }
  4153. }
  4154. }
  4155. const QMetaObjectExtraData ModbusRtuPortConfWidget::staticMetaObjectExtraData = {
  4156. 0, qt_static_metacall
  4157. };
  4158. const QMetaObject ModbusRtuPortConfWidget::staticMetaObject = {
  4159. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_ModbusRtuPortConfWidget,
  4160. qt_meta_data_ModbusRtuPortConfWidget, &staticMetaObjectExtraData }
  4161. };
  4162. #ifdef Q_NO_DATA_RELOCATION
  4163. const QMetaObject &ModbusRtuPortConfWidget::getStaticMetaObject() { return staticMetaObject; }
  4164. #endif //Q_NO_DATA_RELOCATION
  4165. const QMetaObject *ModbusRtuPortConfWidget::metaObject() const
  4166. {
  4167. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  4168. }
  4169. void *ModbusRtuPortConfWidget::qt_metacast(const char *_clname)
  4170. {
  4171. if (!_clname) return 0;
  4172. if (!strcmp(_clname, qt_meta_stringdata_ModbusRtuPortConfWidget))
  4173. return static_cast<void*>(const_cast< ModbusRtuPortConfWidget*>(this));
  4174. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  4175. }
  4176. int ModbusRtuPortConfWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  4177. {
  4178. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  4179. if (_id < 0)
  4180. return _id;
  4181. if (_c == QMetaObject::InvokeMetaMethod) {
  4182. if (_id < 5)
  4183. qt_static_metacall(this, _c, _id, _a);
  4184. _id -= 5;
  4185. }
  4186. return _id;
  4187. }
  4188. static const uint qt_meta_data_ModbusRtuDeviceConfWidget[] = {
  4189. // content:
  4190. 6, // revision
  4191. 0, // classname
  4192. 0, 0, // classinfo
  4193. 9, 14, // methods
  4194. 0, 0, // properties
  4195. 0, 0, // enums/sets
  4196. 1, 59, // constructors
  4197. 0, // flags
  4198. 0, // signalCount
  4199. // slots: signature, parameters, type, tag, flags
  4200. 38, 27, 26, 26, 0x08,
  4201. 72, 63, 26, 26, 0x08,
  4202. 94, 63, 26, 26, 0x08,
  4203. 127, 119, 26, 26, 0x08,
  4204. 158, 147, 26, 26, 0x08,
  4205. 190, 181, 26, 26, 0x08,
  4206. 208, 181, 26, 26, 0x08,
  4207. 226, 147, 26, 26, 0x08,
  4208. 254, 181, 26, 26, 0x08,
  4209. // constructors: signature, parameters, type, tag, flags
  4210. 292, 280, 26, 26, 0x0e,
  4211. 0 // eod
  4212. };
  4213. static const char qt_meta_stringdata_ModbusRtuDeviceConfWidget[] = {
  4214. "ModbusRtuDeviceConfWidget\0\0newStation\0"
  4215. "updateStationNumber(int)\0newFixed\0"
  4216. "updateFixedUnit(bool)\0updateFixedDecimal(bool)\0"
  4217. "newUnit\0updateUnit(QString)\0newAddress\0"
  4218. "updateUnitAddress(int)\0newValue\0"
  4219. "updateValueF(int)\0updateValueC(int)\0"
  4220. "updatePrecisionAddress(int)\0"
  4221. "updatePrecisionValue(int)\0model,index\0"
  4222. "ModbusRtuDeviceConfWidget(DeviceTreeModel*,QModelIndex)\0"
  4223. };
  4224. void ModbusRtuDeviceConfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  4225. {
  4226. if (_c == QMetaObject::CreateInstance) {
  4227. switch (_id) {
  4228. case 0: { ModbusRtuDeviceConfWidget *_r = new ModbusRtuDeviceConfWidget((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  4229. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  4230. }
  4231. } else if (_c == QMetaObject::InvokeMetaMethod) {
  4232. Q_ASSERT(staticMetaObject.cast(_o));
  4233. ModbusRtuDeviceConfWidget *_t = static_cast<ModbusRtuDeviceConfWidget *>(_o);
  4234. switch (_id) {
  4235. case 0: _t->updateStationNumber((*reinterpret_cast< int(*)>(_a[1]))); break;
  4236. case 1: _t->updateFixedUnit((*reinterpret_cast< bool(*)>(_a[1]))); break;
  4237. case 2: _t->updateFixedDecimal((*reinterpret_cast< bool(*)>(_a[1]))); break;
  4238. case 3: _t->updateUnit((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  4239. case 4: _t->updateUnitAddress((*reinterpret_cast< int(*)>(_a[1]))); break;
  4240. case 5: _t->updateValueF((*reinterpret_cast< int(*)>(_a[1]))); break;
  4241. case 6: _t->updateValueC((*reinterpret_cast< int(*)>(_a[1]))); break;
  4242. case 7: _t->updatePrecisionAddress((*reinterpret_cast< int(*)>(_a[1]))); break;
  4243. case 8: _t->updatePrecisionValue((*reinterpret_cast< int(*)>(_a[1]))); break;
  4244. default: ;
  4245. }
  4246. }
  4247. }
  4248. const QMetaObjectExtraData ModbusRtuDeviceConfWidget::staticMetaObjectExtraData = {
  4249. 0, qt_static_metacall
  4250. };
  4251. const QMetaObject ModbusRtuDeviceConfWidget::staticMetaObject = {
  4252. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_ModbusRtuDeviceConfWidget,
  4253. qt_meta_data_ModbusRtuDeviceConfWidget, &staticMetaObjectExtraData }
  4254. };
  4255. #ifdef Q_NO_DATA_RELOCATION
  4256. const QMetaObject &ModbusRtuDeviceConfWidget::getStaticMetaObject() { return staticMetaObject; }
  4257. #endif //Q_NO_DATA_RELOCATION
  4258. const QMetaObject *ModbusRtuDeviceConfWidget::metaObject() const
  4259. {
  4260. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  4261. }
  4262. void *ModbusRtuDeviceConfWidget::qt_metacast(const char *_clname)
  4263. {
  4264. if (!_clname) return 0;
  4265. if (!strcmp(_clname, qt_meta_stringdata_ModbusRtuDeviceConfWidget))
  4266. return static_cast<void*>(const_cast< ModbusRtuDeviceConfWidget*>(this));
  4267. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  4268. }
  4269. int ModbusRtuDeviceConfWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  4270. {
  4271. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  4272. if (_id < 0)
  4273. return _id;
  4274. if (_c == QMetaObject::InvokeMetaMethod) {
  4275. if (_id < 9)
  4276. qt_static_metacall(this, _c, _id, _a);
  4277. _id -= 9;
  4278. }
  4279. return _id;
  4280. }
  4281. static const uint qt_meta_data_ModbusRtuDeviceTPvConfWidget[] = {
  4282. // content:
  4283. 6, // revision
  4284. 0, // classname
  4285. 0, 0, // classinfo
  4286. 1, 14, // methods
  4287. 0, 0, // properties
  4288. 0, 0, // enums/sets
  4289. 1, 19, // constructors
  4290. 0, // flags
  4291. 0, // signalCount
  4292. // slots: signature, parameters, type, tag, flags
  4293. 41, 30, 29, 29, 0x08,
  4294. // constructors: signature, parameters, type, tag, flags
  4295. 72, 60, 29, 29, 0x0e,
  4296. 0 // eod
  4297. };
  4298. static const char qt_meta_stringdata_ModbusRtuDeviceTPvConfWidget[] = {
  4299. "ModbusRtuDeviceTPvConfWidget\0\0newAddress\0"
  4300. "updateAddress(int)\0model,index\0"
  4301. "ModbusRtuDeviceTPvConfWidget(DeviceTreeModel*,QModelIndex)\0"
  4302. };
  4303. void ModbusRtuDeviceTPvConfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  4304. {
  4305. if (_c == QMetaObject::CreateInstance) {
  4306. switch (_id) {
  4307. case 0: { ModbusRtuDeviceTPvConfWidget *_r = new ModbusRtuDeviceTPvConfWidget((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  4308. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  4309. }
  4310. } else if (_c == QMetaObject::InvokeMetaMethod) {
  4311. Q_ASSERT(staticMetaObject.cast(_o));
  4312. ModbusRtuDeviceTPvConfWidget *_t = static_cast<ModbusRtuDeviceTPvConfWidget *>(_o);
  4313. switch (_id) {
  4314. case 0: _t->updateAddress((*reinterpret_cast< int(*)>(_a[1]))); break;
  4315. default: ;
  4316. }
  4317. }
  4318. }
  4319. const QMetaObjectExtraData ModbusRtuDeviceTPvConfWidget::staticMetaObjectExtraData = {
  4320. 0, qt_static_metacall
  4321. };
  4322. const QMetaObject ModbusRtuDeviceTPvConfWidget::staticMetaObject = {
  4323. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_ModbusRtuDeviceTPvConfWidget,
  4324. qt_meta_data_ModbusRtuDeviceTPvConfWidget, &staticMetaObjectExtraData }
  4325. };
  4326. #ifdef Q_NO_DATA_RELOCATION
  4327. const QMetaObject &ModbusRtuDeviceTPvConfWidget::getStaticMetaObject() { return staticMetaObject; }
  4328. #endif //Q_NO_DATA_RELOCATION
  4329. const QMetaObject *ModbusRtuDeviceTPvConfWidget::metaObject() const
  4330. {
  4331. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  4332. }
  4333. void *ModbusRtuDeviceTPvConfWidget::qt_metacast(const char *_clname)
  4334. {
  4335. if (!_clname) return 0;
  4336. if (!strcmp(_clname, qt_meta_stringdata_ModbusRtuDeviceTPvConfWidget))
  4337. return static_cast<void*>(const_cast< ModbusRtuDeviceTPvConfWidget*>(this));
  4338. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  4339. }
  4340. int ModbusRtuDeviceTPvConfWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  4341. {
  4342. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  4343. if (_id < 0)
  4344. return _id;
  4345. if (_c == QMetaObject::InvokeMetaMethod) {
  4346. if (_id < 1)
  4347. qt_static_metacall(this, _c, _id, _a);
  4348. _id -= 1;
  4349. }
  4350. return _id;
  4351. }
  4352. static const uint qt_meta_data_ModbusRtuDeviceTSvConfWidget[] = {
  4353. // content:
  4354. 6, // revision
  4355. 0, // classname
  4356. 0, 0, // classinfo
  4357. 7, 14, // methods
  4358. 0, 0, // properties
  4359. 0, 0, // enums/sets
  4360. 1, 49, // constructors
  4361. 0, // flags
  4362. 0, // signalCount
  4363. // slots: signature, parameters, type, tag, flags
  4364. 41, 30, 29, 29, 0x08,
  4365. 64, 30, 29, 29, 0x08,
  4366. 94, 88, 29, 29, 0x08,
  4367. 123, 117, 29, 29, 0x08,
  4368. 150, 144, 29, 29, 0x08,
  4369. 171, 30, 29, 29, 0x08,
  4370. 195, 30, 29, 29, 0x08,
  4371. // constructors: signature, parameters, type, tag, flags
  4372. 231, 219, 29, 29, 0x0e,
  4373. 0 // eod
  4374. };
  4375. static const char qt_meta_stringdata_ModbusRtuDeviceTSvConfWidget[] = {
  4376. "ModbusRtuDeviceTSvConfWidget\0\0newAddress\0"
  4377. "updateReadAddress(int)\0updateWriteAddress(int)\0"
  4378. "fixed\0updateFixedRange(bool)\0lower\0"
  4379. "updateLower(QString)\0upper\0"
  4380. "updateUpper(QString)\0updateLowerAddress(int)\0"
  4381. "updateUpperAddress(int)\0model,index\0"
  4382. "ModbusRtuDeviceTSvConfWidget(DeviceTreeModel*,QModelIndex)\0"
  4383. };
  4384. void ModbusRtuDeviceTSvConfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  4385. {
  4386. if (_c == QMetaObject::CreateInstance) {
  4387. switch (_id) {
  4388. case 0: { ModbusRtuDeviceTSvConfWidget *_r = new ModbusRtuDeviceTSvConfWidget((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  4389. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  4390. }
  4391. } else if (_c == QMetaObject::InvokeMetaMethod) {
  4392. Q_ASSERT(staticMetaObject.cast(_o));
  4393. ModbusRtuDeviceTSvConfWidget *_t = static_cast<ModbusRtuDeviceTSvConfWidget *>(_o);
  4394. switch (_id) {
  4395. case 0: _t->updateReadAddress((*reinterpret_cast< int(*)>(_a[1]))); break;
  4396. case 1: _t->updateWriteAddress((*reinterpret_cast< int(*)>(_a[1]))); break;
  4397. case 2: _t->updateFixedRange((*reinterpret_cast< bool(*)>(_a[1]))); break;
  4398. case 3: _t->updateLower((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  4399. case 4: _t->updateUpper((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  4400. case 5: _t->updateLowerAddress((*reinterpret_cast< int(*)>(_a[1]))); break;
  4401. case 6: _t->updateUpperAddress((*reinterpret_cast< int(*)>(_a[1]))); break;
  4402. default: ;
  4403. }
  4404. }
  4405. }
  4406. const QMetaObjectExtraData ModbusRtuDeviceTSvConfWidget::staticMetaObjectExtraData = {
  4407. 0, qt_static_metacall
  4408. };
  4409. const QMetaObject ModbusRtuDeviceTSvConfWidget::staticMetaObject = {
  4410. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_ModbusRtuDeviceTSvConfWidget,
  4411. qt_meta_data_ModbusRtuDeviceTSvConfWidget, &staticMetaObjectExtraData }
  4412. };
  4413. #ifdef Q_NO_DATA_RELOCATION
  4414. const QMetaObject &ModbusRtuDeviceTSvConfWidget::getStaticMetaObject() { return staticMetaObject; }
  4415. #endif //Q_NO_DATA_RELOCATION
  4416. const QMetaObject *ModbusRtuDeviceTSvConfWidget::metaObject() const
  4417. {
  4418. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  4419. }
  4420. void *ModbusRtuDeviceTSvConfWidget::qt_metacast(const char *_clname)
  4421. {
  4422. if (!_clname) return 0;
  4423. if (!strcmp(_clname, qt_meta_stringdata_ModbusRtuDeviceTSvConfWidget))
  4424. return static_cast<void*>(const_cast< ModbusRtuDeviceTSvConfWidget*>(this));
  4425. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  4426. }
  4427. int ModbusRtuDeviceTSvConfWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  4428. {
  4429. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  4430. if (_id < 0)
  4431. return _id;
  4432. if (_c == QMetaObject::InvokeMetaMethod) {
  4433. if (_id < 7)
  4434. qt_static_metacall(this, _c, _id, _a);
  4435. _id -= 7;
  4436. }
  4437. return _id;
  4438. }
  4439. static const uint qt_meta_data_AnnotationButtonConfWidget[] = {
  4440. // content:
  4441. 6, // revision
  4442. 0, // classname
  4443. 0, 0, // classinfo
  4444. 2, 14, // methods
  4445. 0, 0, // properties
  4446. 0, 0, // enums/sets
  4447. 1, 24, // constructors
  4448. 0, // flags
  4449. 0, // signalCount
  4450. // slots: signature, parameters, type, tag, flags
  4451. 33, 28, 27, 27, 0x08,
  4452. 59, 28, 27, 27, 0x08,
  4453. // constructors: signature, parameters, type, tag, flags
  4454. 101, 89, 27, 27, 0x0e,
  4455. 0 // eod
  4456. };
  4457. static const char qt_meta_stringdata_AnnotationButtonConfWidget[] = {
  4458. "AnnotationButtonConfWidget\0\0text\0"
  4459. "updateButtonText(QString)\0"
  4460. "updateAnnotationText(QString)\0model,index\0"
  4461. "AnnotationButtonConfWidget(DeviceTreeModel*,QModelIndex)\0"
  4462. };
  4463. void AnnotationButtonConfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  4464. {
  4465. if (_c == QMetaObject::CreateInstance) {
  4466. switch (_id) {
  4467. case 0: { AnnotationButtonConfWidget *_r = new AnnotationButtonConfWidget((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  4468. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  4469. }
  4470. } else if (_c == QMetaObject::InvokeMetaMethod) {
  4471. Q_ASSERT(staticMetaObject.cast(_o));
  4472. AnnotationButtonConfWidget *_t = static_cast<AnnotationButtonConfWidget *>(_o);
  4473. switch (_id) {
  4474. case 0: _t->updateButtonText((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  4475. case 1: _t->updateAnnotationText((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  4476. default: ;
  4477. }
  4478. }
  4479. }
  4480. const QMetaObjectExtraData AnnotationButtonConfWidget::staticMetaObjectExtraData = {
  4481. 0, qt_static_metacall
  4482. };
  4483. const QMetaObject AnnotationButtonConfWidget::staticMetaObject = {
  4484. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_AnnotationButtonConfWidget,
  4485. qt_meta_data_AnnotationButtonConfWidget, &staticMetaObjectExtraData }
  4486. };
  4487. #ifdef Q_NO_DATA_RELOCATION
  4488. const QMetaObject &AnnotationButtonConfWidget::getStaticMetaObject() { return staticMetaObject; }
  4489. #endif //Q_NO_DATA_RELOCATION
  4490. const QMetaObject *AnnotationButtonConfWidget::metaObject() const
  4491. {
  4492. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  4493. }
  4494. void *AnnotationButtonConfWidget::qt_metacast(const char *_clname)
  4495. {
  4496. if (!_clname) return 0;
  4497. if (!strcmp(_clname, qt_meta_stringdata_AnnotationButtonConfWidget))
  4498. return static_cast<void*>(const_cast< AnnotationButtonConfWidget*>(this));
  4499. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  4500. }
  4501. int AnnotationButtonConfWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  4502. {
  4503. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  4504. if (_id < 0)
  4505. return _id;
  4506. if (_c == QMetaObject::InvokeMetaMethod) {
  4507. if (_id < 2)
  4508. qt_static_metacall(this, _c, _id, _a);
  4509. _id -= 2;
  4510. }
  4511. return _id;
  4512. }
  4513. static const uint qt_meta_data_ReconfigurableAnnotationButtonConfWidget[] = {
  4514. // content:
  4515. 6, // revision
  4516. 0, // classname
  4517. 0, 0, // classinfo
  4518. 2, 14, // methods
  4519. 0, 0, // properties
  4520. 0, 0, // enums/sets
  4521. 1, 24, // constructors
  4522. 0, // flags
  4523. 0, // signalCount
  4524. // slots: signature, parameters, type, tag, flags
  4525. 47, 42, 41, 41, 0x08,
  4526. 73, 42, 41, 41, 0x08,
  4527. // constructors: signature, parameters, type, tag, flags
  4528. 115, 103, 41, 41, 0x0e,
  4529. 0 // eod
  4530. };
  4531. static const char qt_meta_stringdata_ReconfigurableAnnotationButtonConfWidget[] = {
  4532. "ReconfigurableAnnotationButtonConfWidget\0"
  4533. "\0text\0updateButtonText(QString)\0"
  4534. "updateAnnotationText(QString)\0model,index\0"
  4535. "ReconfigurableAnnotationButtonConfWidget(DeviceTreeModel*,QModelIndex)\0"
  4536. };
  4537. void ReconfigurableAnnotationButtonConfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  4538. {
  4539. if (_c == QMetaObject::CreateInstance) {
  4540. switch (_id) {
  4541. case 0: { ReconfigurableAnnotationButtonConfWidget *_r = new ReconfigurableAnnotationButtonConfWidget((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  4542. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  4543. }
  4544. } else if (_c == QMetaObject::InvokeMetaMethod) {
  4545. Q_ASSERT(staticMetaObject.cast(_o));
  4546. ReconfigurableAnnotationButtonConfWidget *_t = static_cast<ReconfigurableAnnotationButtonConfWidget *>(_o);
  4547. switch (_id) {
  4548. case 0: _t->updateButtonText((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  4549. case 1: _t->updateAnnotationText((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  4550. default: ;
  4551. }
  4552. }
  4553. }
  4554. const QMetaObjectExtraData ReconfigurableAnnotationButtonConfWidget::staticMetaObjectExtraData = {
  4555. 0, qt_static_metacall
  4556. };
  4557. const QMetaObject ReconfigurableAnnotationButtonConfWidget::staticMetaObject = {
  4558. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_ReconfigurableAnnotationButtonConfWidget,
  4559. qt_meta_data_ReconfigurableAnnotationButtonConfWidget, &staticMetaObjectExtraData }
  4560. };
  4561. #ifdef Q_NO_DATA_RELOCATION
  4562. const QMetaObject &ReconfigurableAnnotationButtonConfWidget::getStaticMetaObject() { return staticMetaObject; }
  4563. #endif //Q_NO_DATA_RELOCATION
  4564. const QMetaObject *ReconfigurableAnnotationButtonConfWidget::metaObject() const
  4565. {
  4566. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  4567. }
  4568. void *ReconfigurableAnnotationButtonConfWidget::qt_metacast(const char *_clname)
  4569. {
  4570. if (!_clname) return 0;
  4571. if (!strcmp(_clname, qt_meta_stringdata_ReconfigurableAnnotationButtonConfWidget))
  4572. return static_cast<void*>(const_cast< ReconfigurableAnnotationButtonConfWidget*>(this));
  4573. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  4574. }
  4575. int ReconfigurableAnnotationButtonConfWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  4576. {
  4577. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  4578. if (_id < 0)
  4579. return _id;
  4580. if (_c == QMetaObject::InvokeMetaMethod) {
  4581. if (_id < 2)
  4582. qt_static_metacall(this, _c, _id, _a);
  4583. _id -= 2;
  4584. }
  4585. return _id;
  4586. }
  4587. static const uint qt_meta_data_NoteSpinConfWidget[] = {
  4588. // content:
  4589. 6, // revision
  4590. 0, // classname
  4591. 0, 0, // classinfo
  4592. 6, 14, // methods
  4593. 0, 0, // properties
  4594. 0, 0, // enums/sets
  4595. 1, 44, // constructors
  4596. 0, // flags
  4597. 0, // signalCount
  4598. // slots: signature, parameters, type, tag, flags
  4599. 25, 20, 19, 19, 0x08,
  4600. 54, 46, 19, 19, 0x08,
  4601. 85, 77, 19, 19, 0x08,
  4602. 118, 108, 19, 19, 0x08,
  4603. 139, 20, 19, 19, 0x08,
  4604. 162, 20, 19, 19, 0x08,
  4605. // constructors: signature, parameters, type, tag, flags
  4606. 198, 186, 19, 19, 0x0e,
  4607. 0 // eod
  4608. };
  4609. static const char qt_meta_stringdata_NoteSpinConfWidget[] = {
  4610. "NoteSpinConfWidget\0\0text\0updateLabel(QString)\0"
  4611. "minimum\0updateMinimum(QString)\0maximum\0"
  4612. "updateMaximum(QString)\0precision\0"
  4613. "updatePrecision(int)\0updatePretext(QString)\0"
  4614. "updatePosttext(QString)\0model,index\0"
  4615. "NoteSpinConfWidget(DeviceTreeModel*,QModelIndex)\0"
  4616. };
  4617. void NoteSpinConfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  4618. {
  4619. if (_c == QMetaObject::CreateInstance) {
  4620. switch (_id) {
  4621. case 0: { NoteSpinConfWidget *_r = new NoteSpinConfWidget((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  4622. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  4623. }
  4624. } else if (_c == QMetaObject::InvokeMetaMethod) {
  4625. Q_ASSERT(staticMetaObject.cast(_o));
  4626. NoteSpinConfWidget *_t = static_cast<NoteSpinConfWidget *>(_o);
  4627. switch (_id) {
  4628. case 0: _t->updateLabel((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  4629. case 1: _t->updateMinimum((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  4630. case 2: _t->updateMaximum((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  4631. case 3: _t->updatePrecision((*reinterpret_cast< int(*)>(_a[1]))); break;
  4632. case 4: _t->updatePretext((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  4633. case 5: _t->updatePosttext((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  4634. default: ;
  4635. }
  4636. }
  4637. }
  4638. const QMetaObjectExtraData NoteSpinConfWidget::staticMetaObjectExtraData = {
  4639. 0, qt_static_metacall
  4640. };
  4641. const QMetaObject NoteSpinConfWidget::staticMetaObject = {
  4642. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_NoteSpinConfWidget,
  4643. qt_meta_data_NoteSpinConfWidget, &staticMetaObjectExtraData }
  4644. };
  4645. #ifdef Q_NO_DATA_RELOCATION
  4646. const QMetaObject &NoteSpinConfWidget::getStaticMetaObject() { return staticMetaObject; }
  4647. #endif //Q_NO_DATA_RELOCATION
  4648. const QMetaObject *NoteSpinConfWidget::metaObject() const
  4649. {
  4650. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  4651. }
  4652. void *NoteSpinConfWidget::qt_metacast(const char *_clname)
  4653. {
  4654. if (!_clname) return 0;
  4655. if (!strcmp(_clname, qt_meta_stringdata_NoteSpinConfWidget))
  4656. return static_cast<void*>(const_cast< NoteSpinConfWidget*>(this));
  4657. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  4658. }
  4659. int NoteSpinConfWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  4660. {
  4661. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  4662. if (_id < 0)
  4663. return _id;
  4664. if (_c == QMetaObject::InvokeMetaMethod) {
  4665. if (_id < 6)
  4666. qt_static_metacall(this, _c, _id, _a);
  4667. _id -= 6;
  4668. }
  4669. return _id;
  4670. }
  4671. static const uint qt_meta_data_FreeAnnotationConfWidget[] = {
  4672. // content:
  4673. 6, // revision
  4674. 0, // classname
  4675. 0, 0, // classinfo
  4676. 1, 14, // methods
  4677. 0, 0, // properties
  4678. 0, 0, // enums/sets
  4679. 1, 19, // constructors
  4680. 0, // flags
  4681. 0, // signalCount
  4682. // slots: signature, parameters, type, tag, flags
  4683. 31, 26, 25, 25, 0x08,
  4684. // constructors: signature, parameters, type, tag, flags
  4685. 64, 52, 25, 25, 0x0e,
  4686. 0 // eod
  4687. };
  4688. static const char qt_meta_stringdata_FreeAnnotationConfWidget[] = {
  4689. "FreeAnnotationConfWidget\0\0text\0"
  4690. "updateLabel(QString)\0model,index\0"
  4691. "FreeAnnotationConfWidget(DeviceTreeModel*,QModelIndex)\0"
  4692. };
  4693. void FreeAnnotationConfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  4694. {
  4695. if (_c == QMetaObject::CreateInstance) {
  4696. switch (_id) {
  4697. case 0: { FreeAnnotationConfWidget *_r = new FreeAnnotationConfWidget((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  4698. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  4699. }
  4700. } else if (_c == QMetaObject::InvokeMetaMethod) {
  4701. Q_ASSERT(staticMetaObject.cast(_o));
  4702. FreeAnnotationConfWidget *_t = static_cast<FreeAnnotationConfWidget *>(_o);
  4703. switch (_id) {
  4704. case 0: _t->updateLabel((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  4705. default: ;
  4706. }
  4707. }
  4708. }
  4709. const QMetaObjectExtraData FreeAnnotationConfWidget::staticMetaObjectExtraData = {
  4710. 0, qt_static_metacall
  4711. };
  4712. const QMetaObject FreeAnnotationConfWidget::staticMetaObject = {
  4713. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_FreeAnnotationConfWidget,
  4714. qt_meta_data_FreeAnnotationConfWidget, &staticMetaObjectExtraData }
  4715. };
  4716. #ifdef Q_NO_DATA_RELOCATION
  4717. const QMetaObject &FreeAnnotationConfWidget::getStaticMetaObject() { return staticMetaObject; }
  4718. #endif //Q_NO_DATA_RELOCATION
  4719. const QMetaObject *FreeAnnotationConfWidget::metaObject() const
  4720. {
  4721. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  4722. }
  4723. void *FreeAnnotationConfWidget::qt_metacast(const char *_clname)
  4724. {
  4725. if (!_clname) return 0;
  4726. if (!strcmp(_clname, qt_meta_stringdata_FreeAnnotationConfWidget))
  4727. return static_cast<void*>(const_cast< FreeAnnotationConfWidget*>(this));
  4728. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  4729. }
  4730. int FreeAnnotationConfWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  4731. {
  4732. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  4733. if (_id < 0)
  4734. return _id;
  4735. if (_c == QMetaObject::InvokeMetaMethod) {
  4736. if (_id < 1)
  4737. qt_static_metacall(this, _c, _id, _a);
  4738. _id -= 1;
  4739. }
  4740. return _id;
  4741. }
  4742. static const uint qt_meta_data_SettingsWindow[] = {
  4743. // content:
  4744. 6, // revision
  4745. 0, // classname
  4746. 0, 0, // classinfo
  4747. 0, 0, // methods
  4748. 0, 0, // properties
  4749. 0, 0, // enums/sets
  4750. 0, 0, // constructors
  4751. 0, // flags
  4752. 0, // signalCount
  4753. 0 // eod
  4754. };
  4755. static const char qt_meta_stringdata_SettingsWindow[] = {
  4756. "SettingsWindow\0"
  4757. };
  4758. void SettingsWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  4759. {
  4760. Q_UNUSED(_o);
  4761. Q_UNUSED(_id);
  4762. Q_UNUSED(_c);
  4763. Q_UNUSED(_a);
  4764. }
  4765. const QMetaObjectExtraData SettingsWindow::staticMetaObjectExtraData = {
  4766. 0, qt_static_metacall
  4767. };
  4768. const QMetaObject SettingsWindow::staticMetaObject = {
  4769. { &QMainWindow::staticMetaObject, qt_meta_stringdata_SettingsWindow,
  4770. qt_meta_data_SettingsWindow, &staticMetaObjectExtraData }
  4771. };
  4772. #ifdef Q_NO_DATA_RELOCATION
  4773. const QMetaObject &SettingsWindow::getStaticMetaObject() { return staticMetaObject; }
  4774. #endif //Q_NO_DATA_RELOCATION
  4775. const QMetaObject *SettingsWindow::metaObject() const
  4776. {
  4777. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  4778. }
  4779. void *SettingsWindow::qt_metacast(const char *_clname)
  4780. {
  4781. if (!_clname) return 0;
  4782. if (!strcmp(_clname, qt_meta_stringdata_SettingsWindow))
  4783. return static_cast<void*>(const_cast< SettingsWindow*>(this));
  4784. return QMainWindow::qt_metacast(_clname);
  4785. }
  4786. int SettingsWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  4787. {
  4788. _id = QMainWindow::qt_metacall(_c, _id, _a);
  4789. if (_id < 0)
  4790. return _id;
  4791. return _id;
  4792. }
  4793. static const uint qt_meta_data_GraphSettingsWidget[] = {
  4794. // content:
  4795. 6, // revision
  4796. 0, // classname
  4797. 0, 0, // classinfo
  4798. 0, 0, // methods
  4799. 0, 0, // properties
  4800. 0, 0, // enums/sets
  4801. 0, 0, // constructors
  4802. 0, // flags
  4803. 0, // signalCount
  4804. 0 // eod
  4805. };
  4806. static const char qt_meta_stringdata_GraphSettingsWidget[] = {
  4807. "GraphSettingsWidget\0"
  4808. };
  4809. void GraphSettingsWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  4810. {
  4811. Q_UNUSED(_o);
  4812. Q_UNUSED(_id);
  4813. Q_UNUSED(_c);
  4814. Q_UNUSED(_a);
  4815. }
  4816. const QMetaObjectExtraData GraphSettingsWidget::staticMetaObjectExtraData = {
  4817. 0, qt_static_metacall
  4818. };
  4819. const QMetaObject GraphSettingsWidget::staticMetaObject = {
  4820. { &QWidget::staticMetaObject, qt_meta_stringdata_GraphSettingsWidget,
  4821. qt_meta_data_GraphSettingsWidget, &staticMetaObjectExtraData }
  4822. };
  4823. #ifdef Q_NO_DATA_RELOCATION
  4824. const QMetaObject &GraphSettingsWidget::getStaticMetaObject() { return staticMetaObject; }
  4825. #endif //Q_NO_DATA_RELOCATION
  4826. const QMetaObject *GraphSettingsWidget::metaObject() const
  4827. {
  4828. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  4829. }
  4830. void *GraphSettingsWidget::qt_metacast(const char *_clname)
  4831. {
  4832. if (!_clname) return 0;
  4833. if (!strcmp(_clname, qt_meta_stringdata_GraphSettingsWidget))
  4834. return static_cast<void*>(const_cast< GraphSettingsWidget*>(this));
  4835. return QWidget::qt_metacast(_clname);
  4836. }
  4837. int GraphSettingsWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  4838. {
  4839. _id = QWidget::qt_metacall(_c, _id, _a);
  4840. if (_id < 0)
  4841. return _id;
  4842. return _id;
  4843. }
  4844. static const uint qt_meta_data_GraphSettingsRelativeTab[] = {
  4845. // content:
  4846. 6, // revision
  4847. 0, // classname
  4848. 0, 0, // classinfo
  4849. 5, 14, // methods
  4850. 0, 0, // properties
  4851. 0, 0, // enums/sets
  4852. 0, 0, // constructors
  4853. 0, // flags
  4854. 0, // signalCount
  4855. // slots: signature, parameters, type, tag, flags
  4856. 33, 26, 25, 25, 0x0a,
  4857. 65, 59, 25, 25, 0x0a,
  4858. 102, 93, 25, 25, 0x0a,
  4859. 134, 129, 25, 25, 0x0a,
  4860. 150, 25, 25, 25, 0x0a,
  4861. 0 // eod
  4862. };
  4863. static const char qt_meta_stringdata_GraphSettingsRelativeTab[] = {
  4864. "GraphSettingsRelativeTab\0\0enable\0"
  4865. "updateEnableSetting(bool)\0color\0"
  4866. "updateColorSetting(QString)\0gridList\0"
  4867. "updateAxisSetting(QString)\0unit\0"
  4868. "updateUnit(int)\0showColorPicker()\0"
  4869. };
  4870. void GraphSettingsRelativeTab::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  4871. {
  4872. if (_c == QMetaObject::InvokeMetaMethod) {
  4873. Q_ASSERT(staticMetaObject.cast(_o));
  4874. GraphSettingsRelativeTab *_t = static_cast<GraphSettingsRelativeTab *>(_o);
  4875. switch (_id) {
  4876. case 0: _t->updateEnableSetting((*reinterpret_cast< bool(*)>(_a[1]))); break;
  4877. case 1: _t->updateColorSetting((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  4878. case 2: _t->updateAxisSetting((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  4879. case 3: _t->updateUnit((*reinterpret_cast< int(*)>(_a[1]))); break;
  4880. case 4: _t->showColorPicker(); break;
  4881. default: ;
  4882. }
  4883. }
  4884. }
  4885. const QMetaObjectExtraData GraphSettingsRelativeTab::staticMetaObjectExtraData = {
  4886. 0, qt_static_metacall
  4887. };
  4888. const QMetaObject GraphSettingsRelativeTab::staticMetaObject = {
  4889. { &QWidget::staticMetaObject, qt_meta_stringdata_GraphSettingsRelativeTab,
  4890. qt_meta_data_GraphSettingsRelativeTab, &staticMetaObjectExtraData }
  4891. };
  4892. #ifdef Q_NO_DATA_RELOCATION
  4893. const QMetaObject &GraphSettingsRelativeTab::getStaticMetaObject() { return staticMetaObject; }
  4894. #endif //Q_NO_DATA_RELOCATION
  4895. const QMetaObject *GraphSettingsRelativeTab::metaObject() const
  4896. {
  4897. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  4898. }
  4899. void *GraphSettingsRelativeTab::qt_metacast(const char *_clname)
  4900. {
  4901. if (!_clname) return 0;
  4902. if (!strcmp(_clname, qt_meta_stringdata_GraphSettingsRelativeTab))
  4903. return static_cast<void*>(const_cast< GraphSettingsRelativeTab*>(this));
  4904. return QWidget::qt_metacast(_clname);
  4905. }
  4906. int GraphSettingsRelativeTab::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  4907. {
  4908. _id = QWidget::qt_metacall(_c, _id, _a);
  4909. if (_id < 0)
  4910. return _id;
  4911. if (_c == QMetaObject::InvokeMetaMethod) {
  4912. if (_id < 5)
  4913. qt_static_metacall(this, _c, _id, _a);
  4914. _id -= 5;
  4915. }
  4916. return _id;
  4917. }
  4918. static const uint qt_meta_data_AdvancedSettingsWidget[] = {
  4919. // content:
  4920. 6, // revision
  4921. 0, // classname
  4922. 0, 0, // classinfo
  4923. 1, 14, // methods
  4924. 0, 0, // properties
  4925. 0, 0, // enums/sets
  4926. 0, 0, // constructors
  4927. 0, // flags
  4928. 0, // signalCount
  4929. // slots: signature, parameters, type, tag, flags
  4930. 32, 24, 23, 23, 0x0a,
  4931. 0 // eod
  4932. };
  4933. static const char qt_meta_stringdata_AdvancedSettingsWidget[] = {
  4934. "AdvancedSettingsWidget\0\0enabled\0"
  4935. "enableDiagnosticLogging(bool)\0"
  4936. };
  4937. void AdvancedSettingsWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  4938. {
  4939. if (_c == QMetaObject::InvokeMetaMethod) {
  4940. Q_ASSERT(staticMetaObject.cast(_o));
  4941. AdvancedSettingsWidget *_t = static_cast<AdvancedSettingsWidget *>(_o);
  4942. switch (_id) {
  4943. case 0: _t->enableDiagnosticLogging((*reinterpret_cast< bool(*)>(_a[1]))); break;
  4944. default: ;
  4945. }
  4946. }
  4947. }
  4948. const QMetaObjectExtraData AdvancedSettingsWidget::staticMetaObjectExtraData = {
  4949. 0, qt_static_metacall
  4950. };
  4951. const QMetaObject AdvancedSettingsWidget::staticMetaObject = {
  4952. { &QWidget::staticMetaObject, qt_meta_stringdata_AdvancedSettingsWidget,
  4953. qt_meta_data_AdvancedSettingsWidget, &staticMetaObjectExtraData }
  4954. };
  4955. #ifdef Q_NO_DATA_RELOCATION
  4956. const QMetaObject &AdvancedSettingsWidget::getStaticMetaObject() { return staticMetaObject; }
  4957. #endif //Q_NO_DATA_RELOCATION
  4958. const QMetaObject *AdvancedSettingsWidget::metaObject() const
  4959. {
  4960. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  4961. }
  4962. void *AdvancedSettingsWidget::qt_metacast(const char *_clname)
  4963. {
  4964. if (!_clname) return 0;
  4965. if (!strcmp(_clname, qt_meta_stringdata_AdvancedSettingsWidget))
  4966. return static_cast<void*>(const_cast< AdvancedSettingsWidget*>(this));
  4967. return QWidget::qt_metacast(_clname);
  4968. }
  4969. int AdvancedSettingsWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  4970. {
  4971. _id = QWidget::qt_metacall(_c, _id, _a);
  4972. if (_id < 0)
  4973. return _id;
  4974. if (_c == QMetaObject::InvokeMetaMethod) {
  4975. if (_id < 1)
  4976. qt_static_metacall(this, _c, _id, _a);
  4977. _id -= 1;
  4978. }
  4979. return _id;
  4980. }
  4981. static const uint qt_meta_data_ModbusRTUDevice[] = {
  4982. // content:
  4983. 6, // revision
  4984. 0, // classname
  4985. 0, 0, // classinfo
  4986. 18, 14, // methods
  4987. 0, 0, // properties
  4988. 0, 0, // enums/sets
  4989. 0, 0, // constructors
  4990. 0, // flags
  4991. 4, // signalCount
  4992. // signals: signature, parameters, type, tag, flags
  4993. 17, 16, 16, 16, 0x05,
  4994. 40, 16, 16, 16, 0x05,
  4995. 63, 16, 16, 16, 0x05,
  4996. 85, 16, 16, 16, 0x05,
  4997. // slots: signature, parameters, type, tag, flags
  4998. 101, 98, 16, 16, 0x0a,
  4999. 118, 16, 16, 16, 0x08,
  5000. 134, 16, 16, 16, 0x08,
  5001. 161, 152, 16, 16, 0x08,
  5002. 189, 152, 16, 16, 0x08,
  5003. 214, 152, 16, 16, 0x08,
  5004. 238, 152, 16, 16, 0x08,
  5005. 262, 16, 16, 16, 0x08,
  5006. 283, 152, 16, 16, 0x08,
  5007. 305, 152, 16, 16, 0x08,
  5008. 324, 16, 16, 16, 0x08,
  5009. // methods: signature, parameters, type, tag, flags
  5010. 341, 16, 334, 16, 0x02,
  5011. 351, 16, 334, 16, 0x02,
  5012. 365, 16, 361, 16, 0x02,
  5013. 0 // eod
  5014. };
  5015. static const char qt_meta_stringdata_ModbusRTUDevice[] = {
  5016. "ModbusRTUDevice\0\0SVLowerChanged(double)\0"
  5017. "SVUpperChanged(double)\0SVDecimalChanged(int)\0"
  5018. "queueEmpty()\0sv\0outputSV(double)\0"
  5019. "dataAvailable()\0sendNextMessage()\0"
  5020. "response\0decimalResponse(QByteArray)\0"
  5021. "unitResponse(QByteArray)\0"
  5022. "svlResponse(QByteArray)\0svuResponse(QByteArray)\0"
  5023. "requestMeasurement()\0mResponse(QByteArray)\0"
  5024. "ignore(QByteArray)\0timeout()\0double\0"
  5025. "SVLower()\0SVUpper()\0int\0decimals()\0"
  5026. };
  5027. void ModbusRTUDevice::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  5028. {
  5029. if (_c == QMetaObject::InvokeMetaMethod) {
  5030. Q_ASSERT(staticMetaObject.cast(_o));
  5031. ModbusRTUDevice *_t = static_cast<ModbusRTUDevice *>(_o);
  5032. switch (_id) {
  5033. case 0: _t->SVLowerChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
  5034. case 1: _t->SVUpperChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
  5035. case 2: _t->SVDecimalChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
  5036. case 3: _t->queueEmpty(); break;
  5037. case 4: _t->outputSV((*reinterpret_cast< double(*)>(_a[1]))); break;
  5038. case 5: _t->dataAvailable(); break;
  5039. case 6: _t->sendNextMessage(); break;
  5040. case 7: _t->decimalResponse((*reinterpret_cast< QByteArray(*)>(_a[1]))); break;
  5041. case 8: _t->unitResponse((*reinterpret_cast< QByteArray(*)>(_a[1]))); break;
  5042. case 9: _t->svlResponse((*reinterpret_cast< QByteArray(*)>(_a[1]))); break;
  5043. case 10: _t->svuResponse((*reinterpret_cast< QByteArray(*)>(_a[1]))); break;
  5044. case 11: _t->requestMeasurement(); break;
  5045. case 12: _t->mResponse((*reinterpret_cast< QByteArray(*)>(_a[1]))); break;
  5046. case 13: _t->ignore((*reinterpret_cast< QByteArray(*)>(_a[1]))); break;
  5047. case 14: _t->timeout(); break;
  5048. case 15: { double _r = _t->SVLower();
  5049. if (_a[0]) *reinterpret_cast< double*>(_a[0]) = _r; } break;
  5050. case 16: { double _r = _t->SVUpper();
  5051. if (_a[0]) *reinterpret_cast< double*>(_a[0]) = _r; } break;
  5052. case 17: { int _r = _t->decimals();
  5053. if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; } break;
  5054. default: ;
  5055. }
  5056. }
  5057. }
  5058. const QMetaObjectExtraData ModbusRTUDevice::staticMetaObjectExtraData = {
  5059. 0, qt_static_metacall
  5060. };
  5061. const QMetaObject ModbusRTUDevice::staticMetaObject = {
  5062. { &QObject::staticMetaObject, qt_meta_stringdata_ModbusRTUDevice,
  5063. qt_meta_data_ModbusRTUDevice, &staticMetaObjectExtraData }
  5064. };
  5065. #ifdef Q_NO_DATA_RELOCATION
  5066. const QMetaObject &ModbusRTUDevice::getStaticMetaObject() { return staticMetaObject; }
  5067. #endif //Q_NO_DATA_RELOCATION
  5068. const QMetaObject *ModbusRTUDevice::metaObject() const
  5069. {
  5070. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  5071. }
  5072. void *ModbusRTUDevice::qt_metacast(const char *_clname)
  5073. {
  5074. if (!_clname) return 0;
  5075. if (!strcmp(_clname, qt_meta_stringdata_ModbusRTUDevice))
  5076. return static_cast<void*>(const_cast< ModbusRTUDevice*>(this));
  5077. return QObject::qt_metacast(_clname);
  5078. }
  5079. int ModbusRTUDevice::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  5080. {
  5081. _id = QObject::qt_metacall(_c, _id, _a);
  5082. if (_id < 0)
  5083. return _id;
  5084. if (_c == QMetaObject::InvokeMetaMethod) {
  5085. if (_id < 18)
  5086. qt_static_metacall(this, _c, _id, _a);
  5087. _id -= 18;
  5088. }
  5089. return _id;
  5090. }
  5091. // SIGNAL 0
  5092. void ModbusRTUDevice::SVLowerChanged(double _t1)
  5093. {
  5094. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
  5095. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  5096. }
  5097. // SIGNAL 1
  5098. void ModbusRTUDevice::SVUpperChanged(double _t1)
  5099. {
  5100. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
  5101. QMetaObject::activate(this, &staticMetaObject, 1, _a);
  5102. }
  5103. // SIGNAL 2
  5104. void ModbusRTUDevice::SVDecimalChanged(int _t1)
  5105. {
  5106. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
  5107. QMetaObject::activate(this, &staticMetaObject, 2, _a);
  5108. }
  5109. // SIGNAL 3
  5110. void ModbusRTUDevice::queueEmpty()
  5111. {
  5112. QMetaObject::activate(this, &staticMetaObject, 3, 0);
  5113. }
  5114. static const uint qt_meta_data_ModbusConfigurator[] = {
  5115. // content:
  5116. 6, // revision
  5117. 0, // classname
  5118. 0, 0, // classinfo
  5119. 28, 14, // methods
  5120. 0, 0, // properties
  5121. 0, 0, // enums/sets
  5122. 1, 154, // constructors
  5123. 0, // flags
  5124. 0, // signalCount
  5125. // slots: signature, parameters, type, tag, flags
  5126. 28, 20, 19, 19, 0x08,
  5127. 56, 48, 19, 19, 0x08,
  5128. 90, 80, 19, 19, 0x08,
  5129. 120, 112, 19, 19, 0x08,
  5130. 159, 147, 19, 19, 0x08,
  5131. 191, 183, 19, 19, 0x08,
  5132. 216, 210, 19, 19, 0x08,
  5133. 249, 241, 19, 19, 0x08,
  5134. 284, 275, 19, 19, 0x08,
  5135. 311, 210, 19, 19, 0x08,
  5136. 333, 241, 19, 19, 0x08,
  5137. 362, 356, 19, 19, 0x08,
  5138. 383, 356, 19, 19, 0x08,
  5139. 412, 404, 19, 19, 0x08,
  5140. 432, 241, 19, 19, 0x08,
  5141. 461, 453, 19, 19, 0x08,
  5142. 483, 241, 19, 19, 0x08,
  5143. 514, 508, 19, 19, 0x08,
  5144. 538, 241, 19, 19, 0x08,
  5145. 564, 241, 19, 19, 0x08,
  5146. 590, 356, 19, 19, 0x08,
  5147. 612, 356, 19, 19, 0x08,
  5148. 645, 634, 19, 19, 0x08,
  5149. 668, 241, 19, 19, 0x08,
  5150. 699, 694, 19, 19, 0x08,
  5151. 727, 694, 19, 19, 0x08,
  5152. 762, 755, 19, 19, 0x08,
  5153. 783, 755, 19, 19, 0x08,
  5154. // constructors: signature, parameters, type, tag, flags
  5155. 816, 804, 19, 19, 0x0e,
  5156. 0 // eod
  5157. };
  5158. static const char qt_meta_stringdata_ModbusConfigurator[] = {
  5159. "ModbusConfigurator\0\0newPort\0"
  5160. "updatePort(QString)\0newRate\0"
  5161. "updateBaudRate(QString)\0newParity\0"
  5162. "updateParity(QString)\0newFlow\0"
  5163. "updateFlowControl(QString)\0newStopBits\0"
  5164. "updateStopBits(QString)\0station\0"
  5165. "updateStation(int)\0fixed\0"
  5166. "updateFixedDecimal(bool)\0address\0"
  5167. "updateDecimalAddress(int)\0position\0"
  5168. "updateDecimalPosition(int)\0"
  5169. "updateFixedUnit(bool)\0updateUnitAddress(int)\0"
  5170. "value\0updateValueForF(int)\0"
  5171. "updateValueForC(int)\0newUnit\0"
  5172. "updateUnit(QString)\0updatePVAddress(int)\0"
  5173. "enabled\0updateSVEnabled(bool)\0"
  5174. "updateSVReadAddress(int)\0query\0"
  5175. "updateDeviceLimit(bool)\0"
  5176. "updateSVLowerAddress(int)\0"
  5177. "updateSVUpperAddress(int)\0"
  5178. "updateSVLower(double)\0updateSVUpper(double)\0"
  5179. "canWriteSV\0updateSVWritable(bool)\0"
  5180. "updateSVWriteAddress(int)\0name\0"
  5181. "updatePVColumnName(QString)\0"
  5182. "updateSVColumnName(QString)\0hidden\0"
  5183. "updatePVHidden(bool)\0updateSVHidden(bool)\0"
  5184. "model,index\0"
  5185. "ModbusConfigurator(DeviceTreeModel*,QModelIndex)\0"
  5186. };
  5187. void ModbusConfigurator::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  5188. {
  5189. if (_c == QMetaObject::CreateInstance) {
  5190. switch (_id) {
  5191. case 0: { ModbusConfigurator *_r = new ModbusConfigurator((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  5192. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  5193. }
  5194. } else if (_c == QMetaObject::InvokeMetaMethod) {
  5195. Q_ASSERT(staticMetaObject.cast(_o));
  5196. ModbusConfigurator *_t = static_cast<ModbusConfigurator *>(_o);
  5197. switch (_id) {
  5198. case 0: _t->updatePort((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  5199. case 1: _t->updateBaudRate((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  5200. case 2: _t->updateParity((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  5201. case 3: _t->updateFlowControl((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  5202. case 4: _t->updateStopBits((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  5203. case 5: _t->updateStation((*reinterpret_cast< int(*)>(_a[1]))); break;
  5204. case 6: _t->updateFixedDecimal((*reinterpret_cast< bool(*)>(_a[1]))); break;
  5205. case 7: _t->updateDecimalAddress((*reinterpret_cast< int(*)>(_a[1]))); break;
  5206. case 8: _t->updateDecimalPosition((*reinterpret_cast< int(*)>(_a[1]))); break;
  5207. case 9: _t->updateFixedUnit((*reinterpret_cast< bool(*)>(_a[1]))); break;
  5208. case 10: _t->updateUnitAddress((*reinterpret_cast< int(*)>(_a[1]))); break;
  5209. case 11: _t->updateValueForF((*reinterpret_cast< int(*)>(_a[1]))); break;
  5210. case 12: _t->updateValueForC((*reinterpret_cast< int(*)>(_a[1]))); break;
  5211. case 13: _t->updateUnit((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  5212. case 14: _t->updatePVAddress((*reinterpret_cast< int(*)>(_a[1]))); break;
  5213. case 15: _t->updateSVEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break;
  5214. case 16: _t->updateSVReadAddress((*reinterpret_cast< int(*)>(_a[1]))); break;
  5215. case 17: _t->updateDeviceLimit((*reinterpret_cast< bool(*)>(_a[1]))); break;
  5216. case 18: _t->updateSVLowerAddress((*reinterpret_cast< int(*)>(_a[1]))); break;
  5217. case 19: _t->updateSVUpperAddress((*reinterpret_cast< int(*)>(_a[1]))); break;
  5218. case 20: _t->updateSVLower((*reinterpret_cast< double(*)>(_a[1]))); break;
  5219. case 21: _t->updateSVUpper((*reinterpret_cast< double(*)>(_a[1]))); break;
  5220. case 22: _t->updateSVWritable((*reinterpret_cast< bool(*)>(_a[1]))); break;
  5221. case 23: _t->updateSVWriteAddress((*reinterpret_cast< int(*)>(_a[1]))); break;
  5222. case 24: _t->updatePVColumnName((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  5223. case 25: _t->updateSVColumnName((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  5224. case 26: _t->updatePVHidden((*reinterpret_cast< bool(*)>(_a[1]))); break;
  5225. case 27: _t->updateSVHidden((*reinterpret_cast< bool(*)>(_a[1]))); break;
  5226. default: ;
  5227. }
  5228. }
  5229. }
  5230. const QMetaObjectExtraData ModbusConfigurator::staticMetaObjectExtraData = {
  5231. 0, qt_static_metacall
  5232. };
  5233. const QMetaObject ModbusConfigurator::staticMetaObject = {
  5234. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_ModbusConfigurator,
  5235. qt_meta_data_ModbusConfigurator, &staticMetaObjectExtraData }
  5236. };
  5237. #ifdef Q_NO_DATA_RELOCATION
  5238. const QMetaObject &ModbusConfigurator::getStaticMetaObject() { return staticMetaObject; }
  5239. #endif //Q_NO_DATA_RELOCATION
  5240. const QMetaObject *ModbusConfigurator::metaObject() const
  5241. {
  5242. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  5243. }
  5244. void *ModbusConfigurator::qt_metacast(const char *_clname)
  5245. {
  5246. if (!_clname) return 0;
  5247. if (!strcmp(_clname, qt_meta_stringdata_ModbusConfigurator))
  5248. return static_cast<void*>(const_cast< ModbusConfigurator*>(this));
  5249. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  5250. }
  5251. int ModbusConfigurator::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  5252. {
  5253. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  5254. if (_id < 0)
  5255. return _id;
  5256. if (_c == QMetaObject::InvokeMetaMethod) {
  5257. if (_id < 28)
  5258. qt_static_metacall(this, _c, _id, _a);
  5259. _id -= 28;
  5260. }
  5261. return _id;
  5262. }
  5263. static const uint qt_meta_data_UnsupportedSerialDeviceConfWidget[] = {
  5264. // content:
  5265. 6, // revision
  5266. 0, // classname
  5267. 0, 0, // classinfo
  5268. 3, 14, // methods
  5269. 0, 0, // properties
  5270. 0, 0, // enums/sets
  5271. 1, 29, // constructors
  5272. 0, // flags
  5273. 0, // signalCount
  5274. // slots: signature, parameters, type, tag, flags
  5275. 35, 34, 34, 34, 0x08,
  5276. 57, 34, 34, 34, 0x08,
  5277. 70, 34, 34, 34, 0x08,
  5278. // constructors: signature, parameters, type, tag, flags
  5279. 95, 83, 34, 34, 0x0e,
  5280. 0 // eod
  5281. };
  5282. static const char qt_meta_stringdata_UnsupportedSerialDeviceConfWidget[] = {
  5283. "UnsupportedSerialDeviceConfWidget\0\0"
  5284. "updateConfiguration()\0saveScript()\0"
  5285. "addChannel()\0model,index\0"
  5286. "UnsupportedSerialDeviceConfWidget(DeviceTreeModel*,QModelIndex)\0"
  5287. };
  5288. void UnsupportedSerialDeviceConfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  5289. {
  5290. if (_c == QMetaObject::CreateInstance) {
  5291. switch (_id) {
  5292. case 0: { UnsupportedSerialDeviceConfWidget *_r = new UnsupportedSerialDeviceConfWidget((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  5293. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  5294. }
  5295. } else if (_c == QMetaObject::InvokeMetaMethod) {
  5296. Q_ASSERT(staticMetaObject.cast(_o));
  5297. UnsupportedSerialDeviceConfWidget *_t = static_cast<UnsupportedSerialDeviceConfWidget *>(_o);
  5298. switch (_id) {
  5299. case 0: _t->updateConfiguration(); break;
  5300. case 1: _t->saveScript(); break;
  5301. case 2: _t->addChannel(); break;
  5302. default: ;
  5303. }
  5304. }
  5305. }
  5306. const QMetaObjectExtraData UnsupportedSerialDeviceConfWidget::staticMetaObjectExtraData = {
  5307. 0, qt_static_metacall
  5308. };
  5309. const QMetaObject UnsupportedSerialDeviceConfWidget::staticMetaObject = {
  5310. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_UnsupportedSerialDeviceConfWidget,
  5311. qt_meta_data_UnsupportedSerialDeviceConfWidget, &staticMetaObjectExtraData }
  5312. };
  5313. #ifdef Q_NO_DATA_RELOCATION
  5314. const QMetaObject &UnsupportedSerialDeviceConfWidget::getStaticMetaObject() { return staticMetaObject; }
  5315. #endif //Q_NO_DATA_RELOCATION
  5316. const QMetaObject *UnsupportedSerialDeviceConfWidget::metaObject() const
  5317. {
  5318. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  5319. }
  5320. void *UnsupportedSerialDeviceConfWidget::qt_metacast(const char *_clname)
  5321. {
  5322. if (!_clname) return 0;
  5323. if (!strcmp(_clname, qt_meta_stringdata_UnsupportedSerialDeviceConfWidget))
  5324. return static_cast<void*>(const_cast< UnsupportedSerialDeviceConfWidget*>(this));
  5325. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  5326. }
  5327. int UnsupportedSerialDeviceConfWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  5328. {
  5329. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  5330. if (_id < 0)
  5331. return _id;
  5332. if (_c == QMetaObject::InvokeMetaMethod) {
  5333. if (_id < 3)
  5334. qt_static_metacall(this, _c, _id, _a);
  5335. _id -= 3;
  5336. }
  5337. return _id;
  5338. }
  5339. static const uint qt_meta_data_UnsupportedDeviceChannelConfWidget[] = {
  5340. // content:
  5341. 6, // revision
  5342. 0, // classname
  5343. 0, 0, // classinfo
  5344. 3, 14, // methods
  5345. 0, 0, // properties
  5346. 0, 0, // enums/sets
  5347. 1, 29, // constructors
  5348. 0, // flags
  5349. 0, // signalCount
  5350. // slots: signature, parameters, type, tag, flags
  5351. 42, 36, 35, 35, 0x08,
  5352. 75, 68, 35, 35, 0x08,
  5353. 94, 35, 35, 35, 0x08,
  5354. // constructors: signature, parameters, type, tag, flags
  5355. 128, 116, 35, 35, 0x0e,
  5356. 0 // eod
  5357. };
  5358. static const char qt_meta_stringdata_UnsupportedDeviceChannelConfWidget[] = {
  5359. "UnsupportedDeviceChannelConfWidget\0\0"
  5360. "value\0updateColumnName(QString)\0hidden\0"
  5361. "updateHidden(bool)\0updateConfiguration()\0"
  5362. "model,index\0"
  5363. "UnsupportedDeviceChannelConfWidget(DeviceTreeModel*,QModelIndex)\0"
  5364. };
  5365. void UnsupportedDeviceChannelConfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  5366. {
  5367. if (_c == QMetaObject::CreateInstance) {
  5368. switch (_id) {
  5369. case 0: { UnsupportedDeviceChannelConfWidget *_r = new UnsupportedDeviceChannelConfWidget((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  5370. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  5371. }
  5372. } else if (_c == QMetaObject::InvokeMetaMethod) {
  5373. Q_ASSERT(staticMetaObject.cast(_o));
  5374. UnsupportedDeviceChannelConfWidget *_t = static_cast<UnsupportedDeviceChannelConfWidget *>(_o);
  5375. switch (_id) {
  5376. case 0: _t->updateColumnName((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  5377. case 1: _t->updateHidden((*reinterpret_cast< bool(*)>(_a[1]))); break;
  5378. case 2: _t->updateConfiguration(); break;
  5379. default: ;
  5380. }
  5381. }
  5382. }
  5383. const QMetaObjectExtraData UnsupportedDeviceChannelConfWidget::staticMetaObjectExtraData = {
  5384. 0, qt_static_metacall
  5385. };
  5386. const QMetaObject UnsupportedDeviceChannelConfWidget::staticMetaObject = {
  5387. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_UnsupportedDeviceChannelConfWidget,
  5388. qt_meta_data_UnsupportedDeviceChannelConfWidget, &staticMetaObjectExtraData }
  5389. };
  5390. #ifdef Q_NO_DATA_RELOCATION
  5391. const QMetaObject &UnsupportedDeviceChannelConfWidget::getStaticMetaObject() { return staticMetaObject; }
  5392. #endif //Q_NO_DATA_RELOCATION
  5393. const QMetaObject *UnsupportedDeviceChannelConfWidget::metaObject() const
  5394. {
  5395. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  5396. }
  5397. void *UnsupportedDeviceChannelConfWidget::qt_metacast(const char *_clname)
  5398. {
  5399. if (!_clname) return 0;
  5400. if (!strcmp(_clname, qt_meta_stringdata_UnsupportedDeviceChannelConfWidget))
  5401. return static_cast<void*>(const_cast< UnsupportedDeviceChannelConfWidget*>(this));
  5402. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  5403. }
  5404. int UnsupportedDeviceChannelConfWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  5405. {
  5406. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  5407. if (_id < 0)
  5408. return _id;
  5409. if (_c == QMetaObject::InvokeMetaMethod) {
  5410. if (_id < 3)
  5411. qt_static_metacall(this, _c, _id, _a);
  5412. _id -= 3;
  5413. }
  5414. return _id;
  5415. }
  5416. static const uint qt_meta_data_JavaScriptDevice[] = {
  5417. // content:
  5418. 6, // revision
  5419. 0, // classname
  5420. 0, 0, // classinfo
  5421. 13, 14, // methods
  5422. 0, 0, // properties
  5423. 0, 0, // enums/sets
  5424. 1, 79, // constructors
  5425. 0, // flags
  5426. 4, // signalCount
  5427. // signals: signature, parameters, type, tag, flags
  5428. 33, 18, 17, 17, 0x05,
  5429. 61, 17, 17, 17, 0x05,
  5430. 81, 17, 17, 17, 0x05,
  5431. 100, 17, 17, 17, 0x05,
  5432. // slots: signature, parameters, type, tag, flags
  5433. 127, 122, 17, 17, 0x0a,
  5434. 158, 153, 17, 17, 0x0a,
  5435. 183, 17, 17, 17, 0x0a,
  5436. 191, 17, 17, 17, 0x0a,
  5437. // methods: signature, parameters, type, tag, flags
  5438. 202, 17, 198, 17, 0x02,
  5439. 230, 222, 217, 17, 0x02,
  5440. 263, 222, 251, 17, 0x02,
  5441. 296, 222, 288, 17, 0x02,
  5442. 319, 222, 288, 17, 0x02,
  5443. // constructors: signature, parameters, type, tag, flags
  5444. 364, 345, 17, 17, 0x0e,
  5445. 0 // eod
  5446. };
  5447. static const char qt_meta_stringdata_JavaScriptDevice[] = {
  5448. "JavaScriptDevice\0\0note,tcol,ncol\0"
  5449. "annotation(QString,int,int)\0"
  5450. "triggerStartBatch()\0triggerStopBatch()\0"
  5451. "deviceStopRequested()\0tcol\0"
  5452. "setTemperatureColumn(int)\0ncol\0"
  5453. "setAnnotationColumn(int)\0start()\0"
  5454. "stop()\0int\0channelCount()\0bool\0channel\0"
  5455. "isChannelHidden(int)\0Units::Unit\0"
  5456. "expectedChannelUnit(int)\0QString\0"
  5457. "channelColumnName(int)\0channelIndicatorText(int)\0"
  5458. "deviceIndex,engine\0"
  5459. "JavaScriptDevice(QModelIndex,QScriptEngine*)\0"
  5460. };
  5461. void JavaScriptDevice::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  5462. {
  5463. if (_c == QMetaObject::CreateInstance) {
  5464. switch (_id) {
  5465. case 0: { JavaScriptDevice *_r = new JavaScriptDevice((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< QScriptEngine*(*)>(_a[2])));
  5466. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  5467. }
  5468. } else if (_c == QMetaObject::InvokeMetaMethod) {
  5469. Q_ASSERT(staticMetaObject.cast(_o));
  5470. JavaScriptDevice *_t = static_cast<JavaScriptDevice *>(_o);
  5471. switch (_id) {
  5472. case 0: _t->annotation((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
  5473. case 1: _t->triggerStartBatch(); break;
  5474. case 2: _t->triggerStopBatch(); break;
  5475. case 3: _t->deviceStopRequested(); break;
  5476. case 4: _t->setTemperatureColumn((*reinterpret_cast< int(*)>(_a[1]))); break;
  5477. case 5: _t->setAnnotationColumn((*reinterpret_cast< int(*)>(_a[1]))); break;
  5478. case 6: _t->start(); break;
  5479. case 7: _t->stop(); break;
  5480. case 8: { int _r = _t->channelCount();
  5481. if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; } break;
  5482. case 9: { bool _r = _t->isChannelHidden((*reinterpret_cast< int(*)>(_a[1])));
  5483. if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; } break;
  5484. case 10: { Units::Unit _r = _t->expectedChannelUnit((*reinterpret_cast< int(*)>(_a[1])));
  5485. if (_a[0]) *reinterpret_cast< Units::Unit*>(_a[0]) = _r; } break;
  5486. case 11: { QString _r = _t->channelColumnName((*reinterpret_cast< int(*)>(_a[1])));
  5487. if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; } break;
  5488. case 12: { QString _r = _t->channelIndicatorText((*reinterpret_cast< int(*)>(_a[1])));
  5489. if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; } break;
  5490. default: ;
  5491. }
  5492. }
  5493. }
  5494. const QMetaObjectExtraData JavaScriptDevice::staticMetaObjectExtraData = {
  5495. 0, qt_static_metacall
  5496. };
  5497. const QMetaObject JavaScriptDevice::staticMetaObject = {
  5498. { &QObject::staticMetaObject, qt_meta_stringdata_JavaScriptDevice,
  5499. qt_meta_data_JavaScriptDevice, &staticMetaObjectExtraData }
  5500. };
  5501. #ifdef Q_NO_DATA_RELOCATION
  5502. const QMetaObject &JavaScriptDevice::getStaticMetaObject() { return staticMetaObject; }
  5503. #endif //Q_NO_DATA_RELOCATION
  5504. const QMetaObject *JavaScriptDevice::metaObject() const
  5505. {
  5506. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  5507. }
  5508. void *JavaScriptDevice::qt_metacast(const char *_clname)
  5509. {
  5510. if (!_clname) return 0;
  5511. if (!strcmp(_clname, qt_meta_stringdata_JavaScriptDevice))
  5512. return static_cast<void*>(const_cast< JavaScriptDevice*>(this));
  5513. return QObject::qt_metacast(_clname);
  5514. }
  5515. int JavaScriptDevice::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  5516. {
  5517. _id = QObject::qt_metacall(_c, _id, _a);
  5518. if (_id < 0)
  5519. return _id;
  5520. if (_c == QMetaObject::InvokeMetaMethod) {
  5521. if (_id < 13)
  5522. qt_static_metacall(this, _c, _id, _a);
  5523. _id -= 13;
  5524. }
  5525. return _id;
  5526. }
  5527. // SIGNAL 0
  5528. void JavaScriptDevice::annotation(QString _t1, int _t2, int _t3)
  5529. {
  5530. 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)) };
  5531. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  5532. }
  5533. // SIGNAL 1
  5534. void JavaScriptDevice::triggerStartBatch()
  5535. {
  5536. QMetaObject::activate(this, &staticMetaObject, 1, 0);
  5537. }
  5538. // SIGNAL 2
  5539. void JavaScriptDevice::triggerStopBatch()
  5540. {
  5541. QMetaObject::activate(this, &staticMetaObject, 2, 0);
  5542. }
  5543. // SIGNAL 3
  5544. void JavaScriptDevice::deviceStopRequested()
  5545. {
  5546. QMetaObject::activate(this, &staticMetaObject, 3, 0);
  5547. }
  5548. static const uint qt_meta_data_PhidgetsTemperatureSensorConfWidget[] = {
  5549. // content:
  5550. 6, // revision
  5551. 0, // classname
  5552. 0, 0, // classinfo
  5553. 2, 14, // methods
  5554. 0, 0, // properties
  5555. 0, 0, // enums/sets
  5556. 1, 24, // constructors
  5557. 0, // flags
  5558. 0, // signalCount
  5559. // slots: signature, parameters, type, tag, flags
  5560. 37, 36, 36, 36, 0x08,
  5561. 53, 50, 36, 36, 0x08,
  5562. // constructors: signature, parameters, type, tag, flags
  5563. 81, 69, 36, 36, 0x0e,
  5564. 0 // eod
  5565. };
  5566. static const char qt_meta_stringdata_PhidgetsTemperatureSensorConfWidget[] = {
  5567. "PhidgetsTemperatureSensorConfWidget\0"
  5568. "\0addChannel()\0ms\0updateRate(int)\0"
  5569. "model,index\0"
  5570. "PhidgetsTemperatureSensorConfWidget(DeviceTreeModel*,QModelIndex)\0"
  5571. };
  5572. void PhidgetsTemperatureSensorConfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  5573. {
  5574. if (_c == QMetaObject::CreateInstance) {
  5575. switch (_id) {
  5576. case 0: { PhidgetsTemperatureSensorConfWidget *_r = new PhidgetsTemperatureSensorConfWidget((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  5577. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  5578. }
  5579. } else if (_c == QMetaObject::InvokeMetaMethod) {
  5580. Q_ASSERT(staticMetaObject.cast(_o));
  5581. PhidgetsTemperatureSensorConfWidget *_t = static_cast<PhidgetsTemperatureSensorConfWidget *>(_o);
  5582. switch (_id) {
  5583. case 0: _t->addChannel(); break;
  5584. case 1: _t->updateRate((*reinterpret_cast< int(*)>(_a[1]))); break;
  5585. default: ;
  5586. }
  5587. }
  5588. }
  5589. const QMetaObjectExtraData PhidgetsTemperatureSensorConfWidget::staticMetaObjectExtraData = {
  5590. 0, qt_static_metacall
  5591. };
  5592. const QMetaObject PhidgetsTemperatureSensorConfWidget::staticMetaObject = {
  5593. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_PhidgetsTemperatureSensorConfWidget,
  5594. qt_meta_data_PhidgetsTemperatureSensorConfWidget, &staticMetaObjectExtraData }
  5595. };
  5596. #ifdef Q_NO_DATA_RELOCATION
  5597. const QMetaObject &PhidgetsTemperatureSensorConfWidget::getStaticMetaObject() { return staticMetaObject; }
  5598. #endif //Q_NO_DATA_RELOCATION
  5599. const QMetaObject *PhidgetsTemperatureSensorConfWidget::metaObject() const
  5600. {
  5601. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  5602. }
  5603. void *PhidgetsTemperatureSensorConfWidget::qt_metacast(const char *_clname)
  5604. {
  5605. if (!_clname) return 0;
  5606. if (!strcmp(_clname, qt_meta_stringdata_PhidgetsTemperatureSensorConfWidget))
  5607. return static_cast<void*>(const_cast< PhidgetsTemperatureSensorConfWidget*>(this));
  5608. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  5609. }
  5610. int PhidgetsTemperatureSensorConfWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  5611. {
  5612. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  5613. if (_id < 0)
  5614. return _id;
  5615. if (_c == QMetaObject::InvokeMetaMethod) {
  5616. if (_id < 2)
  5617. qt_static_metacall(this, _c, _id, _a);
  5618. _id -= 2;
  5619. }
  5620. return _id;
  5621. }
  5622. static const uint qt_meta_data_PhidgetTemperatureSensorChannelConfWidget[] = {
  5623. // content:
  5624. 6, // revision
  5625. 0, // classname
  5626. 0, 0, // classinfo
  5627. 4, 14, // methods
  5628. 0, 0, // properties
  5629. 0, 0, // enums/sets
  5630. 1, 34, // constructors
  5631. 0, // flags
  5632. 0, // signalCount
  5633. // slots: signature, parameters, type, tag, flags
  5634. 49, 43, 42, 42, 0x08,
  5635. 82, 75, 42, 42, 0x08,
  5636. 107, 101, 42, 42, 0x08,
  5637. 129, 121, 42, 42, 0x08,
  5638. // constructors: signature, parameters, type, tag, flags
  5639. 160, 148, 42, 42, 0x0e,
  5640. 0 // eod
  5641. };
  5642. static const char qt_meta_stringdata_PhidgetTemperatureSensorChannelConfWidget[] = {
  5643. "PhidgetTemperatureSensorChannelConfWidget\0"
  5644. "\0value\0updateColumnName(QString)\0"
  5645. "hidden\0updateHidden(bool)\0index\0"
  5646. "updateTC(int)\0channel\0updateChannel(int)\0"
  5647. "model,index\0"
  5648. "PhidgetTemperatureSensorChannelConfWidget(DeviceTreeModel*,QModelIndex"
  5649. ")\0"
  5650. };
  5651. void PhidgetTemperatureSensorChannelConfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  5652. {
  5653. if (_c == QMetaObject::CreateInstance) {
  5654. switch (_id) {
  5655. case 0: { PhidgetTemperatureSensorChannelConfWidget *_r = new PhidgetTemperatureSensorChannelConfWidget((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  5656. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  5657. }
  5658. } else if (_c == QMetaObject::InvokeMetaMethod) {
  5659. Q_ASSERT(staticMetaObject.cast(_o));
  5660. PhidgetTemperatureSensorChannelConfWidget *_t = static_cast<PhidgetTemperatureSensorChannelConfWidget *>(_o);
  5661. switch (_id) {
  5662. case 0: _t->updateColumnName((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  5663. case 1: _t->updateHidden((*reinterpret_cast< bool(*)>(_a[1]))); break;
  5664. case 2: _t->updateTC((*reinterpret_cast< int(*)>(_a[1]))); break;
  5665. case 3: _t->updateChannel((*reinterpret_cast< int(*)>(_a[1]))); break;
  5666. default: ;
  5667. }
  5668. }
  5669. }
  5670. const QMetaObjectExtraData PhidgetTemperatureSensorChannelConfWidget::staticMetaObjectExtraData = {
  5671. 0, qt_static_metacall
  5672. };
  5673. const QMetaObject PhidgetTemperatureSensorChannelConfWidget::staticMetaObject = {
  5674. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_PhidgetTemperatureSensorChannelConfWidget,
  5675. qt_meta_data_PhidgetTemperatureSensorChannelConfWidget, &staticMetaObjectExtraData }
  5676. };
  5677. #ifdef Q_NO_DATA_RELOCATION
  5678. const QMetaObject &PhidgetTemperatureSensorChannelConfWidget::getStaticMetaObject() { return staticMetaObject; }
  5679. #endif //Q_NO_DATA_RELOCATION
  5680. const QMetaObject *PhidgetTemperatureSensorChannelConfWidget::metaObject() const
  5681. {
  5682. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  5683. }
  5684. void *PhidgetTemperatureSensorChannelConfWidget::qt_metacast(const char *_clname)
  5685. {
  5686. if (!_clname) return 0;
  5687. if (!strcmp(_clname, qt_meta_stringdata_PhidgetTemperatureSensorChannelConfWidget))
  5688. return static_cast<void*>(const_cast< PhidgetTemperatureSensorChannelConfWidget*>(this));
  5689. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  5690. }
  5691. int PhidgetTemperatureSensorChannelConfWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  5692. {
  5693. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  5694. if (_id < 0)
  5695. return _id;
  5696. if (_c == QMetaObject::InvokeMetaMethod) {
  5697. if (_id < 4)
  5698. qt_static_metacall(this, _c, _id, _a);
  5699. _id -= 4;
  5700. }
  5701. return _id;
  5702. }
  5703. static const uint qt_meta_data_PhidgetsTemperatureSensor[] = {
  5704. // content:
  5705. 6, // revision
  5706. 0, // classname
  5707. 0, 0, // classinfo
  5708. 7, 14, // methods
  5709. 0, 0, // properties
  5710. 0, 0, // enums/sets
  5711. 1, 49, // constructors
  5712. 0, // flags
  5713. 0, // signalCount
  5714. // slots: signature, parameters, type, tag, flags
  5715. 27, 26, 26, 26, 0x0a,
  5716. 35, 26, 26, 26, 0x0a,
  5717. 42, 26, 26, 26, 0x08,
  5718. // methods: signature, parameters, type, tag, flags
  5719. 64, 26, 60, 26, 0x02,
  5720. 92, 84, 79, 26, 0x02,
  5721. 121, 84, 113, 26, 0x02,
  5722. 144, 84, 113, 26, 0x02,
  5723. // constructors: signature, parameters, type, tag, flags
  5724. 182, 170, 26, 26, 0x0e,
  5725. 0 // eod
  5726. };
  5727. static const char qt_meta_stringdata_PhidgetsTemperatureSensor[] = {
  5728. "PhidgetsTemperatureSensor\0\0start()\0"
  5729. "stop()\0getMeasurements()\0int\0"
  5730. "channelCount()\0bool\0channel\0"
  5731. "isChannelHidden(int)\0QString\0"
  5732. "channelColumnName(int)\0channelIndicatorText(int)\0"
  5733. "deviceIndex\0PhidgetsTemperatureSensor(QModelIndex)\0"
  5734. };
  5735. void PhidgetsTemperatureSensor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  5736. {
  5737. if (_c == QMetaObject::CreateInstance) {
  5738. switch (_id) {
  5739. case 0: { PhidgetsTemperatureSensor *_r = new PhidgetsTemperatureSensor((*reinterpret_cast< const QModelIndex(*)>(_a[1])));
  5740. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  5741. }
  5742. } else if (_c == QMetaObject::InvokeMetaMethod) {
  5743. Q_ASSERT(staticMetaObject.cast(_o));
  5744. PhidgetsTemperatureSensor *_t = static_cast<PhidgetsTemperatureSensor *>(_o);
  5745. switch (_id) {
  5746. case 0: _t->start(); break;
  5747. case 1: _t->stop(); break;
  5748. case 2: _t->getMeasurements(); break;
  5749. case 3: { int _r = _t->channelCount();
  5750. if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; } break;
  5751. case 4: { bool _r = _t->isChannelHidden((*reinterpret_cast< int(*)>(_a[1])));
  5752. if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; } break;
  5753. case 5: { QString _r = _t->channelColumnName((*reinterpret_cast< int(*)>(_a[1])));
  5754. if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; } break;
  5755. case 6: { QString _r = _t->channelIndicatorText((*reinterpret_cast< int(*)>(_a[1])));
  5756. if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; } break;
  5757. default: ;
  5758. }
  5759. }
  5760. }
  5761. const QMetaObjectExtraData PhidgetsTemperatureSensor::staticMetaObjectExtraData = {
  5762. 0, qt_static_metacall
  5763. };
  5764. const QMetaObject PhidgetsTemperatureSensor::staticMetaObject = {
  5765. { &QObject::staticMetaObject, qt_meta_stringdata_PhidgetsTemperatureSensor,
  5766. qt_meta_data_PhidgetsTemperatureSensor, &staticMetaObjectExtraData }
  5767. };
  5768. #ifdef Q_NO_DATA_RELOCATION
  5769. const QMetaObject &PhidgetsTemperatureSensor::getStaticMetaObject() { return staticMetaObject; }
  5770. #endif //Q_NO_DATA_RELOCATION
  5771. const QMetaObject *PhidgetsTemperatureSensor::metaObject() const
  5772. {
  5773. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  5774. }
  5775. void *PhidgetsTemperatureSensor::qt_metacast(const char *_clname)
  5776. {
  5777. if (!_clname) return 0;
  5778. if (!strcmp(_clname, qt_meta_stringdata_PhidgetsTemperatureSensor))
  5779. return static_cast<void*>(const_cast< PhidgetsTemperatureSensor*>(this));
  5780. return QObject::qt_metacast(_clname);
  5781. }
  5782. int PhidgetsTemperatureSensor::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  5783. {
  5784. _id = QObject::qt_metacall(_c, _id, _a);
  5785. if (_id < 0)
  5786. return _id;
  5787. if (_c == QMetaObject::InvokeMetaMethod) {
  5788. if (_id < 7)
  5789. qt_static_metacall(this, _c, _id, _a);
  5790. _id -= 7;
  5791. }
  5792. return _id;
  5793. }
  5794. static const uint qt_meta_data_LinearSplineInterpolationConfWidget[] = {
  5795. // content:
  5796. 6, // revision
  5797. 0, // classname
  5798. 0, 0, // classinfo
  5799. 3, 14, // methods
  5800. 0, 0, // properties
  5801. 0, 0, // enums/sets
  5802. 1, 29, // constructors
  5803. 0, // flags
  5804. 0, // signalCount
  5805. // slots: signature, parameters, type, tag, flags
  5806. 44, 37, 36, 36, 0x08,
  5807. 77, 72, 36, 36, 0x08,
  5808. 110, 36, 36, 36, 0x08,
  5809. // constructors: signature, parameters, type, tag, flags
  5810. 136, 124, 36, 36, 0x0e,
  5811. 0 // eod
  5812. };
  5813. static const char qt_meta_stringdata_LinearSplineInterpolationConfWidget[] = {
  5814. "LinearSplineInterpolationConfWidget\0"
  5815. "\0source\0updateSourceColumn(QString)\0"
  5816. "dest\0updateDestinationColumn(QString)\0"
  5817. "updateKnots()\0model,index\0"
  5818. "LinearSplineInterpolationConfWidget(DeviceTreeModel*,QModelIndex)\0"
  5819. };
  5820. void LinearSplineInterpolationConfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  5821. {
  5822. if (_c == QMetaObject::CreateInstance) {
  5823. switch (_id) {
  5824. case 0: { LinearSplineInterpolationConfWidget *_r = new LinearSplineInterpolationConfWidget((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  5825. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  5826. }
  5827. } else if (_c == QMetaObject::InvokeMetaMethod) {
  5828. Q_ASSERT(staticMetaObject.cast(_o));
  5829. LinearSplineInterpolationConfWidget *_t = static_cast<LinearSplineInterpolationConfWidget *>(_o);
  5830. switch (_id) {
  5831. case 0: _t->updateSourceColumn((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  5832. case 1: _t->updateDestinationColumn((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  5833. case 2: _t->updateKnots(); break;
  5834. default: ;
  5835. }
  5836. }
  5837. }
  5838. const QMetaObjectExtraData LinearSplineInterpolationConfWidget::staticMetaObjectExtraData = {
  5839. 0, qt_static_metacall
  5840. };
  5841. const QMetaObject LinearSplineInterpolationConfWidget::staticMetaObject = {
  5842. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_LinearSplineInterpolationConfWidget,
  5843. qt_meta_data_LinearSplineInterpolationConfWidget, &staticMetaObjectExtraData }
  5844. };
  5845. #ifdef Q_NO_DATA_RELOCATION
  5846. const QMetaObject &LinearSplineInterpolationConfWidget::getStaticMetaObject() { return staticMetaObject; }
  5847. #endif //Q_NO_DATA_RELOCATION
  5848. const QMetaObject *LinearSplineInterpolationConfWidget::metaObject() const
  5849. {
  5850. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  5851. }
  5852. void *LinearSplineInterpolationConfWidget::qt_metacast(const char *_clname)
  5853. {
  5854. if (!_clname) return 0;
  5855. if (!strcmp(_clname, qt_meta_stringdata_LinearSplineInterpolationConfWidget))
  5856. return static_cast<void*>(const_cast< LinearSplineInterpolationConfWidget*>(this));
  5857. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  5858. }
  5859. int LinearSplineInterpolationConfWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  5860. {
  5861. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  5862. if (_id < 0)
  5863. return _id;
  5864. if (_c == QMetaObject::InvokeMetaMethod) {
  5865. if (_id < 3)
  5866. qt_static_metacall(this, _c, _id, _a);
  5867. _id -= 3;
  5868. }
  5869. return _id;
  5870. }
  5871. static const uint qt_meta_data_CoolingTimerConfWidget[] = {
  5872. // content:
  5873. 6, // revision
  5874. 0, // classname
  5875. 0, 0, // classinfo
  5876. 1, 14, // methods
  5877. 0, 0, // properties
  5878. 0, 0, // enums/sets
  5879. 1, 19, // constructors
  5880. 0, // flags
  5881. 0, // signalCount
  5882. // slots: signature, parameters, type, tag, flags
  5883. 29, 24, 23, 23, 0x08,
  5884. // constructors: signature, parameters, type, tag, flags
  5885. 64, 52, 23, 23, 0x0e,
  5886. 0 // eod
  5887. };
  5888. static const char qt_meta_stringdata_CoolingTimerConfWidget[] = {
  5889. "CoolingTimerConfWidget\0\0time\0"
  5890. "updateResetTime(QTime)\0model,index\0"
  5891. "CoolingTimerConfWidget(DeviceTreeModel*,QModelIndex)\0"
  5892. };
  5893. void CoolingTimerConfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  5894. {
  5895. if (_c == QMetaObject::CreateInstance) {
  5896. switch (_id) {
  5897. case 0: { CoolingTimerConfWidget *_r = new CoolingTimerConfWidget((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  5898. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  5899. }
  5900. } else if (_c == QMetaObject::InvokeMetaMethod) {
  5901. Q_ASSERT(staticMetaObject.cast(_o));
  5902. CoolingTimerConfWidget *_t = static_cast<CoolingTimerConfWidget *>(_o);
  5903. switch (_id) {
  5904. case 0: _t->updateResetTime((*reinterpret_cast< QTime(*)>(_a[1]))); break;
  5905. default: ;
  5906. }
  5907. }
  5908. }
  5909. const QMetaObjectExtraData CoolingTimerConfWidget::staticMetaObjectExtraData = {
  5910. 0, qt_static_metacall
  5911. };
  5912. const QMetaObject CoolingTimerConfWidget::staticMetaObject = {
  5913. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_CoolingTimerConfWidget,
  5914. qt_meta_data_CoolingTimerConfWidget, &staticMetaObjectExtraData }
  5915. };
  5916. #ifdef Q_NO_DATA_RELOCATION
  5917. const QMetaObject &CoolingTimerConfWidget::getStaticMetaObject() { return staticMetaObject; }
  5918. #endif //Q_NO_DATA_RELOCATION
  5919. const QMetaObject *CoolingTimerConfWidget::metaObject() const
  5920. {
  5921. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  5922. }
  5923. void *CoolingTimerConfWidget::qt_metacast(const char *_clname)
  5924. {
  5925. if (!_clname) return 0;
  5926. if (!strcmp(_clname, qt_meta_stringdata_CoolingTimerConfWidget))
  5927. return static_cast<void*>(const_cast< CoolingTimerConfWidget*>(this));
  5928. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  5929. }
  5930. int CoolingTimerConfWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  5931. {
  5932. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  5933. if (_id < 0)
  5934. return _id;
  5935. if (_c == QMetaObject::InvokeMetaMethod) {
  5936. if (_id < 1)
  5937. qt_static_metacall(this, _c, _id, _a);
  5938. _id -= 1;
  5939. }
  5940. return _id;
  5941. }
  5942. static const uint qt_meta_data_RangeTimerConfWidget[] = {
  5943. // content:
  5944. 6, // revision
  5945. 0, // classname
  5946. 0, 0, // classinfo
  5947. 8, 14, // methods
  5948. 0, 0, // properties
  5949. 0, 0, // enums/sets
  5950. 1, 54, // constructors
  5951. 0, // flags
  5952. 0, // signalCount
  5953. // slots: signature, parameters, type, tag, flags
  5954. 27, 22, 21, 21, 0x08,
  5955. 58, 22, 21, 21, 0x08,
  5956. 88, 22, 21, 21, 0x08,
  5957. 119, 22, 21, 21, 0x08,
  5958. 149, 22, 21, 21, 0x08,
  5959. 175, 22, 21, 21, 0x08,
  5960. 207, 200, 21, 21, 0x08,
  5961. 231, 200, 21, 21, 0x08,
  5962. // constructors: signature, parameters, type, tag, flags
  5963. 266, 254, 21, 21, 0x0e,
  5964. 0 // eod
  5965. };
  5966. static const char qt_meta_stringdata_RangeTimerConfWidget[] = {
  5967. "RangeTimerConfWidget\0\0text\0"
  5968. "updateStartButtonText(QString)\0"
  5969. "updateStopButtonText(QString)\0"
  5970. "updateStartColumnName(QString)\0"
  5971. "updateStopColumnName(QString)\0"
  5972. "updateStartValue(QString)\0"
  5973. "updateStopValue(QString)\0option\0"
  5974. "updateStartTrigger(int)\0updateStopTrigger(int)\0"
  5975. "model,index\0"
  5976. "RangeTimerConfWidget(DeviceTreeModel*,QModelIndex)\0"
  5977. };
  5978. void RangeTimerConfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  5979. {
  5980. if (_c == QMetaObject::CreateInstance) {
  5981. switch (_id) {
  5982. case 0: { RangeTimerConfWidget *_r = new RangeTimerConfWidget((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  5983. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  5984. }
  5985. } else if (_c == QMetaObject::InvokeMetaMethod) {
  5986. Q_ASSERT(staticMetaObject.cast(_o));
  5987. RangeTimerConfWidget *_t = static_cast<RangeTimerConfWidget *>(_o);
  5988. switch (_id) {
  5989. case 0: _t->updateStartButtonText((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  5990. case 1: _t->updateStopButtonText((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  5991. case 2: _t->updateStartColumnName((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  5992. case 3: _t->updateStopColumnName((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  5993. case 4: _t->updateStartValue((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  5994. case 5: _t->updateStopValue((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  5995. case 6: _t->updateStartTrigger((*reinterpret_cast< int(*)>(_a[1]))); break;
  5996. case 7: _t->updateStopTrigger((*reinterpret_cast< int(*)>(_a[1]))); break;
  5997. default: ;
  5998. }
  5999. }
  6000. }
  6001. const QMetaObjectExtraData RangeTimerConfWidget::staticMetaObjectExtraData = {
  6002. 0, qt_static_metacall
  6003. };
  6004. const QMetaObject RangeTimerConfWidget::staticMetaObject = {
  6005. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_RangeTimerConfWidget,
  6006. qt_meta_data_RangeTimerConfWidget, &staticMetaObjectExtraData }
  6007. };
  6008. #ifdef Q_NO_DATA_RELOCATION
  6009. const QMetaObject &RangeTimerConfWidget::getStaticMetaObject() { return staticMetaObject; }
  6010. #endif //Q_NO_DATA_RELOCATION
  6011. const QMetaObject *RangeTimerConfWidget::metaObject() const
  6012. {
  6013. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  6014. }
  6015. void *RangeTimerConfWidget::qt_metacast(const char *_clname)
  6016. {
  6017. if (!_clname) return 0;
  6018. if (!strcmp(_clname, qt_meta_stringdata_RangeTimerConfWidget))
  6019. return static_cast<void*>(const_cast< RangeTimerConfWidget*>(this));
  6020. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  6021. }
  6022. int RangeTimerConfWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  6023. {
  6024. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  6025. if (_id < 0)
  6026. return _id;
  6027. if (_c == QMetaObject::InvokeMetaMethod) {
  6028. if (_id < 8)
  6029. qt_static_metacall(this, _c, _id, _a);
  6030. _id -= 8;
  6031. }
  6032. return _id;
  6033. }
  6034. static const uint qt_meta_data_MultiRangeTimerConfWidget[] = {
  6035. // content:
  6036. 6, // revision
  6037. 0, // classname
  6038. 0, 0, // classinfo
  6039. 2, 14, // methods
  6040. 0, 0, // properties
  6041. 0, 0, // enums/sets
  6042. 1, 24, // constructors
  6043. 0, // flags
  6044. 0, // signalCount
  6045. // slots: signature, parameters, type, tag, flags
  6046. 32, 27, 26, 26, 0x08,
  6047. 58, 26, 26, 26, 0x08,
  6048. // constructors: signature, parameters, type, tag, flags
  6049. 88, 76, 26, 26, 0x0e,
  6050. 0 // eod
  6051. };
  6052. static const char qt_meta_stringdata_MultiRangeTimerConfWidget[] = {
  6053. "MultiRangeTimerConfWidget\0\0text\0"
  6054. "updateColumnName(QString)\0updateRangeData()\0"
  6055. "model,index\0"
  6056. "MultiRangeTimerConfWidget(DeviceTreeModel*,QModelIndex)\0"
  6057. };
  6058. void MultiRangeTimerConfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  6059. {
  6060. if (_c == QMetaObject::CreateInstance) {
  6061. switch (_id) {
  6062. case 0: { MultiRangeTimerConfWidget *_r = new MultiRangeTimerConfWidget((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  6063. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  6064. }
  6065. } else if (_c == QMetaObject::InvokeMetaMethod) {
  6066. Q_ASSERT(staticMetaObject.cast(_o));
  6067. MultiRangeTimerConfWidget *_t = static_cast<MultiRangeTimerConfWidget *>(_o);
  6068. switch (_id) {
  6069. case 0: _t->updateColumnName((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  6070. case 1: _t->updateRangeData(); break;
  6071. default: ;
  6072. }
  6073. }
  6074. }
  6075. const QMetaObjectExtraData MultiRangeTimerConfWidget::staticMetaObjectExtraData = {
  6076. 0, qt_static_metacall
  6077. };
  6078. const QMetaObject MultiRangeTimerConfWidget::staticMetaObject = {
  6079. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_MultiRangeTimerConfWidget,
  6080. qt_meta_data_MultiRangeTimerConfWidget, &staticMetaObjectExtraData }
  6081. };
  6082. #ifdef Q_NO_DATA_RELOCATION
  6083. const QMetaObject &MultiRangeTimerConfWidget::getStaticMetaObject() { return staticMetaObject; }
  6084. #endif //Q_NO_DATA_RELOCATION
  6085. const QMetaObject *MultiRangeTimerConfWidget::metaObject() const
  6086. {
  6087. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  6088. }
  6089. void *MultiRangeTimerConfWidget::qt_metacast(const char *_clname)
  6090. {
  6091. if (!_clname) return 0;
  6092. if (!strcmp(_clname, qt_meta_stringdata_MultiRangeTimerConfWidget))
  6093. return static_cast<void*>(const_cast< MultiRangeTimerConfWidget*>(this));
  6094. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  6095. }
  6096. int MultiRangeTimerConfWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  6097. {
  6098. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  6099. if (_id < 0)
  6100. return _id;
  6101. if (_c == QMetaObject::InvokeMetaMethod) {
  6102. if (_id < 2)
  6103. qt_static_metacall(this, _c, _id, _a);
  6104. _id -= 2;
  6105. }
  6106. return _id;
  6107. }
  6108. static const uint qt_meta_data_TranslationConfWidget[] = {
  6109. // content:
  6110. 6, // revision
  6111. 0, // classname
  6112. 0, 0, // classinfo
  6113. 2, 14, // methods
  6114. 0, 0, // properties
  6115. 0, 0, // enums/sets
  6116. 1, 24, // constructors
  6117. 0, // flags
  6118. 0, // signalCount
  6119. // slots: signature, parameters, type, tag, flags
  6120. 30, 23, 22, 22, 0x08,
  6121. 60, 22, 22, 22, 0x08,
  6122. // constructors: signature, parameters, type, tag, flags
  6123. 92, 80, 22, 22, 0x0e,
  6124. 0 // eod
  6125. };
  6126. static const char qt_meta_stringdata_TranslationConfWidget[] = {
  6127. "TranslationConfWidget\0\0column\0"
  6128. "updateMatchingColumn(QString)\0"
  6129. "updateTemperature()\0model,index\0"
  6130. "TranslationConfWidget(DeviceTreeModel*,QModelIndex)\0"
  6131. };
  6132. void TranslationConfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  6133. {
  6134. if (_c == QMetaObject::CreateInstance) {
  6135. switch (_id) {
  6136. case 0: { TranslationConfWidget *_r = new TranslationConfWidget((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  6137. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  6138. }
  6139. } else if (_c == QMetaObject::InvokeMetaMethod) {
  6140. Q_ASSERT(staticMetaObject.cast(_o));
  6141. TranslationConfWidget *_t = static_cast<TranslationConfWidget *>(_o);
  6142. switch (_id) {
  6143. case 0: _t->updateMatchingColumn((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  6144. case 1: _t->updateTemperature(); break;
  6145. default: ;
  6146. }
  6147. }
  6148. }
  6149. const QMetaObjectExtraData TranslationConfWidget::staticMetaObjectExtraData = {
  6150. 0, qt_static_metacall
  6151. };
  6152. const QMetaObject TranslationConfWidget::staticMetaObject = {
  6153. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_TranslationConfWidget,
  6154. qt_meta_data_TranslationConfWidget, &staticMetaObjectExtraData }
  6155. };
  6156. #ifdef Q_NO_DATA_RELOCATION
  6157. const QMetaObject &TranslationConfWidget::getStaticMetaObject() { return staticMetaObject; }
  6158. #endif //Q_NO_DATA_RELOCATION
  6159. const QMetaObject *TranslationConfWidget::metaObject() const
  6160. {
  6161. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  6162. }
  6163. void *TranslationConfWidget::qt_metacast(const char *_clname)
  6164. {
  6165. if (!_clname) return 0;
  6166. if (!strcmp(_clname, qt_meta_stringdata_TranslationConfWidget))
  6167. return static_cast<void*>(const_cast< TranslationConfWidget*>(this));
  6168. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  6169. }
  6170. int TranslationConfWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  6171. {
  6172. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  6173. if (_id < 0)
  6174. return _id;
  6175. if (_c == QMetaObject::InvokeMetaMethod) {
  6176. if (_id < 2)
  6177. qt_static_metacall(this, _c, _id, _a);
  6178. _id -= 2;
  6179. }
  6180. return _id;
  6181. }
  6182. static const uint qt_meta_data_RateOfChange[] = {
  6183. // content:
  6184. 6, // revision
  6185. 0, // classname
  6186. 0, 0, // classinfo
  6187. 4, 14, // methods
  6188. 0, 0, // properties
  6189. 0, 0, // enums/sets
  6190. 0, 0, // constructors
  6191. 0, // flags
  6192. 1, // signalCount
  6193. // signals: signature, parameters, type, tag, flags
  6194. 22, 14, 13, 13, 0x05,
  6195. // slots: signature, parameters, type, tag, flags
  6196. 43, 14, 13, 13, 0x0a,
  6197. 79, 71, 13, 13, 0x0a,
  6198. 97, 71, 13, 13, 0x0a,
  6199. 0 // eod
  6200. };
  6201. static const char qt_meta_stringdata_RateOfChange[] = {
  6202. "RateOfChange\0\0measure\0newData(Measurement)\0"
  6203. "newMeasurement(Measurement)\0seconds\0"
  6204. "setCacheTime(int)\0setScaleTime(int)\0"
  6205. };
  6206. void RateOfChange::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  6207. {
  6208. if (_c == QMetaObject::InvokeMetaMethod) {
  6209. Q_ASSERT(staticMetaObject.cast(_o));
  6210. RateOfChange *_t = static_cast<RateOfChange *>(_o);
  6211. switch (_id) {
  6212. case 0: _t->newData((*reinterpret_cast< Measurement(*)>(_a[1]))); break;
  6213. case 1: _t->newMeasurement((*reinterpret_cast< Measurement(*)>(_a[1]))); break;
  6214. case 2: _t->setCacheTime((*reinterpret_cast< int(*)>(_a[1]))); break;
  6215. case 3: _t->setScaleTime((*reinterpret_cast< int(*)>(_a[1]))); break;
  6216. default: ;
  6217. }
  6218. }
  6219. }
  6220. const QMetaObjectExtraData RateOfChange::staticMetaObjectExtraData = {
  6221. 0, qt_static_metacall
  6222. };
  6223. const QMetaObject RateOfChange::staticMetaObject = {
  6224. { &QObject::staticMetaObject, qt_meta_stringdata_RateOfChange,
  6225. qt_meta_data_RateOfChange, &staticMetaObjectExtraData }
  6226. };
  6227. #ifdef Q_NO_DATA_RELOCATION
  6228. const QMetaObject &RateOfChange::getStaticMetaObject() { return staticMetaObject; }
  6229. #endif //Q_NO_DATA_RELOCATION
  6230. const QMetaObject *RateOfChange::metaObject() const
  6231. {
  6232. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  6233. }
  6234. void *RateOfChange::qt_metacast(const char *_clname)
  6235. {
  6236. if (!_clname) return 0;
  6237. if (!strcmp(_clname, qt_meta_stringdata_RateOfChange))
  6238. return static_cast<void*>(const_cast< RateOfChange*>(this));
  6239. return QObject::qt_metacast(_clname);
  6240. }
  6241. int RateOfChange::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  6242. {
  6243. _id = QObject::qt_metacall(_c, _id, _a);
  6244. if (_id < 0)
  6245. return _id;
  6246. if (_c == QMetaObject::InvokeMetaMethod) {
  6247. if (_id < 4)
  6248. qt_static_metacall(this, _c, _id, _a);
  6249. _id -= 4;
  6250. }
  6251. return _id;
  6252. }
  6253. // SIGNAL 0
  6254. void RateOfChange::newData(Measurement _t1)
  6255. {
  6256. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
  6257. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  6258. }
  6259. static const uint qt_meta_data_RateOfChangeConfWidget[] = {
  6260. // content:
  6261. 6, // revision
  6262. 0, // classname
  6263. 0, 0, // classinfo
  6264. 3, 14, // methods
  6265. 0, 0, // properties
  6266. 0, 0, // enums/sets
  6267. 1, 29, // constructors
  6268. 0, // flags
  6269. 0, // signalCount
  6270. // slots: signature, parameters, type, tag, flags
  6271. 31, 24, 23, 23, 0x08,
  6272. 61, 53, 23, 23, 0x08,
  6273. 86, 53, 23, 23, 0x08,
  6274. // constructors: signature, parameters, type, tag, flags
  6275. 123, 111, 23, 23, 0x0e,
  6276. 0 // eod
  6277. };
  6278. static const char qt_meta_stringdata_RateOfChangeConfWidget[] = {
  6279. "RateOfChangeConfWidget\0\0column\0"
  6280. "updateColumn(QString)\0seconds\0"
  6281. "updateCacheTime(QString)\0"
  6282. "updateScaleTime(QString)\0model,index\0"
  6283. "RateOfChangeConfWidget(DeviceTreeModel*,QModelIndex)\0"
  6284. };
  6285. void RateOfChangeConfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  6286. {
  6287. if (_c == QMetaObject::CreateInstance) {
  6288. switch (_id) {
  6289. case 0: { RateOfChangeConfWidget *_r = new RateOfChangeConfWidget((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  6290. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  6291. }
  6292. } else if (_c == QMetaObject::InvokeMetaMethod) {
  6293. Q_ASSERT(staticMetaObject.cast(_o));
  6294. RateOfChangeConfWidget *_t = static_cast<RateOfChangeConfWidget *>(_o);
  6295. switch (_id) {
  6296. case 0: _t->updateColumn((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  6297. case 1: _t->updateCacheTime((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  6298. case 2: _t->updateScaleTime((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  6299. default: ;
  6300. }
  6301. }
  6302. }
  6303. const QMetaObjectExtraData RateOfChangeConfWidget::staticMetaObjectExtraData = {
  6304. 0, qt_static_metacall
  6305. };
  6306. const QMetaObject RateOfChangeConfWidget::staticMetaObject = {
  6307. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_RateOfChangeConfWidget,
  6308. qt_meta_data_RateOfChangeConfWidget, &staticMetaObjectExtraData }
  6309. };
  6310. #ifdef Q_NO_DATA_RELOCATION
  6311. const QMetaObject &RateOfChangeConfWidget::getStaticMetaObject() { return staticMetaObject; }
  6312. #endif //Q_NO_DATA_RELOCATION
  6313. const QMetaObject *RateOfChangeConfWidget::metaObject() const
  6314. {
  6315. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  6316. }
  6317. void *RateOfChangeConfWidget::qt_metacast(const char *_clname)
  6318. {
  6319. if (!_clname) return 0;
  6320. if (!strcmp(_clname, qt_meta_stringdata_RateOfChangeConfWidget))
  6321. return static_cast<void*>(const_cast< RateOfChangeConfWidget*>(this));
  6322. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  6323. }
  6324. int RateOfChangeConfWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  6325. {
  6326. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  6327. if (_id < 0)
  6328. return _id;
  6329. if (_c == QMetaObject::InvokeMetaMethod) {
  6330. if (_id < 3)
  6331. qt_static_metacall(this, _c, _id, _a);
  6332. _id -= 3;
  6333. }
  6334. return _id;
  6335. }
  6336. static const uint qt_meta_data_DataqSdkDevice[] = {
  6337. // content:
  6338. 6, // revision
  6339. 0, // classname
  6340. 0, 0, // classinfo
  6341. 3, 14, // methods
  6342. 0, 0, // properties
  6343. 0, 0, // enums/sets
  6344. 0, 0, // constructors
  6345. 0, // flags
  6346. 0, // signalCount
  6347. // slots: signature, parameters, type, tag, flags
  6348. 16, 15, 15, 15, 0x08,
  6349. // methods: signature, parameters, type, tag, flags
  6350. 36, 33, 15, 15, 0x02,
  6351. 57, 15, 15, 15, 0x02,
  6352. 0 // eod
  6353. };
  6354. static const char qt_meta_stringdata_DataqSdkDevice[] = {
  6355. "DataqSdkDevice\0\0threadFinished()\0Hz\0"
  6356. "setClockRate(double)\0start()\0"
  6357. };
  6358. void DataqSdkDevice::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  6359. {
  6360. if (_c == QMetaObject::InvokeMetaMethod) {
  6361. Q_ASSERT(staticMetaObject.cast(_o));
  6362. DataqSdkDevice *_t = static_cast<DataqSdkDevice *>(_o);
  6363. switch (_id) {
  6364. case 0: _t->threadFinished(); break;
  6365. case 1: _t->setClockRate((*reinterpret_cast< double(*)>(_a[1]))); break;
  6366. case 2: _t->start(); break;
  6367. default: ;
  6368. }
  6369. }
  6370. }
  6371. const QMetaObjectExtraData DataqSdkDevice::staticMetaObjectExtraData = {
  6372. 0, qt_static_metacall
  6373. };
  6374. const QMetaObject DataqSdkDevice::staticMetaObject = {
  6375. { &QObject::staticMetaObject, qt_meta_stringdata_DataqSdkDevice,
  6376. qt_meta_data_DataqSdkDevice, &staticMetaObjectExtraData }
  6377. };
  6378. #ifdef Q_NO_DATA_RELOCATION
  6379. const QMetaObject &DataqSdkDevice::getStaticMetaObject() { return staticMetaObject; }
  6380. #endif //Q_NO_DATA_RELOCATION
  6381. const QMetaObject *DataqSdkDevice::metaObject() const
  6382. {
  6383. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  6384. }
  6385. void *DataqSdkDevice::qt_metacast(const char *_clname)
  6386. {
  6387. if (!_clname) return 0;
  6388. if (!strcmp(_clname, qt_meta_stringdata_DataqSdkDevice))
  6389. return static_cast<void*>(const_cast< DataqSdkDevice*>(this));
  6390. return QObject::qt_metacast(_clname);
  6391. }
  6392. int DataqSdkDevice::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  6393. {
  6394. _id = QObject::qt_metacall(_c, _id, _a);
  6395. if (_id < 0)
  6396. return _id;
  6397. if (_c == QMetaObject::InvokeMetaMethod) {
  6398. if (_id < 3)
  6399. qt_static_metacall(this, _c, _id, _a);
  6400. _id -= 3;
  6401. }
  6402. return _id;
  6403. }
  6404. static const uint qt_meta_data_DataqSdkDeviceImplementation[] = {
  6405. // content:
  6406. 6, // revision
  6407. 0, // classname
  6408. 0, 0, // classinfo
  6409. 1, 14, // methods
  6410. 0, 0, // properties
  6411. 0, 0, // enums/sets
  6412. 0, 0, // constructors
  6413. 0, // flags
  6414. 0, // signalCount
  6415. // slots: signature, parameters, type, tag, flags
  6416. 30, 29, 29, 29, 0x0a,
  6417. 0 // eod
  6418. };
  6419. static const char qt_meta_stringdata_DataqSdkDeviceImplementation[] = {
  6420. "DataqSdkDeviceImplementation\0\0measure()\0"
  6421. };
  6422. void DataqSdkDeviceImplementation::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  6423. {
  6424. if (_c == QMetaObject::InvokeMetaMethod) {
  6425. Q_ASSERT(staticMetaObject.cast(_o));
  6426. DataqSdkDeviceImplementation *_t = static_cast<DataqSdkDeviceImplementation *>(_o);
  6427. switch (_id) {
  6428. case 0: _t->measure(); break;
  6429. default: ;
  6430. }
  6431. }
  6432. Q_UNUSED(_a);
  6433. }
  6434. const QMetaObjectExtraData DataqSdkDeviceImplementation::staticMetaObjectExtraData = {
  6435. 0, qt_static_metacall
  6436. };
  6437. const QMetaObject DataqSdkDeviceImplementation::staticMetaObject = {
  6438. { &QThread::staticMetaObject, qt_meta_stringdata_DataqSdkDeviceImplementation,
  6439. qt_meta_data_DataqSdkDeviceImplementation, &staticMetaObjectExtraData }
  6440. };
  6441. #ifdef Q_NO_DATA_RELOCATION
  6442. const QMetaObject &DataqSdkDeviceImplementation::getStaticMetaObject() { return staticMetaObject; }
  6443. #endif //Q_NO_DATA_RELOCATION
  6444. const QMetaObject *DataqSdkDeviceImplementation::metaObject() const
  6445. {
  6446. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  6447. }
  6448. void *DataqSdkDeviceImplementation::qt_metacast(const char *_clname)
  6449. {
  6450. if (!_clname) return 0;
  6451. if (!strcmp(_clname, qt_meta_stringdata_DataqSdkDeviceImplementation))
  6452. return static_cast<void*>(const_cast< DataqSdkDeviceImplementation*>(this));
  6453. return QThread::qt_metacast(_clname);
  6454. }
  6455. int DataqSdkDeviceImplementation::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  6456. {
  6457. _id = QThread::qt_metacall(_c, _id, _a);
  6458. if (_id < 0)
  6459. return _id;
  6460. if (_c == QMetaObject::InvokeMetaMethod) {
  6461. if (_id < 1)
  6462. qt_static_metacall(this, _c, _id, _a);
  6463. _id -= 1;
  6464. }
  6465. return _id;
  6466. }
  6467. static const uint qt_meta_data_DataqSdkDeviceConfWidget[] = {
  6468. // content:
  6469. 6, // revision
  6470. 0, // classname
  6471. 0, 0, // classinfo
  6472. 4, 14, // methods
  6473. 0, 0, // properties
  6474. 0, 0, // enums/sets
  6475. 1, 34, // constructors
  6476. 0, // flags
  6477. 0, // signalCount
  6478. // slots: signature, parameters, type, tag, flags
  6479. 36, 26, 25, 25, 0x08,
  6480. 72, 59, 25, 25, 0x08,
  6481. 103, 96, 25, 25, 0x08,
  6482. 123, 25, 25, 25, 0x08,
  6483. // constructors: signature, parameters, type, tag, flags
  6484. 148, 136, 25, 25, 0x0e,
  6485. 0 // eod
  6486. };
  6487. static const char qt_meta_stringdata_DataqSdkDeviceConfWidget[] = {
  6488. "DataqSdkDeviceConfWidget\0\0automatic\0"
  6489. "updateAutoSelect(bool)\0deviceNumber\0"
  6490. "updateDeviceNumber(int)\0portId\0"
  6491. "updatePort(QString)\0addChannel()\0"
  6492. "model,index\0"
  6493. "DataqSdkDeviceConfWidget(DeviceTreeModel*,QModelIndex)\0"
  6494. };
  6495. void DataqSdkDeviceConfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  6496. {
  6497. if (_c == QMetaObject::CreateInstance) {
  6498. switch (_id) {
  6499. case 0: { DataqSdkDeviceConfWidget *_r = new DataqSdkDeviceConfWidget((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  6500. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  6501. }
  6502. } else if (_c == QMetaObject::InvokeMetaMethod) {
  6503. Q_ASSERT(staticMetaObject.cast(_o));
  6504. DataqSdkDeviceConfWidget *_t = static_cast<DataqSdkDeviceConfWidget *>(_o);
  6505. switch (_id) {
  6506. case 0: _t->updateAutoSelect((*reinterpret_cast< bool(*)>(_a[1]))); break;
  6507. case 1: _t->updateDeviceNumber((*reinterpret_cast< int(*)>(_a[1]))); break;
  6508. case 2: _t->updatePort((*reinterpret_cast< QString(*)>(_a[1]))); break;
  6509. case 3: _t->addChannel(); break;
  6510. default: ;
  6511. }
  6512. }
  6513. }
  6514. const QMetaObjectExtraData DataqSdkDeviceConfWidget::staticMetaObjectExtraData = {
  6515. 0, qt_static_metacall
  6516. };
  6517. const QMetaObject DataqSdkDeviceConfWidget::staticMetaObject = {
  6518. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_DataqSdkDeviceConfWidget,
  6519. qt_meta_data_DataqSdkDeviceConfWidget, &staticMetaObjectExtraData }
  6520. };
  6521. #ifdef Q_NO_DATA_RELOCATION
  6522. const QMetaObject &DataqSdkDeviceConfWidget::getStaticMetaObject() { return staticMetaObject; }
  6523. #endif //Q_NO_DATA_RELOCATION
  6524. const QMetaObject *DataqSdkDeviceConfWidget::metaObject() const
  6525. {
  6526. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  6527. }
  6528. void *DataqSdkDeviceConfWidget::qt_metacast(const char *_clname)
  6529. {
  6530. if (!_clname) return 0;
  6531. if (!strcmp(_clname, qt_meta_stringdata_DataqSdkDeviceConfWidget))
  6532. return static_cast<void*>(const_cast< DataqSdkDeviceConfWidget*>(this));
  6533. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  6534. }
  6535. int DataqSdkDeviceConfWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  6536. {
  6537. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  6538. if (_id < 0)
  6539. return _id;
  6540. if (_c == QMetaObject::InvokeMetaMethod) {
  6541. if (_id < 4)
  6542. qt_static_metacall(this, _c, _id, _a);
  6543. _id -= 4;
  6544. }
  6545. return _id;
  6546. }
  6547. static const uint qt_meta_data_DataqSdkChannelConfWidget[] = {
  6548. // content:
  6549. 6, // revision
  6550. 0, // classname
  6551. 0, 0, // classinfo
  6552. 15, 14, // methods
  6553. 0, 0, // properties
  6554. 0, 0, // enums/sets
  6555. 1, 89, // constructors
  6556. 0, // flags
  6557. 0, // signalCount
  6558. // slots: signature, parameters, type, tag, flags
  6559. 32, 27, 26, 26, 0x08,
  6560. 59, 53, 26, 26, 0x08,
  6561. 85, 53, 26, 26, 0x08,
  6562. 114, 53, 26, 26, 0x08,
  6563. 143, 53, 26, 26, 0x08,
  6564. 170, 53, 26, 26, 0x08,
  6565. 204, 197, 26, 26, 0x08,
  6566. 239, 231, 26, 26, 0x08,
  6567. 268, 53, 26, 26, 0x08,
  6568. 295, 26, 26, 26, 0x08,
  6569. 314, 26, 26, 26, 0x08,
  6570. 332, 26, 26, 26, 0x08,
  6571. 359, 351, 26, 26, 0x08,
  6572. 384, 351, 26, 26, 0x08,
  6573. 417, 410, 26, 26, 0x08,
  6574. // constructors: signature, parameters, type, tag, flags
  6575. 448, 436, 26, 26, 0x0e,
  6576. 0 // eod
  6577. };
  6578. static const char qt_meta_stringdata_DataqSdkChannelConfWidget[] = {
  6579. "DataqSdkChannelConfWidget\0\0unit\0"
  6580. "updateUnits(QString)\0value\0"
  6581. "updateColumnName(QString)\0"
  6582. "updateMeasuredLower(QString)\0"
  6583. "updateMeasuredUpper(QString)\0"
  6584. "updateMappedLower(QString)\0"
  6585. "updateMappedUpper(QString)\0closed\0"
  6586. "updateClosedInterval(bool)\0enabled\0"
  6587. "updateSmoothingEnabled(bool)\0"
  6588. "updateSensitivity(QString)\0"
  6589. "startCalibration()\0stopCalibration()\0"
  6590. "resetCalibration()\0measure\0"
  6591. "updateInput(Measurement)\0"
  6592. "updateOutput(Measurement)\0hidden\0"
  6593. "updateHidden(bool)\0model,index\0"
  6594. "DataqSdkChannelConfWidget(DeviceTreeModel*,QModelIndex)\0"
  6595. };
  6596. void DataqSdkChannelConfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  6597. {
  6598. if (_c == QMetaObject::CreateInstance) {
  6599. switch (_id) {
  6600. case 0: { DataqSdkChannelConfWidget *_r = new DataqSdkChannelConfWidget((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  6601. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  6602. }
  6603. } else if (_c == QMetaObject::InvokeMetaMethod) {
  6604. Q_ASSERT(staticMetaObject.cast(_o));
  6605. DataqSdkChannelConfWidget *_t = static_cast<DataqSdkChannelConfWidget *>(_o);
  6606. switch (_id) {
  6607. case 0: _t->updateUnits((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  6608. case 1: _t->updateColumnName((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  6609. case 2: _t->updateMeasuredLower((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  6610. case 3: _t->updateMeasuredUpper((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  6611. case 4: _t->updateMappedLower((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  6612. case 5: _t->updateMappedUpper((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  6613. case 6: _t->updateClosedInterval((*reinterpret_cast< bool(*)>(_a[1]))); break;
  6614. case 7: _t->updateSmoothingEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break;
  6615. case 8: _t->updateSensitivity((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  6616. case 9: _t->startCalibration(); break;
  6617. case 10: _t->stopCalibration(); break;
  6618. case 11: _t->resetCalibration(); break;
  6619. case 12: _t->updateInput((*reinterpret_cast< Measurement(*)>(_a[1]))); break;
  6620. case 13: _t->updateOutput((*reinterpret_cast< Measurement(*)>(_a[1]))); break;
  6621. case 14: _t->updateHidden((*reinterpret_cast< bool(*)>(_a[1]))); break;
  6622. default: ;
  6623. }
  6624. }
  6625. }
  6626. const QMetaObjectExtraData DataqSdkChannelConfWidget::staticMetaObjectExtraData = {
  6627. 0, qt_static_metacall
  6628. };
  6629. const QMetaObject DataqSdkChannelConfWidget::staticMetaObject = {
  6630. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_DataqSdkChannelConfWidget,
  6631. qt_meta_data_DataqSdkChannelConfWidget, &staticMetaObjectExtraData }
  6632. };
  6633. #ifdef Q_NO_DATA_RELOCATION
  6634. const QMetaObject &DataqSdkChannelConfWidget::getStaticMetaObject() { return staticMetaObject; }
  6635. #endif //Q_NO_DATA_RELOCATION
  6636. const QMetaObject *DataqSdkChannelConfWidget::metaObject() const
  6637. {
  6638. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  6639. }
  6640. void *DataqSdkChannelConfWidget::qt_metacast(const char *_clname)
  6641. {
  6642. if (!_clname) return 0;
  6643. if (!strcmp(_clname, qt_meta_stringdata_DataqSdkChannelConfWidget))
  6644. return static_cast<void*>(const_cast< DataqSdkChannelConfWidget*>(this));
  6645. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  6646. }
  6647. int DataqSdkChannelConfWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  6648. {
  6649. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  6650. if (_id < 0)
  6651. return _id;
  6652. if (_c == QMetaObject::InvokeMetaMethod) {
  6653. if (_id < 15)
  6654. qt_static_metacall(this, _c, _id, _a);
  6655. _id -= 15;
  6656. }
  6657. return _id;
  6658. }
  6659. static const uint qt_meta_data_SerialScaleConfWidget[] = {
  6660. // content:
  6661. 6, // revision
  6662. 0, // classname
  6663. 0, 0, // classinfo
  6664. 5, 14, // methods
  6665. 0, 0, // properties
  6666. 0, 0, // enums/sets
  6667. 1, 39, // constructors
  6668. 0, // flags
  6669. 0, // signalCount
  6670. // slots: signature, parameters, type, tag, flags
  6671. 31, 23, 22, 22, 0x08,
  6672. 56, 51, 22, 22, 0x08,
  6673. 86, 80, 22, 22, 0x08,
  6674. 104, 80, 22, 22, 0x08,
  6675. 127, 80, 22, 22, 0x08,
  6676. // constructors: signature, parameters, type, tag, flags
  6677. 159, 147, 22, 22, 0x0e,
  6678. 0 // eod
  6679. };
  6680. static const char qt_meta_stringdata_SerialScaleConfWidget[] = {
  6681. "SerialScaleConfWidget\0\0newPort\0"
  6682. "updatePort(QString)\0rate\0"
  6683. "updateBaudRate(QString)\0index\0"
  6684. "updateParity(int)\0updateFlowControl(int)\0"
  6685. "updateStopBits(int)\0model,index\0"
  6686. "SerialScaleConfWidget(DeviceTreeModel*,QModelIndex)\0"
  6687. };
  6688. void SerialScaleConfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  6689. {
  6690. if (_c == QMetaObject::CreateInstance) {
  6691. switch (_id) {
  6692. case 0: { SerialScaleConfWidget *_r = new SerialScaleConfWidget((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  6693. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  6694. }
  6695. } else if (_c == QMetaObject::InvokeMetaMethod) {
  6696. Q_ASSERT(staticMetaObject.cast(_o));
  6697. SerialScaleConfWidget *_t = static_cast<SerialScaleConfWidget *>(_o);
  6698. switch (_id) {
  6699. case 0: _t->updatePort((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  6700. case 1: _t->updateBaudRate((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  6701. case 2: _t->updateParity((*reinterpret_cast< int(*)>(_a[1]))); break;
  6702. case 3: _t->updateFlowControl((*reinterpret_cast< int(*)>(_a[1]))); break;
  6703. case 4: _t->updateStopBits((*reinterpret_cast< int(*)>(_a[1]))); break;
  6704. default: ;
  6705. }
  6706. }
  6707. }
  6708. const QMetaObjectExtraData SerialScaleConfWidget::staticMetaObjectExtraData = {
  6709. 0, qt_static_metacall
  6710. };
  6711. const QMetaObject SerialScaleConfWidget::staticMetaObject = {
  6712. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_SerialScaleConfWidget,
  6713. qt_meta_data_SerialScaleConfWidget, &staticMetaObjectExtraData }
  6714. };
  6715. #ifdef Q_NO_DATA_RELOCATION
  6716. const QMetaObject &SerialScaleConfWidget::getStaticMetaObject() { return staticMetaObject; }
  6717. #endif //Q_NO_DATA_RELOCATION
  6718. const QMetaObject *SerialScaleConfWidget::metaObject() const
  6719. {
  6720. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  6721. }
  6722. void *SerialScaleConfWidget::qt_metacast(const char *_clname)
  6723. {
  6724. if (!_clname) return 0;
  6725. if (!strcmp(_clname, qt_meta_stringdata_SerialScaleConfWidget))
  6726. return static_cast<void*>(const_cast< SerialScaleConfWidget*>(this));
  6727. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  6728. }
  6729. int SerialScaleConfWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  6730. {
  6731. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  6732. if (_id < 0)
  6733. return _id;
  6734. if (_c == QMetaObject::InvokeMetaMethod) {
  6735. if (_id < 5)
  6736. qt_static_metacall(this, _c, _id, _a);
  6737. _id -= 5;
  6738. }
  6739. return _id;
  6740. }
  6741. static const uint qt_meta_data_ValueAnnotationConfWidget[] = {
  6742. // content:
  6743. 6, // revision
  6744. 0, // classname
  6745. 0, 0, // classinfo
  6746. 3, 14, // methods
  6747. 0, 0, // properties
  6748. 0, 0, // enums/sets
  6749. 1, 29, // constructors
  6750. 0, // flags
  6751. 0, // signalCount
  6752. // slots: signature, parameters, type, tag, flags
  6753. 34, 27, 26, 26, 0x08,
  6754. 62, 26, 26, 26, 0x08,
  6755. 94, 82, 26, 26, 0x08,
  6756. // constructors: signature, parameters, type, tag, flags
  6757. 124, 112, 26, 26, 0x0e,
  6758. 0 // eod
  6759. };
  6760. static const char qt_meta_stringdata_ValueAnnotationConfWidget[] = {
  6761. "ValueAnnotationConfWidget\0\0source\0"
  6762. "updateSourceColumn(QString)\0"
  6763. "updateAnnotations()\0noteOnStart\0"
  6764. "updateStart(bool)\0model,index\0"
  6765. "ValueAnnotationConfWidget(DeviceTreeModel*,QModelIndex)\0"
  6766. };
  6767. void ValueAnnotationConfWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  6768. {
  6769. if (_c == QMetaObject::CreateInstance) {
  6770. switch (_id) {
  6771. case 0: { ValueAnnotationConfWidget *_r = new ValueAnnotationConfWidget((*reinterpret_cast< DeviceTreeModel*(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])));
  6772. if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
  6773. }
  6774. } else if (_c == QMetaObject::InvokeMetaMethod) {
  6775. Q_ASSERT(staticMetaObject.cast(_o));
  6776. ValueAnnotationConfWidget *_t = static_cast<ValueAnnotationConfWidget *>(_o);
  6777. switch (_id) {
  6778. case 0: _t->updateSourceColumn((*reinterpret_cast< const QString(*)>(_a[1]))); break;
  6779. case 1: _t->updateAnnotations(); break;
  6780. case 2: _t->updateStart((*reinterpret_cast< bool(*)>(_a[1]))); break;
  6781. default: ;
  6782. }
  6783. }
  6784. }
  6785. const QMetaObjectExtraData ValueAnnotationConfWidget::staticMetaObjectExtraData = {
  6786. 0, qt_static_metacall
  6787. };
  6788. const QMetaObject ValueAnnotationConfWidget::staticMetaObject = {
  6789. { &BasicDeviceConfigurationWidget::staticMetaObject, qt_meta_stringdata_ValueAnnotationConfWidget,
  6790. qt_meta_data_ValueAnnotationConfWidget, &staticMetaObjectExtraData }
  6791. };
  6792. #ifdef Q_NO_DATA_RELOCATION
  6793. const QMetaObject &ValueAnnotationConfWidget::getStaticMetaObject() { return staticMetaObject; }
  6794. #endif //Q_NO_DATA_RELOCATION
  6795. const QMetaObject *ValueAnnotationConfWidget::metaObject() const
  6796. {
  6797. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  6798. }
  6799. void *ValueAnnotationConfWidget::qt_metacast(const char *_clname)
  6800. {
  6801. if (!_clname) return 0;
  6802. if (!strcmp(_clname, qt_meta_stringdata_ValueAnnotationConfWidget))
  6803. return static_cast<void*>(const_cast< ValueAnnotationConfWidget*>(this));
  6804. return BasicDeviceConfigurationWidget::qt_metacast(_clname);
  6805. }
  6806. int ValueAnnotationConfWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  6807. {
  6808. _id = BasicDeviceConfigurationWidget::qt_metacall(_c, _id, _a);
  6809. if (_id < 0)
  6810. return _id;
  6811. if (_c == QMetaObject::InvokeMetaMethod) {
  6812. if (_id < 3)
  6813. qt_static_metacall(this, _c, _id, _a);
  6814. _id -= 3;
  6815. }
  6816. return _id;
  6817. }
  6818. static const uint qt_meta_data_ValueAnnotation[] = {
  6819. // content:
  6820. 6, // revision
  6821. 0, // classname
  6822. 0, 0, // classinfo
  6823. 7, 14, // methods
  6824. 0, 0, // properties
  6825. 0, 0, // enums/sets
  6826. 0, 0, // constructors
  6827. 0, // flags
  6828. 1, // signalCount
  6829. // signals: signature, parameters, type, tag, flags
  6830. 50, 17, 16, 16, 0x05,
  6831. // slots: signature, parameters, type, tag, flags
  6832. 86, 78, 16, 16, 0x0a,
  6833. 114, 16, 16, 16, 0x0a,
  6834. 132, 125, 16, 16, 0x0a,
  6835. 157, 125, 16, 16, 0x0a,
  6836. 191, 183, 16, 16, 0x0a,
  6837. // methods: signature, parameters, type, tag, flags
  6838. 229, 212, 16, 16, 0x02,
  6839. 0 // eod
  6840. };
  6841. static const char qt_meta_stringdata_ValueAnnotation[] = {
  6842. "ValueAnnotation\0\0annotation,tempcolumn,notecolumn\0"
  6843. "annotation(QString,int,int)\0measure\0"
  6844. "newMeasurement(Measurement)\0annotate()\0"
  6845. "column\0setAnnotationColumn(int)\0"
  6846. "setTemperatureColumn(int)\0epsilon\0"
  6847. "setTolerance(double)\0value,annotation\0"
  6848. "setAnnotation(double,QString)\0"
  6849. };
  6850. void ValueAnnotation::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  6851. {
  6852. if (_c == QMetaObject::InvokeMetaMethod) {
  6853. Q_ASSERT(staticMetaObject.cast(_o));
  6854. ValueAnnotation *_t = static_cast<ValueAnnotation *>(_o);
  6855. switch (_id) {
  6856. case 0: _t->annotation((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
  6857. case 1: _t->newMeasurement((*reinterpret_cast< Measurement(*)>(_a[1]))); break;
  6858. case 2: _t->annotate(); break;
  6859. case 3: _t->setAnnotationColumn((*reinterpret_cast< int(*)>(_a[1]))); break;
  6860. case 4: _t->setTemperatureColumn((*reinterpret_cast< int(*)>(_a[1]))); break;
  6861. case 5: _t->setTolerance((*reinterpret_cast< double(*)>(_a[1]))); break;
  6862. case 6: _t->setAnnotation((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
  6863. default: ;
  6864. }
  6865. }
  6866. }
  6867. const QMetaObjectExtraData ValueAnnotation::staticMetaObjectExtraData = {
  6868. 0, qt_static_metacall
  6869. };
  6870. const QMetaObject ValueAnnotation::staticMetaObject = {
  6871. { &QObject::staticMetaObject, qt_meta_stringdata_ValueAnnotation,
  6872. qt_meta_data_ValueAnnotation, &staticMetaObjectExtraData }
  6873. };
  6874. #ifdef Q_NO_DATA_RELOCATION
  6875. const QMetaObject &ValueAnnotation::getStaticMetaObject() { return staticMetaObject; }
  6876. #endif //Q_NO_DATA_RELOCATION
  6877. const QMetaObject *ValueAnnotation::metaObject() const
  6878. {
  6879. return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
  6880. }
  6881. void *ValueAnnotation::qt_metacast(const char *_clname)
  6882. {
  6883. if (!_clname) return 0;
  6884. if (!strcmp(_clname, qt_meta_stringdata_ValueAnnotation))
  6885. return static_cast<void*>(const_cast< ValueAnnotation*>(this));
  6886. return QObject::qt_metacast(_clname);
  6887. }
  6888. int ValueAnnotation::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  6889. {
  6890. _id = QObject::qt_metacall(_c, _id, _a);
  6891. if (_id < 0)
  6892. return _id;
  6893. if (_c == QMetaObject::InvokeMetaMethod) {
  6894. if (_id < 7)
  6895. qt_static_metacall(this, _c, _id, _a);
  6896. _id -= 7;
  6897. }
  6898. return _id;
  6899. }
  6900. // SIGNAL 0
  6901. void ValueAnnotation::annotation(QString _t1, int _t2, int _t3)
  6902. {
  6903. 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)) };
  6904. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  6905. }
  6906. QT_END_MOC_NAMESPACE