mainwindow.hh

Go to the documentation of this file.
00001 /*
00002  * Secret of Evermore SRAM Editor
00003  * Copyright (C) 2006 emuWorks
00004  * http://games.technoplaza.net/
00005  *
00006  * This file is part of Secret of Evermore SRAM Editor.
00007  *
00008  * Secret of Evermore SRAM Editor is free software; you can redistribute it
00009  * and/or modify it under the terms of the GNU General Public License as
00010  * published by the Free Software Foundation; either version 2 of the License,
00011  * or (at your option) any later version.
00012  *
00013  * Secret of Evermore SRAM Editor is distributed in the hope that it will be
00014  * useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016  * GNU General Public License for more details.
00017  *
00018  * You should have received a copy of the GNU General Public License
00019  * along with Secret of Evermore SRAM Editor; if not, write to the Free Software
00020  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
00021  */
00022  
00023 // $Id: mainwindow.hh,v 1.16 2006/09/02 19:49:22 technoplaza Exp $
00024 
00025 #ifndef _SOESRAME_MAINWINDOW_HH_
00026 #define _SOESRAME_MAINWINDOW_HH_
00027 
00028 #include "ui_mainwindow.h"
00029 
00030 #include "model/sramfile.hh"
00031 
00032 namespace soesrame {
00033     class MainWindow : public QMainWindow {
00034         Q_OBJECT
00035         
00036     private:
00037         QString *sramFile;
00038         Ui::MainWindow ui;
00039         SRAMFile *sram;
00040         bool ignoreSignals, open;
00041         
00042         /**
00043          * Checks whether the user really wants to close.
00044          *
00045          * @return true to close; false otherwise.
00046          */
00047         bool confirmClose();
00048         
00049         /**
00050          * Opens an SRAM file.
00051          *
00052          * @param filename The file.
00053          */
00054         void openSRAM(const QString &filename);
00055         
00056         /**
00057          * Sets the have/have not property of one of the alchemys.
00058          *
00059          * @param alchemy The alchemy.
00060          * @param state 1 to give; 0 to take away.
00061          */
00062         void setAlchemy(enum sf_alchemy alchemy, int state);
00063         
00064         /**
00065          * Sets the major level of one of the alchemys.
00066          *
00067          * @param alchemy The alchemy.
00068          * @param value The new value.
00069          */
00070         void setAlchemyLevelMajor(enum sf_alchemy alchemy, int value);
00071         
00072         /**
00073          * Sets the minor level of one of the alchemys.
00074          *
00075          * @param alchemy The alchemy.
00076          * @param text The new value.
00077          */
00078         void setAlchemyLevelMinor(enum sf_alchemy alchemy, const QString &text);
00079         
00080         /**
00081          * Sets the have/have not property of one of the charms.
00082          *
00083          * @param charm The charm.
00084          * @param state 1 to give; 0 to take away.
00085          */
00086         void setCharm(enum sf_charm charm, int state);
00087         
00088         /**
00089          * Sets the current game being edited.
00090          *
00091          * @param game The game to edit (0-3).
00092          */
00093         void setGame(int game);
00094         
00095         /**
00096          * Sets the amount of one of the alchemy ingredients.
00097          *
00098          * @param ingredient The ingredient.
00099          * @param text The amount.
00100          */
00101         void setIngredient(enum sf_ingredient ingredient, const QString &text);
00102         
00103         /**
00104          * Sets the amount of one of the items.
00105          *
00106          * @param item The item.
00107          * @param text The amount.
00108          */
00109         void setItem(enum sf_item item, const QString &text);
00110         
00111         /**
00112          * Sets the amount of one of the money types.
00113          *
00114          * @param money The money type.
00115          * @param text The amount.
00116          */
00117         void setMoney(enum sf_money money, const QString &text);
00118         
00119         /**
00120          * Sets the amount of one of the trade goods.
00121          *
00122          * @param tradegood The trade good.
00123          * @param text The amount.
00124          */
00125         void setTradeGood(enum sf_tradegood tradegood, const QString &text);
00126         
00127         /**
00128          * Sets the have/have not property of one of the weapons.
00129          *
00130          * @param weapon The weapon.
00131          * @param state 1 for give; 0 to take away.
00132          */
00133         void setWeapon(enum sf_weapon weapon, int state);
00134         
00135         /**
00136          * Sets the major level of one of the weapons.
00137          *
00138          * @param weapon The weapon.
00139          * @param value The new value.
00140          */
00141         void setWeaponLevelMajor(enum sf_weapon weapon, int value);
00142         
00143         /**
00144          * Sets the minor level of one of the weapons.
00145          *
00146          * @param weapon The weapon.
00147          * @param text The new value.
00148          */
00149         void setWeaponLevelMinor(enum sf_weapon weapon, const QString &text);
00150         
00151         /**
00152          * Shows the actual weapon/attack level on the status bar.
00153          *
00154          * @param level The weapon level.
00155          * @param weapon The weapon (SF_BAZOOKA for dog's attack level).
00156          */
00157         void showActualLevel(std::pair<int, int> level,
00158                              enum sf_weapon weapon = SF_BAZOOKA);
00159         
00160     signals:
00161         /**
00162          * Emitted when an SRAM file is opened.
00163          */
00164         void sramFileOpened();
00165         
00166         /**
00167          * Emitted when the UI needs updating.
00168          */
00169         void uiChanged();
00170         
00171     private slots:
00172         /**
00173          * Called when the sramFileOpened signal is emitted. Loads all controls
00174          * with the SRAM values.
00175          */
00176         void onSRAMFileOpened();
00177         
00178         /**
00179          * Called when the uiChanged signal is emitted. Updates UI controls
00180          * appropriate to the SRAM state.
00181          */
00182         void onUIChanged();
00183         
00184         /**
00185          * Called when the acid rain alchemy is given or taken away.
00186          *
00187          * @param state The new check state.
00188          */
00189         void on_acidRainCheck_stateChanged(int state);
00190         
00191         /**
00192          * Called when acid rain's alchemy level (major) is changed.
00193          *
00194          * @param value The new value.
00195          */
00196         void on_acidRainSpinner_valueChanged(int value);
00197         
00198         /**
00199          * Called when acid rain's alchemy level (minor) is changed.
00200          *
00201          * @param text The new value.
00202          */
00203         void on_acidRainText_textEdited(const QString &text);
00204         
00205         /**
00206          * Called when the acorn ingredient count is changed.
00207          *
00208          * @param text The new text.
00209          */
00210         void on_acornText_textEdited(const QString &text);
00211         
00212         /**
00213          * Called when the annihilation amulet count is changed.
00214          *
00215          * @param text The new count.
00216          */
00217         void on_annihilationAmuletText_textEdited(const QString &text);
00218         
00219         /**
00220          * Called when the armor polish charm is given or taken away.
00221          *
00222          * @param state The new check state.
00223          */
00224         void on_armorPolishCheck_stateChanged(int state);
00225         
00226         /**
00227          * Called when the ash ingredient count is changed.
00228          *
00229          * @param text The new text.
00230          */
00231         void on_ashText_textEdited(const QString &text);
00232         
00233         /**
00234          * Called when the atlas alchemy is given or taken away.
00235          *
00236          * @param state The new check state.
00237          */
00238         void on_atlasCheck_stateChanged(int state);
00239         
00240         /**
00241          * Called when atlas's alchemy level (major) is changed.
00242          *
00243          * @param value The new value.
00244          */
00245         void on_atlasSpinner_valueChanged(int value);
00246         
00247         /**
00248          * Called when atlas's alchemy level (minor) is changed.
00249          *
00250          * @param text The new value.
00251          */
00252         void on_atlasText_textEdited(const QString &text);
00253         
00254         /**
00255          * Called when the atlas medallion ingredient count is changed.
00256          *
00257          * @param text The new text.
00258          */
00259         void on_atlasMedallionText_textEdited(const QString &text);
00260 
00261         /**
00262          * Called when the atom smasher is given or taken away.
00263          *
00264          * @param state The new check state.
00265          */
00266         void on_atomSmasherCheck_stateChanged(int state);
00267         
00268         /**
00269          * Called when the atom smasher's weapon level (major) is changed.
00270          *
00271          * @param value The new value.
00272          */
00273         void on_atomSmasherSpinner_valueChanged(int value);
00274         
00275         /**
00276          * Called when the atom smasher's weapon level (minor) is changed.
00277          *
00278          * @param text The new value.
00279          */
00280         void on_atomSmasherText_textEdited(const QString &text);
00281         
00282         /**
00283          * Called when the barrier alchemy is given or taken away.
00284          *
00285          * @param state The new check state.
00286          */
00287         void on_barrierCheck_stateChanged(int state);
00288         
00289         /**
00290          * Called when barrier's alchemy level (major) is changed.
00291          *
00292          * @param value The new value.
00293          */
00294         void on_barrierSpinner_valueChanged(int value);
00295         
00296         /**
00297          * Called when barrier's alchemy level (minor) is changed.
00298          *
00299          * @param text The new value.
00300          */
00301         void on_barrierText_textEdited(const QString &text);
00302         
00303         /**
00304          * Called when the bazooka is given or taken away.
00305          *
00306          * @param state The new check state.
00307          */
00308         void on_bazookaCheck_stateChanged(int state);
00309         
00310         /**
00311          * Called when the beads count is changed.
00312          *
00313          * @param text The new count.
00314          */
00315         void on_beadsText_textEdited(const QString &text);
00316         
00317         /**
00318          * Called when the bone ingredient count is changed.
00319          *
00320          * @param text The new text.
00321          */
00322         void on_boneText_textEdited(const QString &text);
00323         
00324         /**
00325          * Called when the bone crusher is given or taken away.
00326          *
00327          * @param state The new check state.
00328          */
00329         void on_boneCrusherCheck_stateChanged(int state);
00330         
00331         /**
00332          * Called when the bone crusher's weapon level (major) is changed.
00333          *
00334          * @param value The new value.
00335          */
00336         void on_boneCrusherSpinner_valueChanged(int value);
00337         
00338         /**
00339          * Called when the bone crusher's weapon level (minor) is changed.
00340          *
00341          * @param text The new value.
00342          */
00343         void on_boneCrusherText_textEdited(const QString &text);
00344         
00345         /**
00346          * Called when the boy's current HP is edited.
00347          *
00348          * @param text The new text.
00349          */
00350         void on_boyCurrentHPText_textEdited(const QString &text);
00351         
00352         /**
00353          * Called when the boy's experience is edited.
00354          *
00355          * @param text The new text.
00356          */
00357         void on_boyExperienceText_textEdited(const QString &text);
00358         
00359         /**
00360          * Called when the boy's level is edited.
00361          *
00362          * @param text The new text.
00363          */
00364         void on_boyLevelText_textEdited(const QString &text);
00365         
00366         /**
00367          * Called when the boy's max HP is edited.
00368          *
00369          * @param text The new text.
00370          */
00371         void on_boyMaxHPText_textEdited(const QString &text);
00372         
00373         /**
00374          * Called when the boy's name is edited.
00375          *
00376          * @param name The new name.
00377          */
00378         void on_boyNameText_textEdited(const QString &name);
00379         
00380         /**
00381          * Called when the brainstorm count is changed.
00382          *
00383          * @param text The text.
00384          */
00385         void on_brainstormText_textEdited(const QString &text);
00386         
00387         /**
00388          * Called when the brimstone ingredient count is changed.
00389          *
00390          * @param text The new text.
00391          */
00392         void on_brimstoneText_textEdited(const QString &text);
00393         
00394         /**
00395          * Called when the bronze armor count is changed.
00396          *
00397          * @param text The text.
00398          */
00399         void on_bronzeArmorText_textEdited(const QString &text);
00400         
00401         /**
00402          * Called when the bronze axe is given or taken away.
00403          *
00404          * @param state The new check state.
00405          */
00406         void on_bronzeAxeCheck_stateChanged(int state);
00407         
00408         /**
00409          * Called when the bronze axe's weapon level (major) is changed.
00410          *
00411          * @param value The new value.
00412          */
00413         void on_bronzeAxeSpinner_valueChanged(int value);
00414         
00415         /**
00416          * Called when the bronze axe's weapon level (minor) is changed.
00417          *
00418          * @param text The new value.
00419          */
00420         void on_bronzeAxeText_textEdited(const QString &text);
00421         
00422         /**
00423          * Called when the bronze gauntlet count is changed.
00424          *
00425          * @param text The text.
00426          */
00427         void on_bronzeGauntletText_textEdited(const QString &text);
00428         
00429         /**
00430          * Called when the bronze helmet count is changed.
00431          *
00432          * @param text The text.
00433          */
00434         void on_bronzeHelmetText_textEdited(const QString &text);
00435         
00436         /**
00437          * Called when the bronze spear is given or taken away.
00438          *
00439          * @param state The new check state.
00440          */
00441         void on_bronzeSpearCheck_stateChanged(int state);
00442         
00443         /**
00444          * Called when the bronze spear's weapon level (major) is changed.
00445          *
00446          * @param value The new value.
00447          */
00448         void on_bronzeSpearSpinner_valueChanged(int value);
00449         
00450         /**
00451          * Called when the bronze spear's weapon level (minor) is changed.
00452          *
00453          * @param text The new value.
00454          */
00455         void on_bronzeSpearText_textEdited(const QString &text);
00456         
00457         /**
00458          * Called when the call bead count is changed.
00459          *
00460          * @param text The text.
00461          */
00462         void on_callBeadText_textEdited(const QString &text);
00463         
00464         /**
00465          * Called when the call up alchemy is given or taken away.
00466          *
00467          * @param state The new check state.
00468          */
00469         void on_callUpCheck_stateChanged(int state);
00470         
00471         /**
00472          * Called when call up's alchemy level (major) is changed.
00473          *
00474          * @param value The new value.
00475          */
00476         void on_callUpSpinner_valueChanged(int value);
00477         
00478         /**
00479          * Called when call up's alchemy level (minor) is changed.
00480          *
00481          * @param text The new value.
00482          */
00483         void on_callUpText_textEdited(const QString &text);
00484         
00485         /**
00486          * Called when the centurion cape count is changed.
00487          *
00488          * @param text The text.
00489          */
00490         void on_centurionCapeText_textEdited(const QString &text);
00491         
00492         /**
00493          * Called when the centurion helm count is changed.
00494          *
00495          * @param text The text.
00496          */
00497         void on_centurionHelmText_textEdited(const QString &text);
00498         
00499         /**
00500          * Called when the ceramic pot count is changed.
00501          *
00502          * @param text The new count.
00503          */
00504         void on_ceramicPotText_textEdited(const QString &text);
00505         
00506         /**
00507          * Called when the chicken count is changed.
00508          *
00509          * @param text The new count.
00510          */
00511         void on_chickenText_textEdited(const QString &text);
00512         
00513         /**
00514          * Called when the chocobo egg charm is given or taken away.
00515          *
00516          * @param state The new check state.
00517          */
00518         void on_chocoboEggCheck_stateChanged(int state);
00519         
00520         /**
00521          * Called when the claw guard count is changed.
00522          *
00523          * @param text The text.
00524          */
00525         void on_clawGuardText_textEdited(const QString &text);
00526         
00527         /**
00528          * Called when the clay ingredient count is changed.
00529          *
00530          * @param text The new text.
00531          */
00532         void on_clayText_textEdited(const QString &text);
00533         
00534         /**
00535          * Called when the corrosion alchemy is given or taken away.
00536          *
00537          * @param state The new check state.
00538          */
00539         void on_corrosionCheck_stateChanged(int state);
00540         
00541         /**
00542          * Called when corrosion's alchemy level (major) is changed.
00543          *
00544          * @param value The new value.
00545          */
00546         void on_corrosionSpinner_valueChanged(int value);
00547         
00548         /**
00549          * Called when corrosion's alchemy level (minor) is changed.
00550          *
00551          * @param text The new value.
00552          */
00553         void on_corrosionText_textEdited(const QString &text);
00554 
00555         /**
00556          * Called when the credits are edited.
00557          *
00558          * @param text The new text.
00559          */
00560         void on_creditsText_textEdited(const QString &text);
00561         
00562         /**
00563          * Called when the crusader sword is given or taken away.
00564          *
00565          * @param state The new check state.
00566          */
00567         void on_crusaderSwordCheck_stateChanged(int state);
00568         
00569         /**
00570          * Called when the crusader sword's weapon level (major) is changed.
00571          *
00572          * @param value The new value.
00573          */
00574         void on_crusaderSwordSpinner_valueChanged(int value);
00575         
00576         /**
00577          * Called when the crusader sword's weapon level (minor) is changed.
00578          *
00579          * @param text The new value.
00580          */
00581         void on_crusaderSwordText_textEdited(const QString &text);
00582         
00583         /**
00584          * Called when the crush alchemy is given or taken away.
00585          *
00586          * @param state The new check state.
00587          */
00588         void on_crushCheck_stateChanged(int state);
00589         
00590         /**
00591          * Called when crush's alchemy level (major) is changed.
00592          *
00593          * @param value The new value.
00594          */
00595         void on_crushSpinner_valueChanged(int value);
00596         
00597         /**
00598          * Called when crush's alchemy level (minor) is changed.
00599          *
00600          * @param text The new value.
00601          */
00602         void on_crushText_textEdited(const QString &text);
00603         
00604         /**
00605          * Called when the cryo-blast count is changed.
00606          *
00607          * @param text The text.
00608          */
00609         void on_cryoBlastText_textEdited(const QString &text);
00610         
00611         /**
00612          * Called when the crystal ingredient count is changed.
00613          *
00614          * @param text The new text.
00615          */
00616         void on_crystalText_textEdited(const QString &text);
00617         
00618         /**
00619          * Called when the cure alchemy is given or taken away.
00620          *
00621          * @param state The new check state.
00622          */
00623         void on_cureCheck_stateChanged(int state);
00624         
00625         /**
00626          * Called when cure's alchemy level (major) is changed.
00627          *
00628          * @param value The new value.
00629          */
00630         void on_cureSpinner_valueChanged(int value);
00631         
00632         /**
00633          * Called when cure's alchemy level (minor) is changed.
00634          *
00635          * @param text The new value.
00636          */
00637         void on_cureText_textEdited(const QString &text);
00638         
00639         /**
00640          * Called when the cyberglove count is changed.
00641          *
00642          * @param text The text.
00643          */
00644         void on_cybergloveText_textEdited(const QString &text);
00645         
00646         /**
00647          * Called when the defend alchemy is given or taken away.
00648          *
00649          * @param state The new check state.
00650          */
00651         void on_defendCheck_stateChanged(int state);
00652         
00653         /**
00654          * Called when defend's alchemy level (major) is changed.
00655          *
00656          * @param value The new value.
00657          */
00658         void on_defendSpinner_valueChanged(int value);
00659         
00660         /**
00661          * Called when defend's alchemy level (minor) is changed.
00662          *
00663          * @param text The new value.
00664          */
00665         void on_defendText_textEdited(const QString &text);
00666         
00667         /**
00668          * Called when the defender collar count is changed.
00669          *
00670          * @param text The text.
00671          */
00672         void on_defenderCollarText_textEdited(const QString &text);
00673         
00674         /**
00675          * Called when the dino helm count is changed.
00676          *
00677          * @param text The text.
00678          */
00679         void on_dinoHelmText_textEdited(const QString &text);
00680         
00681         /**
00682          * Called when the dino skin count is changed.
00683          *
00684          * @param text The text.
00685          */
00686         void on_dinoSkinText_textEdited(const QString &text);
00687         
00688         /**
00689          * Called when the dog's attack level (major) is edited.
00690          *
00691          * @param level The new attack level.
00692          */
00693         void on_dogAttackLevelSpinner_valueChanged(int level);
00694         
00695         /**
00696          * Called when the dog's attack level (minor) is edited.
00697          *
00698          * @param text The new text.
00699          */
00700         void on_dogAttackLevelText_textEdited(const QString &text);
00701         
00702         /**
00703          * Called when the dog biscuit count is changed.
00704          *
00705          * @param text The text.
00706          */
00707         void on_dogBiscuitText_textEdited(const QString &text);
00708         
00709         /**
00710          * Called when the dog's current HP is edited.
00711          *
00712          * @param text The new text.
00713          */
00714         void on_dogCurrentHPText_textEdited(const QString &text);
00715         
00716         /**
00717          * Called when the dog's experience is edited.
00718          *
00719          * @param text The new text.
00720          */
00721         void on_dogExperienceText_textEdited(const QString &text);
00722         
00723         /**
00724          * Called when the dog's level is edited.
00725          *
00726          * @param text The new text.
00727          */
00728         void on_dogLevelText_textEdited(const QString &text);
00729         
00730         /**
00731          * Called when the dog's max HP is edited.
00732          *
00733          * @param text The new text.
00734          */
00735         void on_dogMaxHPText_textEdited(const QString &text);
00736         
00737         /**
00738          * Called when the dog's name is edited.
00739          *
00740          * @param name The new name.
00741          */
00742         void on_dogNameText_textEdited(const QString &name);
00743         
00744         /**
00745          * Called when the double drain alchemy is given or taken away.
00746          *
00747          * @param state The new check state.
00748          */
00749         void on_doubleDrainCheck_stateChanged(int state);
00750         
00751         /**
00752          * Called when double drain's alchemy level (major) is changed.
00753          *
00754          * @param value The new value.
00755          */
00756         void on_doubleDrainSpinner_valueChanged(int value);
00757         
00758         /**
00759          * Called when double drain's alchemy level (minor) is changed.
00760          *
00761          * @param text The new value.
00762          */
00763         void on_doubleDrainText_textEdited(const QString &text);
00764         
00765         /**
00766          * Called when the dragon helm count is changed.
00767          *
00768          * @param text The text.
00769          */
00770         void on_dragonHelmText_textEdited(const QString &text);
00771         
00772         /**
00773          * Called when the dragon's claw count is changed.
00774          *
00775          * @param text The text.
00776          */
00777         void on_dragonsClawText_textEdited(const QString &text);
00778         
00779         /**
00780          * Called when the drain alchemy is given or taken away.
00781          *
00782          * @param state The new check state.
00783          */
00784         void on_drainCheck_stateChanged(int state);
00785         
00786         /**
00787          * Called when drain's alchemy level (major) is changed.
00788          *
00789          * @param value The new value.
00790          */
00791         void on_drainSpinner_valueChanged(int value);
00792         
00793         /**
00794          * Called when drain's alchemy level (minor) is changed.
00795          *
00796          * @param text The new value.
00797          */
00798         void on_drainText_textEdited(const QString &text);
00799         
00800         /**
00801          * Called when the dry ice ingredient count is changed.
00802          *
00803          * @param text The new text.
00804          */
00805         void on_dryIceText_textEdited(const QString &text);
00806         
00807         /**
00808          * Called when the energize alchemy is given or taken away.
00809          *
00810          * @param state The new check state.
00811          */
00812         void on_energizeCheck_stateChanged(int state);
00813         
00814         /**
00815          * Called when energize's alchemy level (major) is changed.
00816          *
00817          * @param value The new value.
00818          */
00819         void on_energizeSpinner_valueChanged(int value);
00820         
00821         /**
00822          * Called when energize's alchemy level (minor) is changed.
00823          *
00824          * @param text The new value.
00825          */
00826         void on_energizeText_textEdited(const QString &text);
00827         
00828         /**
00829          * Called when the escape alchemy is given or taken away.
00830          *
00831          * @param state The new check state.
00832          */
00833         void on_escapeCheck_stateChanged(int state);
00834         
00835         /**
00836          * Called when escape's alchemy level (major) is changed.
00837          *
00838          * @param value The new value.
00839          */
00840         void on_escapeSpinner_valueChanged(int value);
00841         
00842         /**
00843          * Called when escape's alchemy level (minor) is changed.
00844          *
00845          * @param text The new value.
00846          */
00847         void on_escapeText_textEdited(const QString &text);
00848         
00849         /**
00850          * Called when the essence count is changed.
00851          *
00852          * @param text The text.
00853          */
00854         void on_essenceText_textEdited(const QString &text);
00855         
00856         /**
00857          * Called when the ethanol ingredient count is changed.
00858          *
00859          * @param text The new text.
00860          */
00861         void on_ethanolText_textEdited(const QString &text);
00862         
00863         /**
00864          * Called when the explosion alchemy is given or taken away.
00865          *
00866          * @param state The new check state.
00867          */
00868         void on_explosionCheck_stateChanged(int state);
00869         
00870         /**
00871          * Called when explosion's alchemy level (major) is changed.
00872          *
00873          * @param value The new value.
00874          */
00875         void on_explosionSpinner_valueChanged(int value);
00876         
00877         /**
00878          * Called when explosion's alchemy level (minor) is changed.
00879          *
00880          * @param text The new value.
00881          */
00882         void on_explosionText_textEdited(const QString &text);
00883         
00884         /**
00885          * Called when the feather ingredient count is changed.
00886          *
00887          * @param text The new text.
00888          */
00889         void on_featherText_textEdited(const QString &text);
00890     
00891         /**
00892          * Called when close from the file menu is selected.
00893          *
00894          * @param checked Unused.
00895          */
00896         void on_fileClose_triggered(bool checked);
00897     
00898         /**
00899          * Called when exit from the file menu is selected.
00900          *
00901          * @param checked Unused.
00902          */
00903         void on_fileExit_triggered(bool checked);
00904         
00905         /**
00906          * Called when open from the file menu is selected.
00907          *
00908          * @param checked Unused.
00909          */
00910         void on_fileOpen_triggered(bool checked);
00911         
00912         /**
00913          * Called when save from the file menu is selected.
00914          *
00915          * @param checked Unused.
00916          */
00917         void on_fileSave_triggered(bool checked);
00918         
00919         /**
00920          * Called when save as from the file menu is selected.
00921          *
00922          * @param checked Unused.
00923          */
00924         void on_fileSaveAs_triggered(bool checked);
00925         
00926         /**
00927          * Called when the fireball alchemy is given or taken away.
00928          *
00929          * @param state The new check state.
00930          */
00931         void on_fireballCheck_stateChanged(int state);
00932         
00933         /**
00934          * Called when fireball's alchemy level (major) is changed.
00935          *
00936          * @param value The new value.
00937          */
00938         void on_fireballSpinner_valueChanged(int value);
00939         
00940         /**
00941          * Called when fireball's alchemy level (minor) is changed.
00942          *
00943          * @param text The new value.
00944          */
00945         void on_fireballText_textEdited(const QString &text);
00946         
00947         /**
00948          * Called when the fire power alchemy is given or taken away.
00949          *
00950          * @param state The new check state.
00951          */
00952         void on_firePowerCheck_stateChanged(int state);
00953         
00954         /**
00955          * Called when fire power's alchemy level (major) is changed.
00956          *
00957          * @param value The new value.
00958          */
00959         void on_firePowerSpinner_valueChanged(int value);
00960         
00961         /**
00962          * Called when fire power's alchemy level (minor) is changed.
00963          *
00964          * @param text The new value.
00965          */
00966         void on_firePowerText_textEdited(const QString &text);
00967         
00968         /**
00969          * Called when the flash alchemy is given or taken away.
00970          *
00971          * @param state The new check state.
00972          */
00973         void on_flashCheck_stateChanged(int state);
00974         
00975         /**
00976          * Called when flash's alchemy level (major) is changed.
00977          *
00978          * @param value The new value.
00979          */
00980         void on_flashSpinner_valueChanged(int value);
00981         
00982         /**
00983          * Called when flash's alchemy level (minor) is changed.
00984          *
00985          * @param text The new value.
00986          */
00987         void on_flashText_textEdited(const QString &text);
00988         
00989         /**
00990          * Called when the force field alchemy is given or taken away.
00991          *
00992          * @param state The new check state.
00993          */
00994         void on_forceFieldCheck_stateChanged(int state);
00995         
00996         /**
00997          * Called when force field's alchemy level (major) is changed.
00998          *
00999          * @param value The new value.
01000          */
01001         void on_forceFieldSpinner_valueChanged(int value);
01002         
01003         /**
01004          * Called when force field's alchemy level (minor) is changed.
01005          *
01006          * @param text The new value.
01007          */
01008         void on_forceFieldText_textEdited(const QString &text);
01009         
01010         /**
01011          * Called when Game 1 from the game menu is selected.
01012          *
01013          * @param checked Unused.
01014          */
01015         void on_gameGame1_triggered(bool checked);
01016         
01017         /**
01018          * Called when Game 2 from the game menu is selected.
01019          *
01020          * @param checked Unused.
01021          */
01022         void on_gameGame2_triggered(bool checked);
01023         
01024         /**
01025          * Called when Game 3 from the game menu is selected.
01026          *
01027          * @param checked true Unused.
01028          */
01029         void on_gameGame3_triggered(bool checked);
01030         
01031         /**
01032          * Called when Game 4 from the game menu is selected.
01033          *
01034          * @param checked Unused.
01035          */
01036         void on_gameGame4_triggered(bool checked);
01037         
01038         /**
01039          * Called when the gladiator sword is given or taken away.
01040          *
01041          * @param state The new check state.
01042          */
01043         void on_gladiatorSwordCheck_stateChanged(int state);
01044         
01045         /**
01046          * Called when the gladiator sword's weapon level (major) is changed.
01047          *
01048          * @param value The new value.
01049          */
01050         void on_gladiatorSwordSpinner_valueChanged(int value);
01051         
01052         /**
01053          * Called when the gladiator sword's weapon level (minor) is changed.
01054          *
01055          * @param text The new value.
01056          */
01057         void on_gladiatorSwordText_textEdited(const QString &text);
01058         
01059         /**
01060          * Called when the gloves of ra count is changed.
01061          *
01062          * @param text The text.
01063          */
01064         void on_glovesOfRaText_textEdited(const QString &text);
01065         
01066         /**
01067          * Called when the gold coins are edited.
01068          *
01069          * @param text The new text.
01070          */
01071         void on_goldCoinsText_textEdited(const QString &text);
01072         
01073         /**
01074          * Called when the gold plated vest count is changed.
01075          *
01076          * @param text The text.
01077          */
01078         void on_goldPlatedVestText_textEdited(const QString &text);
01079         
01080         /**
01081          * Called when the golden jackal count is changed.
01082          *
01083          * @param text The new count.
01084          */
01085         void on_goldenJackalText_textEdited(const QString &text);
01086         
01087         /**
01088          * Called when the grass hat count is changed.
01089          *
01090          * @param text The text.
01091          */
01092         void on_grassHatText_textEdited(const QString &text);
01093         
01094         /**
01095          * Called when the grass vest count is changed.
01096          *
01097          * @param text The text.
01098          */
01099         void on_grassVestText_textEdited(const QString &text);
01100         
01101         /**
01102          * Called when the grease ingredient count is changed.
01103          *
01104          * @param text The new text.
01105          */
01106         void on_greaseText_textEdited(const QString &text);
01107         
01108         /**
01109          * Called when the gunpowder ingredient count is changed.
01110          *
01111          * @param text The new text.
01112          */
01113         void on_gunpowderText_textEdited(const QString &text);
01114         
01115         /**
01116          * Called when the hard ball alchemy is given or taken away.
01117          *
01118          * @param state The new check state.
01119          */
01120         void on_hardBallCheck_stateChanged(int state);
01121         
01122         /**
01123          * Called when hard ball's alchemy level (major) is changed.
01124          *
01125          * @param value The new value.
01126          */
01127         void on_hardBallSpinner_valueChanged(int value);
01128         
01129         /**
01130          * Called when hard ball's alchemy level (minor) is changed.
01131          *
01132          * @param text The new value.
01133          */
01134         void on_hardBallText_textEdited(const QString &text);
01135         
01136         /**
01137          * Called when the heal alchemy is given or taken away.
01138          *
01139          * @param state The new check state.
01140          */
01141         void on_healCheck_stateChanged(int state);
01142         
01143         /**
01144          * Called when heal's alchemy level (major) is changed.
01145          *
01146          * @param value The new value.
01147          */
01148         void on_healSpinner_valueChanged(int value);
01149         
01150         /**
01151          * Called when heal's alchemy level (minor) is changed.
01152          *
01153          * @param text The new value.
01154          */
01155         void on_healText_textEdited(const QString &text);
01156         
01157         /**
01158          * Called when about from the help menu is selected.
01159          *
01160          * @param checked Unused.
01161          */
01162         void on_helpAbout_triggered(bool checked);
01163         
01164         /**
01165          * Called when the honey count is changed.
01166          *
01167          * @param text The text.
01168          */
01169         void on_honeyText_textEdited(const QString &text);
01170         
01171         /**
01172          * Called when the horn spear is given or taken away.
01173          *
01174          * @param state The new check state.
01175          */
01176         void on_hornSpearCheck_stateChanged(int state);
01177         
01178         /**
01179          * Called when the horn spear's weapon level (major) is changed.
01180          *
01181          * @param value The new value.
01182          */
01183         void on_hornSpearSpinner_valueChanged(int value);
01184         
01185         /**
01186          * Called when the horn spear's weapon level (minor) is changed.
01187          *
01188          * @param text The new value.
01189          */
01190         void on_hornSpearText_textEdited(const QString &text);
01191         
01192         /**
01193          * Called when the insect incense charm is given or taken away.
01194          *
01195          * @param state The new check state.
01196          */
01197         void on_insectIncenseCheck_stateChanged(int state);
01198         
01199         /**
01200          * Called when the iron ingredient count is changed.
01201          *
01202          * @param text The new text.
01203          */
01204         void on_ironText_textEdited(const QString &text);
01205         
01206         /**
01207          * Called when the iron bracer count is changed.
01208          *
01209          * @param text The text.
01210          */
01211         void on_ironBracerText_textEdited(const QString &text);
01212         
01213         /**
01214          * Called when the jade disk charm is given or taken away.
01215          *
01216          * @param state The new check state.
01217          */
01218         void on_jadeDiskCheck_stateChanged(int state);
01219         
01220         /**
01221          * Called when the jaguar ring charm is given or taken away.
01222          *
01223          * @param state The new check state.
01224          */
01225         void on_jaguarRingCheck_stateChanged(int state);
01226         
01227         /**
01228          * Called when the jeweled scarab count is changed.
01229          *
01230          * @param text The new count.
01231          */
01232         void on_jeweledScarabText_textEdited(const QString &text);
01233         
01234         /**
01235          * Called when the jewels are edited.
01236          *
01237          * @param text The new text.
01238          */
01239         void on_jewelsText_textEdited(const QString &text);
01240         
01241         /**
01242          * Called when the knight basher is given or taken away.
01243          *
01244          * @param state The new check state.
01245          */
01246         void on_knightBasherCheck_stateChanged(int state);
01247         
01248         /**
01249          * Called when the knight basher's weapon level (major) is changed.
01250          *
01251          * @param value The new value.
01252          */
01253         void on_knightBasherSpinner_valueChanged(int value);
01254         
01255         /**
01256          * Called when the knight basher's weapon level (minor) is changed.
01257          *
01258          * @param text The new value.
01259          */
01260         void on_knightBasherText_textEdited(const QString &text);
01261         
01262         /**
01263          * Called when the knight's helm count is changed.
01264          *
01265          * @param text The text.
01266          */
01267         void on_knightsHelmText_textEdited(const QString &text);
01268         
01269         /**
01270          * Called when the lance alchemy is given or taken away.
01271          *
01272          * @param state The new check state.
01273          */
01274         void on_lanceAlchemyCheck_stateChanged(int state);
01275         
01276         /**
01277          * Called when lance's alchemy level (major) is changed.
01278          *
01279          * @param value The new value.
01280          */
01281         void on_lanceAlchemySpinner_valueChanged(int value);
01282         
01283         /**
01284          * Called when lance's alchemy level (minor) is changed.
01285          *
01286          * @param text The new value.
01287          */
01288         void on_lanceAlchemyText_textEdited(const QString &text);
01289         
01290         /**
01291          * Called when the lance is given or taken away.
01292          *
01293          * @param state The new check state.
01294          */
01295         void on_lanceWeaponCheck_stateChanged(int state);
01296         
01297         /**
01298          * Called when the lance's weapon level (major) is changed.
01299          *
01300          * @param value The new value.
01301          */
01302         void on_lanceWeaponSpinner_valueChanged(int value);
01303         
01304         /**
01305          * Called when the lance's weapon level (minor) is changed.
01306          *
01307          * @param text The new value.
01308          */
01309         void on_lanceWeaponText_textEdited(const QString &text);
01310         
01311         /**
01312          * Called when the laser lance is given or taken away.
01313          *
01314          * @param state The new check state.
01315          */
01316         void on_laserLanceCheck_stateChanged(int state);
01317         
01318         /**
01319          * Called when the laser lance's weapon level (major) is changed.
01320          *
01321          * @param value The new value.
01322          */
01323         void on_laserLanceSpinner_valueChanged(int value);
01324         
01325         /**
01326          * Called when the laser lance's weapon level (minor) is changed.
01327          *
01328          * @param text The new value.
01329          */
01330         void on_laserLanceText_textEdited(const QString &text);
01331         
01332         /**
01333          * Called when the leather collar count is changed.
01334          *
01335          * @param text The text.
01336          */
01337         void on_leatherCollarText_textEdited(const QString &text);
01338         
01339         /**
01340          * Called when the levitate alchemy is given or taken away.
01341          *
01342          * @param state The new check state.
01343          */
01344         void on_levitateCheck_stateChanged(int state);
01345         
01346         /**
01347          * Called when levitate's alchemy level (major) is changed.
01348          *
01349          * @param value The new value.
01350          */
01351         void on_levitateSpinner_valueChanged(int value);
01352         
01353         /**
01354          * Called when levitate's alchemy level (minor) is changed.
01355          *
01356          * @param text The new value.
01357          */
01358         void on_levitateText_textEdited(const QString &text);
01359         
01360         /**
01361          * Called when the lightning helm count is changed.
01362          *
01363          * @param text The text.
01364          */
01365         void on_lightningHelmText_textEdited(const QString &text);
01366         
01367         /**
01368          * Called when the lightning storm alchemy is given or taken away.
01369          *
01370          * @param state The new check state.
01371          */
01372         void on_lightningStormCheck_stateChanged(int state);
01373         
01374         /**
01375          * Called when lightning storm's alchemy level (major) is changed.
01376          *
01377          * @param value The new value.
01378          */
01379         void on_lightningStormSpinner_valueChanged(int value);
01380         
01381         /**
01382          * Called when lightning storm's alchemy level (minor) is changed.
01383          *
01384          * @param text The new value.
01385          */
01386         void on_lightningStormText_textEdited(const QString &text);
01387         
01388         /**
01389          * Called when the limestone ingredient count is changed.
01390          *
01391          * @param text The new text.
01392          */
01393         void on_limestoneText_textEdited(const QString &text);
01394         
01395         /**
01396          * Called when the limestone tablet count is changed.
01397          *
01398          * @param text The new count.
01399          */
01400         void on_limestoneTabletText_textEdited(const QString &text);
01401         
01402         /**
01403          * Called when the magic gourd charm is given or taken away.
01404          *
01405          * @param state The new check state.
01406          */
01407         void on_magicGourdCheck_stateChanged(int state);
01408         
01409         /**
01410          * Called when the magna mail count is changed.
01411          *
01412          * @param text The text.
01413          */
01414         void on_magnaMailText_textEdited(const QString &text);
01415         
01416         /**
01417          * Called when the magicians ring count is changed.
01418          *
01419          * @param text The text.
01420          */
01421         void on_magiciansRingText_textEdited(const QString &text);
01422         
01423         /**
01424          * Called when the mammoth guard count is changed.
01425          *
01426          * @param text The text.
01427          */
01428         void on_mammothGuardText_textEdited(const QString &text);
01429         
01430         /**
01431          * Called when the meteorite ingredient count is changed.
01432          *
01433          * @param text The new text.
01434          */
01435         void on_meteoriteText_textEdited(const QString &text);
01436         
01437         /**
01438          * Called when the miracle cure alchemy is given or taken away.
01439          *
01440          * @param state The new check state.
01441          */
01442         void on_miracleCureCheck_stateChanged(int state);
01443         
01444         /**
01445          * Called when miracle cure's alchemy level (major) is changed.
01446          *
01447          * @param value The new value.
01448          */
01449         void on_miracleCureSpinner_valueChanged(int value);
01450         
01451         /**
01452          * Called when miracle cure's alchemy level (minor) is changed.
01453          *
01454          * @param text The new value.
01455          */
01456         void on_miracleCureText_textEdited(const QString &text);
01457         
01458         /**
01459          * Called when the moxa stick charm is given or taken away.
01460          *
01461          * @param state The new check state.
01462          */
01463         void on_moxaStickCheck_stateChanged(int state);
01464         
01465         /**
01466          * Called when the mud pepper ingredient count is changed.
01467          *
01468          * @param text The new text.
01469          */
01470         void on_mudPepperText_textEdited(const QString &text);
01471         
01472         /**
01473          * Called when the mushroom ingredient count is changed.
01474          *
01475          * @param text The new text.
01476          */
01477         void on_mushroomText_textEdited(const QString &text);
01478         
01479         /**
01480          * Called when the nectar count is changed.
01481          *
01482          * @param text The text.
01483          */
01484         void on_nectarText_textEdited(const QString &text);
01485         
01486         /**
01487          * Called when the neutron blade is given or taken away.
01488          *
01489          * @param state The new check state.
01490          */
01491         void on_neutronBladeCheck_stateChanged(int state);
01492         
01493         /**
01494          * Called when the neutron blade's weapon level (major) is changed.
01495          *
01496          * @param value The new value.
01497          */
01498         void on_neutronBladeSpinner_valueChanged(int value);
01499         
01500         /**
01501          * Called when the neutron blade's weapon level (minor) is changed.
01502          *
01503          * @param text The new value.
01504          */
01505         void on_neutronBladeText_textEdited(const QString &text);
01506         
01507         /**
01508          * Called when the nitro alchemy is given or taken away.
01509          *
01510          * @param state The new check state.
01511          */
01512         void on_nitroCheck_stateChanged(int state);
01513         
01514         /**
01515          * Called when 's alchemy level (major) is changed.
01516          *
01517          * @param value The new value.
01518          */
01519         void on_nitroSpinner_valueChanged(int value);
01520         
01521         /**
01522          * Called when 's alchemy level (minor) is changed.
01523          *
01524          * @param text The new value.
01525          */
01526         void on_nitroText_textEdited(const QString &text);
01527         
01528         /**
01529          * Called when the obsidian helm count is changed.
01530          *
01531          * @param text The text.
01532          */
01533         void on_obsidianHelmText_textEdited(const QString &text);
01534         
01535         /**
01536          * Called when the oil ingredient count is changed.
01537          *
01538          * @param text The new text.
01539          */
01540         void on_oilText_textEdited(const QString &text);
01541         
01542         /**
01543          * Called when the old reliable count is changed.
01544          *
01545          * @param text The text.
01546          */
01547         void on_oldReliableText_textEdited(const QString &text);
01548         
01549         /**
01550          * Called when the one up alchemy is given or taken away.
01551          *
01552          * @param state The new check state.
01553          */
01554         void on_oneUpCheck_stateChanged(int state);
01555         
01556         /**
01557          * Called when one up's alchemy level (major) is changed.
01558          *
01559          * @param value The new value.
01560          */
01561         void on_oneUpSpinner_valueChanged(int value);
01562         
01563         /**
01564          * Called when one up's alchemy level (minor) is changed.
01565          *
01566          * @param text The new value.
01567          */
01568         void on_oneUpText_textEdited(const QString &text);
01569         
01570         /**
01571          * Called when the oracle bone charm is given or taken away.
01572          *
01573          * @param state The new check state.
01574          */
01575         void on_oracleBoneCheck_stateChanged(int state);
01576         
01577         /**
01578          * Called when the particle bomb count is changed.
01579          *
01580          * @param text The text.
01581          */
01582         void on_particleBombText_textEdited(const QString &text);
01583         
01584         /**
01585          * Called when the perfume count is changed.
01586          *
01587          * @param text The new count.
01588          */
01589         void on_perfumeText_textEdited(const QString &text);
01590         
01591         /**
01592          * Called when the petal count is changed.
01593          *
01594          * @param text The text.
01595          */
01596         void on_petalText_textEdited(const QString &text);
01597         
01598         /**
01599          * Called when the pixie dust count is changed.
01600          *
01601          * @param text The text.
01602          */
01603         void on_pixieDustText_textEdited(const QString &text);
01604         
01605         /**
01606          * Called when the protector count is changed.
01607          *
01608          * @param text The text.
01609          */
01610         void on_protectorRingText_textEdited(const QString &text);
01611         
01612         /**
01613          * Called when the reflect alchemy is given or taken away.
01614          *
01615          * @param state The new check state.
01616          */
01617         void on_reflectCheck_stateChanged(int state);
01618         
01619         /**
01620          * Called when reflect's alchemy level (major) is changed.
01621          *
01622          * @param value The new value.
01623          */
01624         void on_reflectSpinner_valueChanged(int value);
01625         
01626         /**
01627          * Called when reflect's alchemy level (minor) is changed.
01628          *
01629          * @param text The new value.
01630          */
01631         void on_reflectText_textEdited(const QString &text);
01632         
01633         /**
01634          * Called when the regrowth alchemy is given or taken away.
01635          *
01636          * @param state The new check state.
01637          */
01638         void on_regrowthCheck_stateChanged(int state);
01639         
01640         /**
01641          * Called when regrowth's alchemy level (major) is changed.
01642          *
01643          * @param value The new value.
01644          */
01645         void on_regrowthSpinner_valueChanged(int value);
01646         
01647         /**
01648          * Called when regrowth's alchemy level (minor) is changed.
01649          *
01650          * @param text The new value.
01651          */
01652         void on_regrowthText_textEdited(const QString &text);
01653         
01654         /**
01655          * Called when the revealer alchemy is given or taken away.
01656          *
01657          * @param state The new check state.
01658          */
01659         void on_revealerCheck_stateChanged(int state);
01660         
01661         /**
01662          * Called when revealer's alchemy level (major) is changed.
01663          *
01664          * @param value The new value.
01665          */
01666         void on_revealerSpinner_valueChanged(int value);
01667         
01668         /**
01669          * Called when revealer's alchemy level (minor) is changed.
01670          *
01671          * @param text The new value.
01672          */
01673         void on_revealerText_textEdited(const QString &text);
01674         
01675         /**
01676          * Called when the revive alchemy is given or taken away.
01677          *
01678          * @param state The new check state.
01679          */
01680         void on_reviveCheck_stateChanged(int state);
01681         
01682         /**
01683          * Called when revive's alchemy level (major) is changed.
01684          *
01685          * @param value The new value.
01686          */
01687         void on_reviveSpinner_valueChanged(int value);
01688         
01689         /**
01690          * Called when revive's alchemy level (minor) is changed.
01691          *
01692          * @param text The new value.
01693          */
01694         void on_reviveText_textEdited(const QString &text);
01695         
01696         /**
01697          * Called when the rice count is changed.
01698          *
01699          * @param text The new count.
01700          */
01701         void on_riceText_textEdited(const QString &text);
01702         
01703         /**
01704          * Called when the root ingredient count is changed.
01705          *
01706          * @param text The new text.
01707          */
01708         void on_rootText_textEdited(const QString &text);
01709         
01710         /**
01711          * Called when the ruby heart charm is given or taken away.
01712          *
01713          * @param state The new check state.
01714          */
01715         void on_rubyHeartCheck_stateChanged(int state);
01716         
01717         /**
01718          * Called when the serpent bracer count is changed.
01719          *
01720          * @param text The text.
01721          */
01722         void on_serpentBracerText_textEdited(const QString &text);
01723         
01724         /**
01725          * Called when the shell hat count is changed.
01726          *
01727          * @param text The text.
01728          */
01729         void on_shellHatText_textEdited(const QString &text);
01730         
01731         /**
01732          * Called when the shell plate count is changed.
01733          *
01734          * @param text The text.
01735          */
01736         void on_shellPlateText_textEdited(const QString &text);
01737         
01738         /**
01739          * Called when the shining armor count is changed.
01740          *
01741          * @param text The text.
01742          */
01743         void on_shiningArmorText_textEdited(const QString &text);
01744         
01745         /**
01746          * Called when the silver mail count is changed.
01747          *
01748          * @param text The text.
01749          */
01750         void on_silverMailText_textEdited(const QString &text);
01751         
01752         /**
01753          * Called when the silver sheath charm is given or taken away.
01754          *
01755          * @param state The new check state.
01756          */
01757         void on_silverSheathCheck_stateChanged(int state);
01758         
01759         /**
01760          * Called when the slow burn alchemy is given or taken away.
01761          *
01762          * @param state The new check state.
01763          */
01764         void on_slowBurnCheck_stateChanged(int state);
01765         
01766         /**
01767          * Called when slow burn's alchemy level (major) is changed.
01768          *
01769          * @param value The new value.
01770          */
01771         void on_slowBurnSpinner_valueChanged(int value);
01772         
01773         /**
01774          * Called when slow burn's alchemy level (minor) is changed.
01775          *
01776          * @param text The new value.
01777          */
01778         void on_slowBurnText_textEdited(const QString &text);
01779         
01780         /**
01781          * Called when the souvenir spoon count is changed.
01782          *
01783          * @param text The new count.
01784          */
01785         void on_souvenirSpoonText_textEdited(const QString &text);
01786         
01787         /**
01788          * Called when the speed alchemy is given or taken away.
01789          *
01790          * @param state The new check state.
01791          */
01792         void on_speedCheck_stateChanged(int state);
01793         
01794         /**
01795          * Called when speed's alchemy level (major) is changed.
01796          *
01797          * @param value The new value.
01798          */
01799         void on_speedSpinner_valueChanged(int value);
01800         
01801         /**
01802          * Called when speed's alchemy level (minor) is changed.
01803          *
01804          * @param text The new value.
01805          */
01806         void on_speedText_textEdited(const QString &text);
01807         
01808         /**
01809          * Called when the spice count is changed.
01810          *
01811          * @param text The new count.
01812          */
01813         void on_spiceText_textEdited(const QString &text);
01814         
01815         /**
01816          * Called when the spider's claw is given or taken away.
01817          *
01818          * @param state The new check state.
01819          */
01820         void on_spidersClawCheck_stateChanged(int state);
01821         
01822         /**
01823          * Called when the spider's claw's weapon level (major) is changed.
01824          *
01825          * @param value The new value.
01826          */
01827         void on_spidersClawSpinner_valueChanged(int value);
01828         
01829         /**
01830          * Called when the spider's claw's weapon level (minor) is changed.
01831          *
01832          * @param text The new value.
01833          */
01834         void on_spidersClawText_textEdited(const QString &text);
01835         
01836         /**
01837          * Called when the spiky collar count is changed.
01838          *
01839          * @param text The text.
01840          */
01841         void on_spikyCollarText_textEdited(const QString &text);
01842         
01843         /**
01844          * Called when the spot's collar count is changed.
01845          *
01846          * @param text The text.
01847          */
01848         void on_spotsCollarText_textEdited(const QString &text);
01849         
01850         /**
01851          * Called when the staff of life charm is given or taken away.
01852          *
01853          * @param state The new check state.
01854          */
01855         void on_staffOfLifeCheck_stateChanged(int state);
01856         
01857         /**
01858          * Called when the sting alchemy is given or taken away.
01859          *
01860          * @param state The new check state.
01861          */
01862         void on_stingCheck_stateChanged(int state);
01863         
01864         /**
01865          * Called when sting's alchemy level (major) is changed.
01866          *
01867          * @param value The new value.
01868          */
01869         void on_stingSpinner_valueChanged(int value);
01870         
01871         /**
01872          * Called when sting's alchemy level (minor) is changed.
01873          *
01874          * @param text The new value.
01875          */
01876         void on_stingText_textEdited(const QString &text);
01877         
01878         /**
01879          * Called when the stone vest count is changed.
01880          *
01881          * @param text The text.
01882          */
01883         void on_stoneVestText_textEdited(const QString &text);
01884         
01885         /**
01886          * Called when the stop alchemy is given or taken away.
01887          *
01888          * @param state The new check state.
01889          */
01890         void on_stopCheck_stateChanged(int state);
01891         
01892         /**
01893          * Called when stop's alchemy level (major) is changed.
01894          *
01895          * @param value The new value.
01896          */
01897         void on_stopSpinner_valueChanged(int value);
01898         
01899         /**
01900          * Called when stop's alchemy level (minor) is changed.
01901          *
01902          * @param text The new value.
01903          */
01904         void on_stopText_textEdited(const QString &text);
01905         
01906         /**
01907          * Called when the sun stone charm is given or taken away.
01908          *
01909          * @param state The new check state.
01910          */
01911         void on_sunStoneCheck_stateChanged(int state);
01912         
01913         /**
01914          * Called when the super heal alchemy is given or taken away.
01915          *
01916          * @param state The new check state.
01917          */
01918         void on_superHealCheck_stateChanged(int state);
01919         
01920         /**
01921          * Called when super heal's alchemy level (major) is changed.
01922          *
01923          * @param value The new value.
01924          */
01925         void on_superHealSpinner_valueChanged(int value);
01926         
01927         /**
01928          * Called when super heal's alchemy level (minor) is changed.
01929          *
01930          * @param text The new value.
01931          */
01932         void on_superHealText_textEdited(const QString &text);
01933         
01934         /**
01935          * Called when the talons are edited.
01936          *
01937          * @param text The new text.
01938          */
01939         void on_talonsText_textEdited(const QString &text);
01940         
01941         /**
01942          * Called when the tapestry count is changed.
01943          *
01944          * @param text The new count.
01945          */
01946         void on_tapestryText_textEdited(const QString &text);
01947         
01948         /**
01949          * Called when the thug's cloak charm is given or taken away.
01950          *
01951          * @param state The new check state.
01952          */
01953         void on_thugsCloakCheck_stateChanged(int state);
01954         
01955         /**
01956          * Called when the thunder ball count is changed.
01957          *
01958          * @param text The text.
01959          */
01960         void on_thunderBallText_textEdited(const QString &text);
01961         
01962         /**
01963          * Called when the ticket for exhibition count is changed.
01964          *
01965          * @param text The new count.
01966          */
01967         void on_ticketForExhibitionText_textEdited(const QString &text);
01968         
01969         /**
01970          * Called when the titanium vest count is changed.
01971          *
01972          * @param text The text.
01973          */
01974         void on_titaniumVestText_textEdited(const QString &text);
01975         
01976         /**
01977          * Called when the titan's crown count is changed.
01978          *
01979          * @param text The text.
01980          */
01981         void on_titansCrownText_textEdited(const QString &text);
01982         
01983         /**
01984          * Called when the vine bracelet count is changed.
01985          *
01986          * @param text The text.
01987          */
01988         void on_vineBraceletText_textEdited(const QString &text);
01989         
01990         /**
01991          * Called when the vinegar ingredient count is changed.
01992          *
01993          * @param text The new text.
01994          */
01995         void on_vinegarText_textEdited(const QString &text);
01996         
01997         /**
01998          * Called when the virtual glove count is changed.
01999          *
02000          * @param text The text.
02001          */
02002         void on_virtualGloveText_textEdited(const QString &text);
02003         
02004         /**
02005          * Called when the virtual vest count is changed.
02006          *
02007          * @param text The text.
02008          */
02009         void on_virtualVestText_textEdited(const QString &text);
02010         
02011         /**
02012          * Called when the water ingredient count is changed.
02013          *
02014          * @param text The new text.
02015          */
02016         void on_waterText_textEdited(const QString &text);
02017         
02018         /**
02019          * Called when the wax ingredient count is changed.
02020          *
02021          * @param text The new text.
02022          */
02023         void on_waxText_textEdited(const QString &text);
02024         
02025         /**
02026          * Called when the wings count is changed.
02027          *
02028          * @param text The text.
02029          */
02030         void on_wingsText_textEdited(const QString &text);
02031         
02032         /**
02033          * Called when the wizard's coin charm is given or taken away.
02034          *
02035          * @param state The new check state.
02036          */
02037         void on_wizardsCoinCheck_stateChanged(int state);
02038         
02039     protected:
02040         /**
02041          * Callback triggered when a close event is sent. Used to confirm user's
02042          * choice when unsaved data is present.
02043          *
02044          * @param event The triggering event.
02045          */
02046         void closeEvent(QCloseEvent *event);
02047         
02048         /**
02049          * Callback triggered when a drag event occurs. Used to accept or reject
02050          * drags.
02051          *
02052          * @param event The triggering event.
02053          */
02054         void dragEnterEvent(QDragEnterEvent *event);
02055         
02056         /**
02057          * Callback triggered when a drop event occurs. Used to handle drops on
02058          * the application.
02059          *
02060          * @param event The event.
02061          */
02062         void dropEvent(QDropEvent *event);
02063         
02064     public:
02065         /**
02066          * Creates a new MainWindow.
02067          */
02068         MainWindow();
02069         
02070         /**
02071          * Shows this MainWindow.
02072          */
02073         void show();
02074     };
02075     
02076     inline void MainWindow::on_acidRainCheck_stateChanged(int state)
02077         { setAlchemy(SF_ACIDRAIN, state); }
02078     inline void MainWindow::on_acidRainSpinner_valueChanged(int value)
02079         { setAlchemyLevelMajor(SF_ACIDRAIN, value); }
02080     inline void MainWindow::on_acidRainText_textEdited(const QString &text)
02081         { setAlchemyLevelMinor(SF_ACIDRAIN, text); }
02082     
02083     inline void MainWindow::on_acornText_textEdited(const QString &text)
02084         { setIngredient(SF_ACORN, text); }
02085         
02086     inline void MainWindow::on_annihilationAmuletText_textEdited(const QString &text)
02087         { setTradeGood(SF_ANNIHILATIONAMULET, text); }
02088         
02089     inline void MainWindow::on_armorPolishCheck_stateChanged(int state)
02090         { setCharm(SF_ARMORPOLISH, state); }
02091     
02092     inline void MainWindow::on_ashText_textEdited(const QString &text)
02093         { setIngredient(SF_ASH, text); }
02094         
02095     inline void MainWindow::on_atlasCheck_stateChanged(int state)
02096         { setAlchemy(SF_ATLAS, state); }
02097     inline void MainWindow::on_atlasSpinner_valueChanged(int value)
02098         { setAlchemyLevelMajor(SF_ATLAS, value); }
02099     inline void MainWindow::on_atlasText_textEdited(const QString &text)
02100         { setAlchemyLevelMinor(SF_ATLAS, text); }
02101      
02102     inline void MainWindow::on_atlasMedallionText_textEdited(const QString &text)
02103         { setIngredient(SF_ATLASMEDALLION, text); }
02104      
02105     inline void MainWindow::on_atomSmasherCheck_stateChanged(int state)
02106         { setWeapon(SF_ATOMSMASHER, state); }
02107     inline void MainWindow::on_atomSmasherSpinner_valueChanged(int value)
02108         { setWeaponLevelMajor(SF_ATOMSMASHER, value); }
02109     inline void MainWindow::on_atomSmasherText_textEdited(const QString &text)
02110         { setWeaponLevelMinor(SF_ATOMSMASHER, text); }
02111         
02112     inline void MainWindow::on_barrierCheck_stateChanged(int state)
02113         { setAlchemy(SF_BARRIER, state); }
02114     inline void MainWindow::on_barrierSpinner_valueChanged(int value)
02115         { setAlchemyLevelMajor(SF_BARRIER, value); }
02116     inline void MainWindow::on_barrierText_textEdited(const QString &text)
02117         { setAlchemyLevelMinor(SF_BARRIER, text); }
02118         
02119     inline void MainWindow::on_bazookaCheck_stateChanged(int state)
02120         { setWeapon(SF_BAZOOKA, state); }
02121         
02122     inline void MainWindow::on_beadsText_textEdited(const QString &text)
02123         { setTradeGood(SF_BEADS, text); }
02124         
02125     inline void MainWindow::on_boneText_textEdited(const QString &text)
02126         { setIngredient(SF_BONE, text); }
02127         
02128     inline void MainWindow::on_boneCrusherCheck_stateChanged(int state)
02129         { setWeapon(SF_BONECRUSHER, state); }
02130     inline void MainWindow::on_boneCrusherSpinner_valueChanged(int value)
02131         { setWeaponLevelMajor(SF_BONECRUSHER, value); }
02132     inline void MainWindow::on_boneCrusherText_textEdited(const QString &text)
02133         { setWeaponLevelMinor(SF_BONECRUSHER, text); }
02134         
02135     inline void MainWindow::on_brainstormText_textEdited(const QString &text)
02136         { setItem(SF_BRAINSTORM, text); }
02137         
02138     inline void MainWindow::on_brimstoneText_textEdited(const QString &text)
02139         { setIngredient(SF_BRIMSTONE, text); }
02140         
02141     inline void MainWindow::on_bronzeArmorText_textEdited(const QString &text)
02142         { setItem(SF_BRONZEARMOR, text); }
02143         
02144     inline void MainWindow::on_bronzeAxeCheck_stateChanged(int state)
02145         { setWeapon(SF_BRONZEAXE, state); }
02146     inline void MainWindow::on_bronzeAxeSpinner_valueChanged(int value)
02147         { setWeaponLevelMajor(SF_BRONZEAXE, value); }
02148     inline void MainWindow::on_bronzeAxeText_textEdited(const QString &text)
02149         { setWeaponLevelMinor(SF_BRONZEAXE, text); }
02150     
02151     inline void MainWindow::on_bronzeGauntletText_textEdited(const QString &text)
02152         { setItem(SF_BRONZEGAUNTLET, text); }
02153     inline void MainWindow::on_bronzeHelmetText_textEdited(const QString &text)
02154         { setItem(SF_BRONZEHELMET, text); }
02155         
02156     inline void MainWindow::on_bronzeSpearCheck_stateChanged(int state)
02157         { setWeapon(SF_BRONZESPEAR, state); }
02158     inline void MainWindow::on_bronzeSpearSpinner_valueChanged(int value)
02159         { setWeaponLevelMajor(SF_BRONZESPEAR, value); }
02160     inline void MainWindow::on_bronzeSpearText_textEdited(const QString &text)
02161         { setWeaponLevelMinor(SF_BRONZESPEAR, text); }
02162         
02163     inline void MainWindow::on_callBeadText_textEdited(const QString &text)
02164         { setItem(SF_CALLBEAD, text); }
02165         
02166     inline void MainWindow::on_callUpCheck_stateChanged(int state)
02167         { setAlchemy(SF_CALLUP, state); }
02168     inline void MainWindow::on_callUpSpinner_valueChanged(int value)
02169         { setAlchemyLevelMajor(SF_CALLUP, value); }
02170     inline void MainWindow::on_callUpText_textEdited(const QString &text)
02171         { setAlchemyLevelMinor(SF_CALLUP, text); }
02172         
02173     inline void MainWindow::on_centurionCapeText_textEdited(const QString &text)
02174         { setItem(SF_CENTURIONCAPE, text); }
02175     inline void MainWindow::on_centurionHelmText_textEdited(const QString &text)
02176         { setItem(SF_CENTURIONHELM, text); }
02177         
02178     inline void MainWindow::on_ceramicPotText_textEdited(const QString &text)
02179         { setTradeGood(SF_CERAMICPOT, text); }
02180     inline void MainWindow::on_chickenText_textEdited(const QString &text)
02181         { setTradeGood(SF_CHICKEN, text); }
02182         
02183     inline void MainWindow::on_chocoboEggCheck_stateChanged(int state)
02184         { setCharm(SF_CHOCOBOEGG, state); }
02185     
02186     inline void MainWindow::on_clawGuardText_textEdited(const QString &text)
02187         { setItem(SF_CLAWGUARD, text); }
02188         
02189     inline void MainWindow::on_clayText_textEdited(const QString &text)
02190         { setIngredient(SF_CLAY, text); }
02191         
02192     inline void MainWindow::on_corrosionCheck_stateChanged(int state)
02193         { setAlchemy(SF_CORROSION, state); }
02194     inline void MainWindow::on_corrosionSpinner_valueChanged(int value)
02195         { setAlchemyLevelMajor(SF_CORROSION, value); }
02196     inline void MainWindow::on_corrosionText_textEdited(const QString &text)
02197         { setAlchemyLevelMinor(SF_CORROSION, text); }
02198         
02199     inline void MainWindow::on_creditsText_textEdited(const QString &text)
02200         { setMoney(SF_CREDITS, text); }
02201         
02202     inline void MainWindow::on_crusaderSwordCheck_stateChanged(int state)
02203         { setWeapon(SF_CRUSADERSWORD, state); }
02204     inline void MainWindow::on_crusaderSwordSpinner_valueChanged(int value)
02205         { setWeaponLevelMajor(SF_CRUSADERSWORD, value); }
02206     inline void MainWindow::on_crusaderSwordText_textEdited(const QString &text)
02207         { setWeaponLevelMinor(SF_CRUSADERSWORD, text); }
02208         
02209     inline void MainWindow::on_crushCheck_stateChanged(int state)
02210         { setAlchemy(SF_CRUSH, state); }
02211     inline void MainWindow::on_crushSpinner_valueChanged(int value)
02212         { setAlchemyLevelMajor(SF_CRUSH, value); }
02213     inline void MainWindow::on_crushText_textEdited(const QString &text)
02214         { setAlchemyLevelMinor(SF_CRUSH, text); }
02215         
02216     inline void MainWindow::on_cryoBlastText_textEdited(const QString &text)
02217         { setItem(SF_CRYOBLAST, text); }
02218         
02219     inline void MainWindow::on_crystalText_textEdited(const QString &text)
02220         { setIngredient(SF_CRYSTAL, text); }
02221         
02222     inline void MainWindow::on_cureCheck_stateChanged(int state)
02223         { setAlchemy(SF_CURE, state); }
02224     inline void MainWindow::on_cureSpinner_valueChanged(int value)
02225         { setAlchemyLevelMajor(SF_CURE, value); }
02226     inline void MainWindow::on_cureText_textEdited(const QString &text)
02227         { setAlchemyLevelMinor(SF_CURE, text); }
02228         
02229     inline void MainWindow::on_cybergloveText_textEdited(const QString &text)
02230         { setItem(SF_CYBERGLOVE, text); }
02231     
02232     inline void MainWindow::on_defendCheck_stateChanged(int state)
02233         { setAlchemy(SF_DEFEND, state); }
02234     inline void MainWindow::on_defendSpinner_valueChanged(int value)
02235         { setAlchemyLevelMajor(SF_DEFEND, value); }
02236     inline void MainWindow::on_defendText_textEdited(const QString &text)
02237         { setAlchemyLevelMinor(SF_DEFEND, text); }
02238         
02239     inline void MainWindow::on_defenderCollarText_textEdited(const QString &text)
02240         { setItem(SF_DEFENDERCOLLAR, text); }
02241     inline void MainWindow::on_dinoHelmText_textEdited(const QString &text)
02242         { setItem(SF_DINOHELM, text); }
02243     inline void MainWindow::on_dinoSkinText_textEdited(const QString &text)
02244         { setItem(SF_DINOSKIN, text); }
02245     inline void MainWindow::on_dogBiscuitText_textEdited(const QString &text)
02246         { setItem(SF_DOGBISCUIT, text); }
02247     
02248     inline void MainWindow::on_doubleDrainCheck_stateChanged(int state)
02249         { setAlchemy(SF_DOUBLEDRAIN, state); }
02250     inline void MainWindow::on_doubleDrainSpinner_valueChanged(int value)
02251         { setAlchemyLevelMajor(SF_DOUBLEDRAIN, value); }
02252     inline void MainWindow::on_doubleDrainText_textEdited(const QString &text)
02253         { setAlchemyLevelMinor(SF_DOUBLEDRAIN, text); }
02254     
02255     inline void MainWindow::on_dragonHelmText_textEdited(const QString &text)
02256         { setItem(SF_DRAGONHELM, text); }
02257     inline void MainWindow::on_dragonsClawText_textEdited(const QString &text)
02258         { setItem(SF_DRAGONSCLAW, text); }
02259     
02260     inline void MainWindow::on_drainCheck_stateChanged(int state)
02261         { setAlchemy(SF_DRAIN, state); }
02262     inline void MainWindow::on_drainSpinner_valueChanged(int value)
02263         { setAlchemyLevelMajor(SF_DRAIN, value); }
02264     inline void MainWindow::on_drainText_textEdited(const QString &text)
02265         { setAlchemyLevelMinor(SF_DRAIN, text); }
02266      
02267     inline void MainWindow::on_dryIceText_textEdited(const QString &text)
02268         { setIngredient(SF_DRYICE, text); }
02269      
02270     inline void MainWindow::on_energizeCheck_stateChanged(int state)
02271         { setAlchemy(SF_ENERGIZE, state); }
02272     inline void MainWindow::on_energizeSpinner_valueChanged(int value)
02273         { setAlchemyLevelMajor(SF_ENERGIZE, value); }
02274     inline void MainWindow::on_energizeText_textEdited(const QString &text)
02275         { setAlchemyLevelMinor(SF_ENERGIZE, text); }
02276     
02277     inline void MainWindow::on_escapeCheck_stateChanged(int state)
02278         { setAlchemy(SF_ESCAPE, state); }
02279     inline void MainWindow::on_escapeSpinner_valueChanged(int value)
02280         { setAlchemyLevelMajor(SF_ESCAPE, value); }
02281     inline void MainWindow::on_escapeText_textEdited(const QString &text)
02282         { setAlchemyLevelMinor(SF_ESCAPE, text); }
02283         
02284     inline void MainWindow::on_essenceText_textEdited(const QString &text)
02285         { setItem(SF_ESSENCE, text); }
02286      
02287     inline void MainWindow::on_ethanolText_textEdited(const QString &text)
02288         { setIngredient(SF_ETHANOL, text); }
02289      
02290     inline void MainWindow::on_explosionCheck_stateChanged(int state)
02291         { setAlchemy(SF_EXPLOSION, state); }
02292     inline void MainWindow::on_explosionSpinner_valueChanged(int value)
02293         { setAlchemyLevelMajor(SF_EXPLOSION, value); }
02294     inline void MainWindow::on_explosionText_textEdited(const QString &text)
02295         { setAlchemyLevelMinor(SF_EXPLOSION, text); }
02296      
02297     inline void MainWindow::on_featherText_textEdited(const QString &text)
02298         { setIngredient(SF_FEATHER, text); }
02299         
02300     inline void MainWindow::on_fileExit_triggered(bool)
02301         { close(); }
02302      
02303     inline void MainWindow::on_fireballCheck_stateChanged(int state)
02304         { setAlchemy(SF_FIREBALL, state); }
02305     inline void MainWindow::on_fireballSpinner_valueChanged(int value)
02306         { setAlchemyLevelMajor(SF_FIREBALL, value); }
02307     inline void MainWindow::on_fireballText_textEdited(const QString &text)
02308         { setAlchemyLevelMinor(SF_FIREBALL, text); }
02309     
02310     inline void MainWindow::on_firePowerCheck_stateChanged(int state)
02311         { setAlchemy(SF_FIREPOWER, state); }
02312     inline void MainWindow::on_firePowerSpinner_valueChanged(int value)
02313         { setAlchemyLevelMajor(SF_FIREPOWER, value); }
02314     inline void MainWindow::on_firePowerText_textEdited(const QString &text)
02315         { setAlchemyLevelMinor(SF_FIREPOWER, text); }
02316     
02317     inline void MainWindow::on_flashCheck_stateChanged(int state)
02318         { setAlchemy(SF_FLASH, state); }
02319     inline void MainWindow::on_flashSpinner_valueChanged(int value)
02320         { setAlchemyLevelMajor(SF_FLASH, value); }
02321     inline void MainWindow::on_flashText_textEdited(const QString &text)
02322         { setAlchemyLevelMinor(SF_FLASH, text); }
02323     
02324     inline void MainWindow::on_forceFieldCheck_stateChanged(int state)
02325         { setAlchemy(SF_FORCEFIELD, state); }
02326     inline void MainWindow::on_forceFieldSpinner_valueChanged(int value)
02327         { setAlchemyLevelMajor(SF_FORCEFIELD, value); }
02328     inline void MainWindow::on_forceFieldText_textEdited(const QString &text)
02329         { setAlchemyLevelMinor(SF_FORCEFIELD, text); }
02330         
02331     inline void MainWindow::on_gameGame1_triggered(bool)
02332         { setGame(0); }
02333     inline void MainWindow::on_gameGame2_triggered(bool)
02334         { setGame(1); }
02335     inline void MainWindow::on_gameGame3_triggered(bool)
02336         { setGame(2); }
02337     inline void MainWindow::on_gameGame4_triggered(bool)
02338         { setGame(3); }
02339         
02340     inline void MainWindow::on_gladiatorSwordCheck_stateChanged(int state)
02341         { setWeapon(SF_GLADIATORSWORD, state); }
02342     inline void MainWindow::on_gladiatorSwordSpinner_valueChanged(int value)
02343         { setWeaponLevelMajor(SF_GLADIATORSWORD, value); }
02344     inline void MainWindow::on_gladiatorSwordText_textEdited(const QString &text)
02345         { setWeaponLevelMinor(SF_GLADIATORSWORD, text); }
02346         
02347     inline void MainWindow::on_glovesOfRaText_textEdited(const QString &text)
02348         { setItem(SF_GLOVESOFRA, text); }
02349         
02350     inline void MainWindow::on_goldCoinsText_textEdited(const QString &text)
02351         { setMoney(SF_GOLDCOINS, text); }
02352         
02353     inline void MainWindow::on_goldPlatedVestText_textEdited(const QString &text)
02354         { setItem(SF_GOLDPLATEDVEST, text); }
02355         
02356     inline void MainWindow::on_goldenJackalText_textEdited(const QString &text)
02357         { setTradeGood(SF_GOLDENJACKAL, text); }
02358         
02359     inline void MainWindow::on_grassHatText_textEdited(const QString &text)
02360         { setItem(SF_GRASSHAT, text); }
02361     inline void MainWindow::on_grassVestText_textEdited(const QString &text)
02362         { setItem(SF_GRASSVEST, text); }
02363         
02364     inline void MainWindow::on_greaseText_textEdited(const QString &text)
02365         { setIngredient(SF_GREASE, text); }
02366     inline void MainWindow::on_gunpowderText_textEdited(const QString &text)
02367         { setIngredient(SF_GUNPOWDER, text); }
02368         
02369     inline void MainWindow::on_hardBallCheck_stateChanged(int state)
02370         { setAlchemy(SF_HARDBALL, state); }
02371     inline void MainWindow::on_hardBallSpinner_valueChanged(int value)
02372         { setAlchemyLevelMajor(SF_HARDBALL, value); }
02373     inline void MainWindow::on_hardBallText_textEdited(const QString &text)
02374         { setAlchemyLevelMinor(SF_HARDBALL, text); }
02375     
02376     inline void MainWindow::on_healCheck_stateChanged(int state)
02377         { setAlchemy(SF_HEAL, state); }
02378     inline void MainWindow::on_healSpinner_valueChanged(int value)
02379         { setAlchemyLevelMajor(SF_HEAL, value); }
02380     inline void MainWindow::on_healText_textEdited(const QString &text)
02381         { setAlchemyLevelMinor(SF_HEAL, text); }
02382         
02383     inline void MainWindow::on_honeyText_textEdited(const QString &text)
02384         { setItem(SF_HONEY, text); }
02385         
02386     inline void MainWindow::on_hornSpearCheck_stateChanged(int state)
02387         { setWeapon(SF_HORNSPEAR, state); }
02388     inline void MainWindow::on_hornSpearSpinner_valueChanged(int value)
02389         { setWeaponLevelMajor(SF_HORNSPEAR, value); }
02390     inline void MainWindow::on_hornSpearText_textEdited(const QString &text)
02391         { setWeaponLevelMinor(SF_HORNSPEAR, text); }
02392         
02393     inline void MainWindow::on_insectIncenseCheck_stateChanged(int state)
02394         { setCharm(SF_INSECTINCENSE, state); }
02395         
02396     inline void MainWindow::on_ironText_textEdited(const QString &text)
02397         { setIngredient(SF_IRON, text); }
02398         
02399     inline void MainWindow::on_ironBracerText_textEdited(const QString &text)
02400         { setItem(SF_IRONBRACER, text); }
02401         
02402     inline void MainWindow::on_jadeDiskCheck_stateChanged(int state)
02403         { setCharm(SF_JADEDISK, state); }
02404     inline void MainWindow::on_jaguarRingCheck_stateChanged(int state)
02405         { setCharm(SF_JAGUARRING, state); }
02406         
02407     inline void MainWindow::on_jeweledScarabText_textEdited(const QString &text)
02408         { setTradeGood(SF_JEWELEDSCARAB, text); }
02409         
02410     inline void MainWindow::on_jewelsText_textEdited(const QString &text)
02411         { setMoney(SF_JEWELS, text); }
02412         
02413     inline void MainWindow::on_knightBasherCheck_stateChanged(int state)
02414         { setWeapon(SF_KNIGHTBASHER, state); }
02415     inline void MainWindow::on_knightBasherSpinner_valueChanged(int value)
02416         { setWeaponLevelMajor(SF_KNIGHTBASHER, value); }
02417     inline void MainWindow::on_knightBasherText_textEdited(const QString &text)
02418         { setWeaponLevelMinor(SF_KNIGHTBASHER, text); }
02419         
02420     inline void MainWindow::on_knightsHelmText_textEdited(const QString &text)
02421         { setItem(SF_KNIGHTSHELM, text); }
02422         
02423     inline void MainWindow::on_lanceAlchemyCheck_stateChanged(int state)
02424         { setAlchemy(SF_LANCEALCHEMY, state); }
02425     inline void MainWindow::on_lanceAlchemySpinner_valueChanged(int value)
02426         { setAlchemyLevelMajor(SF_LANCEALCHEMY, value); }
02427     inline void MainWindow::on_lanceAlchemyText_textEdited(const QString &text)
02428         { setAlchemyLevelMinor(SF_LANCEALCHEMY, text); }
02429         
02430     inline void MainWindow::on_lanceWeaponCheck_stateChanged(int state)
02431         { setWeapon(SF_LANCEWEAPON, state); }
02432     inline void MainWindow::on_lanceWeaponSpinner_valueChanged(int value)
02433         { setWeaponLevelMajor(SF_LANCEWEAPON, value); }
02434     inline void MainWindow::on_lanceWeaponText_textEdited(const QString &text)
02435         { setWeaponLevelMinor(SF_LANCEWEAPON, text); }
02436         
02437     inline void MainWindow::on_laserLanceCheck_stateChanged(int state)
02438         { setWeapon(SF_LASERLANCE, state); }
02439     inline void MainWindow::on_laserLanceSpinner_valueChanged(int value)
02440         { setWeaponLevelMajor(SF_LASERLANCE, value); }
02441     inline void MainWindow::on_laserLanceText_textEdited(const QString &text)
02442         { setWeaponLevelMinor(SF_LASERLANCE, text); }
02443         
02444     inline void MainWindow::on_leatherCollarText_textEdited(const QString &text)
02445         { setItem(SF_LEATHERCOLLAR, text); }
02446         
02447     inline void MainWindow::on_levitateCheck_stateChanged(int state)
02448         { setAlchemy(SF_LEVITATE, state); }
02449     inline void MainWindow::on_levitateSpinner_valueChanged(int value)
02450         { setAlchemyLevelMajor(SF_LEVITATE, value); }
02451     inline void MainWindow::on_levitateText_textEdited(const QString &text)
02452         { setAlchemyLevelMinor(SF_LEVITATE, text); }
02453         
02454     inline void MainWindow::on_lightningHelmText_textEdited(const QString &text)
02455         { setItem(SF_LIGHTNINGHELM, text); }
02456     
02457     inline void MainWindow::on_lightningStormCheck_stateChanged(int state)
02458         { setAlchemy(SF_LIGHTNINGSTORM, state); }
02459     inline void MainWindow::on_lightningStormSpinner_valueChanged(int value)
02460         { setAlchemyLevelMajor(SF_LIGHTNINGSTORM, value); }
02461     inline void MainWindow::on_lightningStormText_textEdited(const QString &text)
02462         { setAlchemyLevelMinor(SF_LIGHTNINGSTORM, text); }
02463         
02464     inline void MainWindow::on_limestoneText_textEdited(const QString &text)
02465         { setIngredient(SF_LIMESTONE, text); }
02466         
02467     inline void MainWindow::on_limestoneTabletText_textEdited(const QString &text)
02468         { setTradeGood(SF_LIMESTONETABLET, text); }
02469         
02470     inline void MainWindow::on_magicGourdCheck_stateChanged(int state)
02471         { setCharm(SF_MAGICGOURD, state); }
02472         
02473     inline void MainWindow::on_magiciansRingText_textEdited(const QString &text)
02474         { setItem(SF_MAGICIANSRING, text); }
02475     inline void MainWindow::on_magnaMailText_textEdited(const QString &text)
02476         { setItem(SF_MAGNAMAIL, text); }
02477     inline void MainWindow::on_mammothGuardText_textEdited(const QString &text)
02478         { setItem(SF_MAMMOTHGUARD, text); }
02479     
02480     inline void MainWindow::on_meteoriteText_textEdited(const QString &text)
02481         { setIngredient(SF_METEORITE, text); }
02482         
02483     inline void MainWindow::on_miracleCureCheck_stateChanged(int state)
02484         { setAlchemy(SF_MIRACLECURE, state); }
02485     inline void MainWindow::on_miracleCureSpinner_valueChanged(int value)
02486         { setAlchemyLevelMajor(SF_MIRACLECURE, value); }
02487     inline void MainWindow::on_miracleCureText_textEdited(const QString &text)
02488         { setAlchemyLevelMinor(SF_MIRACLECURE, text); }
02489         
02490     inline void MainWindow::on_moxaStickCheck_stateChanged(int state)
02491         { setCharm(SF_MOXASTICK, state); }
02492      
02493     inline void MainWindow::on_mudPepperText_textEdited(const QString &text)
02494         { setIngredient(SF_MUDPEPPER, text); }
02495     inline void MainWindow::on_mushroomText_textEdited(const QString &text)
02496         { setIngredient(SF_MUSHROOM, text); }
02497         
02498     inline void MainWindow::on_nectarText_textEdited(const QString &text)
02499         { setItem(SF_NECTAR, text); }
02500         
02501     inline void MainWindow::on_neutronBladeCheck_stateChanged(int state)
02502         { setWeapon(SF_NEUTRONBLADE, state); }
02503     inline void MainWindow::on_neutronBladeSpinner_valueChanged(int value)
02504         { setWeaponLevelMajor(SF_NEUTRONBLADE, value); }
02505     inline void MainWindow::on_neutronBladeText_textEdited(const QString &text)
02506         { setWeaponLevelMinor(SF_NEUTRONBLADE, text); }
02507         
02508     inline void MainWindow::on_nitroCheck_stateChanged(int state)
02509         { setAlchemy(SF_NITRO, state); }
02510     inline void MainWindow::on_nitroSpinner_valueChanged(int value)
02511         { setAlchemyLevelMajor(SF_NITRO, value); }
02512     inline void MainWindow::on_nitroText_textEdited(const QString &text)
02513         { setAlchemyLevelMinor(SF_NITRO, text); }
02514         
02515     inline void MainWindow::on_obsidianHelmText_textEdited(const QString &text)
02516         { setItem(SF_OBSIDIANHELM, text); }
02517     inline void MainWindow::on_oldReliableText_textEdited(const QString &text)
02518         { setItem(SF_OLDRELIABLE, text); }
02519     
02520     inline void MainWindow::on_oneUpCheck_stateChanged(int state)
02521         { setAlchemy(SF_ONEUP, state); }
02522     inline void MainWindow::on_oneUpSpinner_valueChanged(int value)
02523         { setAlchemyLevelMajor(SF_ONEUP, value); }
02524     inline void MainWindow::on_oneUpText_textEdited(const QString &text)
02525         { setAlchemyLevelMinor(SF_ONEUP, text); }
02526         
02527     inline void MainWindow::on_oilText_textEdited(const QString &text)
02528         { setIngredient(SF_OIL, text); }
02529         
02530     inline void MainWindow::on_oracleBoneCheck_stateChanged(int state)
02531         { setCharm(SF_ORACLEBONE, state); }
02532         
02533     inline void MainWindow::on_particleBombText_textEdited(const QString &text)
02534         { setItem(SF_PARTICLEBOMB, text); }
02535         
02536     inline void MainWindow::on_perfumeText_textEdited(const QString &text)
02537         { setTradeGood(SF_PERFUME, text); }
02538     
02539     inline void MainWindow::on_petalText_textEdited(const QString &text)
02540         { setItem(SF_PETAL, text); }
02541     inline void MainWindow::on_pixieDustText_textEdited(const QString &text)
02542         { setItem(SF_PIXIEDUST, text); }
02543     inline void MainWindow::on_protectorRingText_textEdited(const QString &text)
02544         { setItem(SF_PROTECTORRING, text); }
02545         
02546     inline void MainWindow::on_reflectCheck_stateChanged(int state)
02547         { setAlchemy(SF_REFLECT, state); }
02548     inline void MainWindow::on_reflectSpinner_valueChanged(int value)
02549         { setAlchemyLevelMajor(SF_REFLECT, value); }
02550     inline void MainWindow::on_reflectText_textEdited(const QString &text)
02551         { setAlchemyLevelMinor(SF_REFLECT, text); }
02552     
02553     inline void MainWindow::on_regrowthCheck_stateChanged(int state)
02554         { setAlchemy(SF_REGROWTH, state); }
02555     inline void MainWindow::on_regrowthSpinner_valueChanged(int value)
02556         { setAlchemyLevelMajor(SF_REGROWTH, value); }
02557     inline void MainWindow::on_regrowthText_textEdited(const QString &text)
02558         { setAlchemyLevelMinor(SF_REGROWTH, text); }
02559     
02560     inline void MainWindow::on_revealerCheck_stateChanged(int state)
02561         { setAlchemy(SF_REVEALER, state); }
02562     inline void MainWindow::on_revealerSpinner_valueChanged(int value)
02563         { setAlchemyLevelMajor(SF_REVEALER, value); }
02564     inline void MainWindow::on_revealerText_textEdited(const QString &text)
02565         { setAlchemyLevelMinor(SF_REVEALER, text); }
02566     
02567     inline void MainWindow::on_reviveCheck_stateChanged(int state)
02568         { setAlchemy(SF_REVIVE, state); }
02569     inline void MainWindow::on_reviveSpinner_valueChanged(int value)
02570         { setAlchemyLevelMajor(SF_REVIVE, value); }
02571     inline void MainWindow::on_reviveText_textEdited(const QString &text)
02572         { setAlchemyLevelMinor(SF_REVIVE, text); }
02573         
02574     inline void MainWindow::on_riceText_textEdited(const QString &text)
02575         { setTradeGood(SF_RICE, text); }
02576         
02577     inline void MainWindow::on_rootText_textEdited(const QString &text)
02578         { setIngredient(SF_ROOT, text); }
02579         
02580     inline void MainWindow::on_rubyHeartCheck_stateChanged(int state)
02581         { setCharm(SF_RUBYHEART, state); }
02582         
02583     inline void MainWindow::on_serpentBracerText_textEdited(const QString &text)
02584         { setItem(SF_SERPENTBRACER, text); }
02585     inline void MainWindow::on_shellHatText_textEdited(const QString &text)
02586         { setItem(SF_SHELLHAT, text); }
02587     inline void MainWindow::on_shellPlateText_textEdited(const QString &text)
02588         { setItem(SF_SHELLPLATE, text); }
02589     inline void MainWindow::on_shiningArmorText_textEdited(const QString &text)
02590         { setItem(SF_SHININGARMOR, text); }
02591     inline void MainWindow::on_silverMailText_textEdited(const QString &text)
02592         { setItem(SF_SILVERMAIL, text); }
02593         
02594     inline void MainWindow::on_silverSheathCheck_stateChanged(int state)
02595         { setCharm(SF_SILVERSHEATH, state); }
02596         
02597     inline void MainWindow::on_slowBurnCheck_stateChanged(int state)
02598         { setAlchemy(SF_SLOWBURN, state); }
02599     inline void MainWindow::on_slowBurnSpinner_valueChanged(int value)
02600         { setAlchemyLevelMajor(SF_SLOWBURN, value); }
02601     inline void MainWindow::on_slowBurnText_textEdited(const QString &text)
02602         { setAlchemyLevelMinor(SF_SLOWBURN, text); }
02603         
02604     inline void MainWindow::on_souvenirSpoonText_textEdited(const QString &text)
02605         { setTradeGood(SF_SOUVENIRSPOON, text); }
02606     
02607     inline void MainWindow::on_speedCheck_stateChanged(int state)
02608         { setAlchemy(SF_SPEED, state); }
02609     inline void MainWindow::on_speedSpinner_valueChanged(int value)
02610         { setAlchemyLevelMajor(SF_SPEED, value); }
02611     inline void MainWindow::on_speedText_textEdited(const QString &text)
02612         { setAlchemyLevelMinor(SF_SPEED, text); }
02613         
02614     inline void MainWindow::on_spiceText_textEdited(const QString &text)
02615         { setTradeGood(SF_SPICE, text); }
02616         
02617     inline void MainWindow::on_spidersClawCheck_stateChanged(int state)
02618         { setWeapon(SF_SPIDERSCLAW, state); }
02619     inline void MainWindow::on_spidersClawSpinner_valueChanged(int value)
02620         { setWeaponLevelMajor(SF_SPIDERSCLAW, value); }
02621     inline void MainWindow::on_spidersClawText_textEdited(const QString &text)
02622         { setWeaponLevelMinor(SF_SPIDERSCLAW, text); }
02623         
02624     inline void MainWindow::on_spikyCollarText_textEdited(const QString &text)
02625         { setItem(SF_SPIKYCOLLAR, text); }
02626     inline void MainWindow::on_spotsCollarText_textEdited(const QString &text)
02627         { setItem(SF_SPOTSCOLLAR, text); }
02628         
02629     inline void MainWindow::on_staffOfLifeCheck_stateChanged(int state)
02630         { setCharm(SF_STAFFOFLIFE, state); }
02631         
02632     inline void MainWindow::on_stingCheck_stateChanged(int state)
02633         { setAlchemy(SF_STING, state); }
02634     inline void MainWindow::on_stingSpinner_valueChanged(int value)
02635         { setAlchemyLevelMajor(SF_STING, value); }
02636     inline void MainWindow::on_stingText_textEdited(const QString &text)
02637         { setAlchemyLevelMinor(SF_STING, text); }
02638         
02639     inline void MainWindow::on_stoneVestText_textEdited(const QString &text)
02640         { setItem(SF_STONEVEST, text); }
02641     
02642     inline void MainWindow::on_stopCheck_stateChanged(int state)
02643         { setAlchemy(SF_STOP, state); }
02644     inline void MainWindow::on_stopSpinner_valueChanged(int value)
02645         { setAlchemyLevelMajor(SF_STOP, value); }
02646     inline void MainWindow::on_stopText_textEdited(const QString &text)
02647         { setAlchemyLevelMinor(SF_STOP, text); }
02648         
02649     inline void MainWindow::on_sunStoneCheck_stateChanged(int state)
02650         { setCharm(SF_SUNSTONE, state); }
02651     
02652     inline void MainWindow::on_superHealCheck_stateChanged(int state)
02653         { setAlchemy(SF_SUPERHEAL, state); }
02654     inline void MainWindow::on_superHealSpinner_valueChanged(int value)
02655         { setAlchemyLevelMajor(SF_SUPERHEAL, value); }
02656     inline void MainWindow::on_superHealText_textEdited(const QString &text)
02657         { setAlchemyLevelMinor(SF_SUPERHEAL, text); }
02658         
02659     inline void MainWindow::on_talonsText_textEdited(const QString &text)
02660         { setMoney(SF_TALONS, text); }
02661         
02662     inline void MainWindow::on_tapestryText_textEdited(const QString &text)
02663         { setTradeGood(SF_TAPESTRY, text); }
02664         
02665     inline void MainWindow::on_thugsCloakCheck_stateChanged(int state)
02666         { setCharm(SF_THUGSCLOAK, state); }
02667         
02668     inline void MainWindow::on_thunderBallText_textEdited(const QString &text)
02669         { setItem(SF_THUNDERBALL, text); }
02670         
02671     inline void MainWindow::on_ticketForExhibitionText_textEdited(const QString &text)
02672         { setTradeGood(SF_TICKETFOREXHIBITION, text); }
02673         
02674     inline void MainWindow::on_titaniumVestText_textEdited(const QString &text)
02675         { setItem(SF_TITANIUMVEST, text); }
02676     inline void MainWindow::on_titansCrownText_textEdited(const QString &text)
02677         { setItem(SF_TITANSCROWN, text); }
02678     inline void MainWindow::on_vineBraceletText_textEdited(const QString &text)
02679         { setItem(SF_VINEBRACELET, text); }
02680     
02681     inline void MainWindow::on_vinegarText_textEdited(const QString &text)
02682         { setIngredient(SF_VINEGAR, text); }
02683         
02684     inline void MainWindow::on_virtualGloveText_textEdited(const QString &text)
02685         { setItem(SF_VIRTUALGLOVE, text); }
02686     inline void MainWindow::on_virtualVestText_textEdited(const QString &text)
02687         { setItem(SF_VIRTUALVEST, text); }
02688     
02689     inline void MainWindow::on_waterText_textEdited(const QString &text)
02690         { setIngredient(SF_WATER, text); }
02691     inline void MainWindow::on_waxText_textEdited(const QString &text)
02692         { setIngredient(SF_WAX, text); }
02693         
02694     inline void MainWindow::on_wingsText_textEdited(const QString &text)
02695         { setItem(SF_WINGS, text); }
02696     
02697     inline void MainWindow::on_wizardsCoinCheck_stateChanged(int state)
02698         { setCharm(SF_WIZARDSCOIN, state); }
02699 }
02700 
02701 #endif
02702 

Generated on Sun Sep 10 01:49:26 2006 for Secret of Evermore SRAM Editor by  doxygen 1.4.7