mainwindow.hh

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

Generated on Sun Jan 27 09:41:43 2008 for Secret of Evermore SRAM Editor by  doxygen 1.5.4