Logo
  • Main Page
  • Related Pages
  • Modules
  • Classes
  • Files

mmssliderwidgetclass.cpp

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (C) 2005-2007 Stefan Schwarzer, Jens Schneider,             *
00003  *                           Matthias Hardt, Guido Madaus                  *
00004  *                                                                         *
00005  *   Copyright (C) 2007-2008 BerLinux Solutions GbR                        *
00006  *                           Stefan Schwarzer & Guido Madaus               *
00007  *                                                                         *
00008  *   Copyright (C) 2009-2013 BerLinux Solutions GmbH                       *
00009  *                                                                         *
00010  *   Authors:                                                              *
00011  *      Stefan Schwarzer   <stefan.schwarzer@diskohq.org>,                 *
00012  *      Matthias Hardt     <matthias.hardt@diskohq.org>,                   *
00013  *      Jens Schneider     <jens.schneider@diskohq.org>,                   *
00014  *      Guido Madaus       <guido.madaus@diskohq.org>,                     *
00015  *      Patrick Helterhoff <patrick.helterhoff@diskohq.org>,               *
00016  *      René Bählkow       <rene.baehlkow@diskohq.org>                     *
00017  *                                                                         *
00018  *   This library is free software; you can redistribute it and/or         *
00019  *   modify it under the terms of the GNU Lesser General Public            *
00020  *   License version 2.1 as published by the Free Software Foundation.     *
00021  *                                                                         *
00022  *   This library is distributed in the hope that it will be useful,       *
00023  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00024  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU     *
00025  *   Lesser General Public License for more details.                       *
00026  *                                                                         *
00027  *   You should have received a copy of the GNU Lesser General Public      *
00028  *   License along with this library; if not, write to the                 *
00029  *   Free Software Foundation, Inc.,                                       *
00030  *   51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA            *
00031  **************************************************************************/
00032 
00033 #include "mmsgui/theme/mmssliderwidgetclass.h"
00034 #include <string.h>
00035 
00036 //store attribute descriptions here
00037 TAFF_ATTRDESC MMSGUI_SLIDERWIDGET_ATTR_I[] = MMSGUI_SLIDERWIDGET_ATTR_INIT;
00038 
00039 // address attribute names
00040 #define GETATTRNAME(aname) MMSGUI_SLIDERWIDGET_ATTR_I[MMSGUI_SLIDERWIDGET_ATTR::MMSGUI_SLIDERWIDGET_ATTR_IDS_##aname].name
00041 
00042 // address attribute types
00043 #define GETATTRTYPE(aname) MMSGUI_SLIDERWIDGET_ATTR_I[MMSGUI_SLIDERWIDGET_ATTR::MMSGUI_SLIDERWIDGET_ATTR_IDS_##aname].type
00044 
00045 
00046 MMSSliderWidgetClass::MMSSliderWidgetClass() {
00047     unsetAll();
00048 }
00049 
00050 void MMSSliderWidgetClass::unsetAll() {
00051     this->className = "";
00052     unsetImagePath();
00053     unsetImageName();
00054     unsetSelImagePath();
00055     unsetSelImageName();
00056     unsetImagePath_p();
00057     unsetImageName_p();
00058     unsetSelImagePath_p();
00059     unsetSelImageName_p();
00060     unsetImagePath_i();
00061     unsetImageName_i();
00062     unsetSelImagePath_i();
00063     unsetSelImageName_i();
00064     unsetPosition();
00065     unsetBarImagePath();
00066     unsetBarImageName();
00067     unsetSelBarImagePath();
00068     unsetSelBarImageName();
00069 }
00070 
00071 void MMSSliderWidgetClass::setAttributesFromTAFF(MMSTaffFile *tafff, string *prefix, string *path, bool reset_paths) {
00072 
00073     if ((reset_paths)&&(path)&&(*path!="")) {
00074         // unset my paths
00075         unsetImagePath();
00076         unsetSelImagePath();
00077         unsetImagePath_p();
00078         unsetSelImagePath_p();
00079         unsetImagePath_i();
00080         unsetSelImagePath_i();
00081         unsetBarImagePath();
00082         unsetSelBarImagePath();
00083     }
00084 
00085     if (!prefix) {
00086         startTAFFScan
00087         {
00088             switch (attrid) {
00089             case MMSGUI_BASE_ATTR::MMSGUI_BASE_ATTR_IDS_class:
00090                 setClassName(attrval_str);
00091                 break;
00092             case MMSGUI_SLIDERWIDGET_ATTR::MMSGUI_SLIDERWIDGET_ATTR_IDS_image:
00093                 if (*attrval_str)
00094                     setImagePath("");
00095                 else
00096                     setImagePath((path)?*path:"");
00097                 setImageName(attrval_str);
00098                 break;
00099             case MMSGUI_SLIDERWIDGET_ATTR::MMSGUI_SLIDERWIDGET_ATTR_IDS_image_path:
00100                 if (*attrval_str)
00101                     setImagePath(attrval_str);
00102                 else
00103                     setImagePath((path)?*path:"");
00104                 break;
00105             case MMSGUI_SLIDERWIDGET_ATTR::MMSGUI_SLIDERWIDGET_ATTR_IDS_image_name:
00106                 setImageName(attrval_str);
00107                 break;
00108             case MMSGUI_SLIDERWIDGET_ATTR::MMSGUI_SLIDERWIDGET_ATTR_IDS_selimage:
00109                 if (*attrval_str)
00110                     setSelImagePath("");
00111                 else
00112                     setSelImagePath((path)?*path:"");
00113                 setSelImageName(attrval_str);
00114                 break;
00115             case MMSGUI_SLIDERWIDGET_ATTR::MMSGUI_SLIDERWIDGET_ATTR_IDS_selimage_path:
00116                 if (*attrval_str)
00117                     setSelImagePath(attrval_str);
00118                 else
00119                     setSelImagePath((path)?*path:"");
00120                 break;
00121             case MMSGUI_SLIDERWIDGET_ATTR::MMSGUI_SLIDERWIDGET_ATTR_IDS_selimage_name:
00122                 setSelImageName(attrval_str);
00123                 break;
00124             case MMSGUI_SLIDERWIDGET_ATTR::MMSGUI_SLIDERWIDGET_ATTR_IDS_image_p:
00125                 if (*attrval_str)
00126                     setImagePath_p("");
00127                 else
00128                     setImagePath_p((path)?*path:"");
00129                 setImageName_p(attrval_str);
00130                 break;
00131             case MMSGUI_SLIDERWIDGET_ATTR::MMSGUI_SLIDERWIDGET_ATTR_IDS_image_p_path:
00132                 if (*attrval_str)
00133                     setImagePath_p(attrval_str);
00134                 else
00135                     setImagePath_p((path)?*path:"");
00136                 break;
00137             case MMSGUI_SLIDERWIDGET_ATTR::MMSGUI_SLIDERWIDGET_ATTR_IDS_image_p_name:
00138                 setImageName_p(attrval_str);
00139                 break;
00140             case MMSGUI_SLIDERWIDGET_ATTR::MMSGUI_SLIDERWIDGET_ATTR_IDS_selimage_p:
00141                 if (*attrval_str)
00142                     setSelImagePath_p("");
00143                 else
00144                     setSelImagePath_p((path)?*path:"");
00145                 setSelImageName_p(attrval_str);
00146                 break;
00147             case MMSGUI_SLIDERWIDGET_ATTR::MMSGUI_SLIDERWIDGET_ATTR_IDS_selimage_p_path:
00148                 if (*attrval_str)
00149                     setSelImagePath_p(attrval_str);
00150                 else
00151                     setSelImagePath_p((path)?*path:"");
00152                 break;
00153             case MMSGUI_SLIDERWIDGET_ATTR::MMSGUI_SLIDERWIDGET_ATTR_IDS_selimage_p_name:
00154                 setSelImageName_p(attrval_str);
00155                 break;
00156             case MMSGUI_SLIDERWIDGET_ATTR::MMSGUI_SLIDERWIDGET_ATTR_IDS_image_i:
00157                 if (*attrval_str)
00158                     setImagePath_i("");
00159                 else
00160                     setImagePath_i((path)?*path:"");
00161                 setImageName_i(attrval_str);
00162                 break;
00163             case MMSGUI_SLIDERWIDGET_ATTR::MMSGUI_SLIDERWIDGET_ATTR_IDS_image_i_path:
00164                 if (*attrval_str)
00165                     setImagePath_i(attrval_str);
00166                 else
00167                     setImagePath_i((path)?*path:"");
00168                 break;
00169             case MMSGUI_SLIDERWIDGET_ATTR::MMSGUI_SLIDERWIDGET_ATTR_IDS_image_i_name:
00170                 setImageName_i(attrval_str);
00171                 break;
00172             case MMSGUI_SLIDERWIDGET_ATTR::MMSGUI_SLIDERWIDGET_ATTR_IDS_selimage_i:
00173                 if (*attrval_str)
00174                     setSelImagePath_i("");
00175                 else
00176                     setSelImagePath_i((path)?*path:"");
00177                 setSelImageName_i(attrval_str);
00178                 break;
00179             case MMSGUI_SLIDERWIDGET_ATTR::MMSGUI_SLIDERWIDGET_ATTR_IDS_selimage_i_path:
00180                 if (*attrval_str)
00181                     setSelImagePath_i(attrval_str);
00182                 else
00183                     setSelImagePath_i((path)?*path:"");
00184                 break;
00185             case MMSGUI_SLIDERWIDGET_ATTR::MMSGUI_SLIDERWIDGET_ATTR_IDS_selimage_i_name:
00186                 setSelImageName_i(attrval_str);
00187                 break;
00188             case MMSGUI_SLIDERWIDGET_ATTR::MMSGUI_SLIDERWIDGET_ATTR_IDS_position:
00189                 setPosition(attrval_int);
00190                 break;
00191 
00192 
00193             case MMSGUI_SLIDERWIDGET_ATTR::MMSGUI_SLIDERWIDGET_ATTR_IDS_barimage:
00194                 if (*attrval_str)
00195                     setBarImagePath("");
00196                 else
00197                     setBarImagePath((path)?*path:"");
00198                 setBarImageName(attrval_str);
00199                 break;
00200             case MMSGUI_SLIDERWIDGET_ATTR::MMSGUI_SLIDERWIDGET_ATTR_IDS_barimage_path:
00201                 if (*attrval_str)
00202                     setBarImagePath(attrval_str);
00203                 else
00204                     setBarImagePath((path)?*path:"");
00205                 break;
00206             case MMSGUI_SLIDERWIDGET_ATTR::MMSGUI_SLIDERWIDGET_ATTR_IDS_barimage_name:
00207                 setBarImageName(attrval_str);
00208                 break;
00209             case MMSGUI_SLIDERWIDGET_ATTR::MMSGUI_SLIDERWIDGET_ATTR_IDS_selbarimage:
00210                 if (*attrval_str)
00211                     setSelBarImagePath("");
00212                 else
00213                     setSelBarImagePath((path)?*path:"");
00214                 setSelBarImageName(attrval_str);
00215                 break;
00216             case MMSGUI_SLIDERWIDGET_ATTR::MMSGUI_SLIDERWIDGET_ATTR_IDS_selbarimage_path:
00217                 if (*attrval_str)
00218                     setSelBarImagePath(attrval_str);
00219                 else
00220                     setSelBarImagePath((path)?*path:"");
00221                 break;
00222             case MMSGUI_SLIDERWIDGET_ATTR::MMSGUI_SLIDERWIDGET_ATTR_IDS_selbarimage_name:
00223                 setSelBarImageName(attrval_str);
00224                 break;
00225 
00226             }
00227         }
00228         endTAFFScan
00229     }
00230     else {
00231         unsigned int pl = strlen(prefix->c_str());
00232 
00233         startTAFFScan_WITHOUT_ID
00234         {
00235             // check if attrname has correct prefix
00236             if (pl >= strlen(attrname))
00237                 continue;
00238             if (memcmp(attrname, prefix->c_str(), pl)!=0)
00239                 continue;
00240             attrname = &attrname[pl];
00241 
00242             // special storage for macros
00243             bool attrval_str_valid;
00244             bool int_val_set;
00245             bool byte_val_set;
00246             int  *p_int_val = &attrval_int;
00247 
00248             // okay, correct prefix, check attributes now
00249             if (ISATTRNAME(image)) {
00250                 if (*attrval_str)
00251                     setImagePath("");
00252                 else
00253                     setImagePath((path)?*path:"");
00254                 setImageName(attrval_str);
00255             }
00256             else
00257             if (ISATTRNAME(image_path)) {
00258                 if (*attrval_str)
00259                     setImagePath(attrval_str);
00260                 else
00261                     setImagePath((path)?*path:"");
00262             }
00263             else
00264             if (ISATTRNAME(image_name)) {
00265                 setImageName(attrval_str);
00266             }
00267             else
00268             if (ISATTRNAME(selimage)) {
00269                 if (*attrval_str)
00270                     setSelImagePath("");
00271                 else
00272                     setSelImagePath((path)?*path:"");
00273                 setSelImageName(attrval_str);
00274             }
00275             else
00276             if (ISATTRNAME(selimage_path)) {
00277                 if (*attrval_str)
00278                     setSelImagePath(attrval_str);
00279                 else
00280                     setSelImagePath((path)?*path:"");
00281             }
00282             else
00283             if (ISATTRNAME(selimage_name)) {
00284                 setSelImageName(attrval_str);
00285             }
00286             else
00287             if (ISATTRNAME(image_p)) {
00288                 if (*attrval_str)
00289                     setImagePath_p("");
00290                 else
00291                     setImagePath_p((path)?*path:"");
00292                 setImageName_p(attrval_str);
00293             }
00294             else
00295             if (ISATTRNAME(image_p_path)) {
00296                 if (*attrval_str)
00297                     setImagePath_p(attrval_str);
00298                 else
00299                     setImagePath_p((path)?*path:"");
00300             }
00301             else
00302             if (ISATTRNAME(image_p_name)) {
00303                 setImageName_p(attrval_str);
00304             }
00305             else
00306             if (ISATTRNAME(selimage_p)) {
00307                 if (*attrval_str)
00308                     setSelImagePath_p("");
00309                 else
00310                     setSelImagePath_p((path)?*path:"");
00311                 setSelImageName_p(attrval_str);
00312             }
00313             else
00314             if (ISATTRNAME(selimage_p_path)) {
00315                 if (*attrval_str)
00316                     setSelImagePath_p(attrval_str);
00317                 else
00318                     setSelImagePath_p((path)?*path:"");
00319             }
00320             else
00321             if (ISATTRNAME(selimage_p_name)) {
00322                 setSelImageName_p(attrval_str);
00323             }
00324             else
00325             if (ISATTRNAME(image_i)) {
00326                 if (*attrval_str)
00327                     setImagePath_i("");
00328                 else
00329                     setImagePath_i((path)?*path:"");
00330                 setImageName_i(attrval_str);
00331             }
00332             else
00333             if (ISATTRNAME(image_i_path)) {
00334                 if (*attrval_str)
00335                     setImagePath_i(attrval_str);
00336                 else
00337                     setImagePath_i((path)?*path:"");
00338             }
00339             else
00340             if (ISATTRNAME(image_i_name)) {
00341                 setImageName_i(attrval_str);
00342             }
00343             else
00344             if (ISATTRNAME(selimage_i)) {
00345                 if (*attrval_str)
00346                     setSelImagePath_i("");
00347                 else
00348                     setSelImagePath_i((path)?*path:"");
00349                 setSelImageName_i(attrval_str);
00350             }
00351             else
00352             if (ISATTRNAME(selimage_i_path)) {
00353                 if (*attrval_str)
00354                     setSelImagePath_i(attrval_str);
00355                 else
00356                     setSelImagePath_i((path)?*path:"");
00357             }
00358             else
00359             if (ISATTRNAME(selimage_i_name)) {
00360                 setSelImageName_i(attrval_str);
00361             }
00362             else
00363             if (ISATTRNAME(position)) {
00364                 setPosition(attrval_int);
00365             }
00366             else
00367             if (ISATTRNAME(barimage)) {
00368                 if (*attrval_str)
00369                     setBarImagePath("");
00370                 else
00371                     setBarImagePath((path)?*path:"");
00372                 setBarImageName(attrval_str);
00373             }
00374             else
00375             if (ISATTRNAME(barimage_path)) {
00376                 if (*attrval_str)
00377                     setBarImagePath(attrval_str);
00378                 else
00379                     setBarImagePath((path)?*path:"");
00380             }
00381             else
00382             if (ISATTRNAME(barimage_name)) {
00383                 setBarImageName(attrval_str);
00384             }
00385             else
00386             if (ISATTRNAME(selbarimage)) {
00387                 if (*attrval_str)
00388                     setSelBarImagePath("");
00389                 else
00390                     setSelBarImagePath((path)?*path:"");
00391                 setSelBarImageName(attrval_str);
00392             }
00393             else
00394             if (ISATTRNAME(selbarimage_path)) {
00395                 if (*attrval_str)
00396                     setSelBarImagePath(attrval_str);
00397                 else
00398                     setSelBarImagePath((path)?*path:"");
00399             }
00400             else
00401             if (ISATTRNAME(selbarimage_name)) {
00402                 setSelBarImageName(attrval_str);
00403             }
00404         }
00405         endTAFFScan_WITHOUT_ID
00406     }
00407 
00408     if ((reset_paths)&&(path)&&(*path!="")) {
00409         // set my paths
00410         if (!isImagePath())
00411             setImagePath(*path);
00412         if (!isSelImagePath())
00413             setSelImagePath(*path);
00414         if (!isImagePath_p())
00415             setImagePath_p(*path);
00416         if (!isSelImagePath_p())
00417             setSelImagePath_p(*path);
00418         if (!isImagePath_i())
00419             setImagePath_i(*path);
00420         if (!isSelImagePath_i())
00421             setSelImagePath_i(*path);
00422         if (!isBarImagePath())
00423             setBarImagePath(*path);
00424         if (!isSelBarImagePath())
00425             setSelBarImagePath(*path);
00426     }
00427 }
00428 
00429 void MMSSliderWidgetClass::setClassName(string className) {
00430     this->className = className;
00431 }
00432 
00433 string MMSSliderWidgetClass::getClassName() {
00434     return this->className;
00435 }
00436 
00437 bool MMSSliderWidgetClass::isImagePath() {
00438     return this->isimagepath;
00439 }
00440 
00441 void MMSSliderWidgetClass::setImagePath(string imagepath) {
00442     this->imagepath = imagepath;
00443     this->isimagepath = true;
00444 }
00445 
00446 void MMSSliderWidgetClass::unsetImagePath() {
00447     this->isimagepath = false;
00448 }
00449 
00450 string MMSSliderWidgetClass::getImagePath() {
00451     return this->imagepath;
00452 }
00453 
00454 bool MMSSliderWidgetClass::isImageName() {
00455     return this->isimagename;
00456 }
00457 
00458 void MMSSliderWidgetClass::setImageName(string imagename) {
00459     this->imagename = imagename;
00460     this->isimagename = true;
00461 }
00462 
00463 void MMSSliderWidgetClass::unsetImageName() {
00464     this->isimagename = false;
00465 }
00466 
00467 string MMSSliderWidgetClass::getImageName() {
00468     return this->imagename;
00469 }
00470 
00471 bool MMSSliderWidgetClass::isSelImagePath() {
00472     return this->isselimagepath;
00473 }
00474 
00475 void MMSSliderWidgetClass::setSelImagePath(string selimagepath) {
00476     this->selimagepath = selimagepath;
00477     this->isselimagepath = true;
00478 }
00479 
00480 void MMSSliderWidgetClass::unsetSelImagePath() {
00481     this->isselimagepath = false;
00482 }
00483 
00484 string MMSSliderWidgetClass::getSelImagePath() {
00485     return this->selimagepath;
00486 }
00487 
00488 bool MMSSliderWidgetClass::isSelImageName() {
00489     return this->isselimagename;
00490 }
00491 
00492 void MMSSliderWidgetClass::setSelImageName(string selimagename) {
00493     this->selimagename = selimagename;
00494     this->isselimagename = true;
00495 }
00496 
00497 void MMSSliderWidgetClass::unsetSelImageName() {
00498     this->isselimagename = false;
00499 }
00500 
00501 string MMSSliderWidgetClass::getSelImageName() {
00502     return this->selimagename;
00503 }
00504 
00505 bool MMSSliderWidgetClass::isImagePath_p() {
00506     return this->isimagepath_p;
00507 }
00508 
00509 void MMSSliderWidgetClass::setImagePath_p(string imagepath_p) {
00510     this->imagepath_p = imagepath_p;
00511     this->isimagepath_p = true;
00512 }
00513 
00514 void MMSSliderWidgetClass::unsetImagePath_p() {
00515     this->isimagepath_p = false;
00516 }
00517 
00518 string MMSSliderWidgetClass::getImagePath_p() {
00519     return this->imagepath_p;
00520 }
00521 
00522 bool MMSSliderWidgetClass::isImageName_p() {
00523     return this->isimagename_p;
00524 }
00525 
00526 void MMSSliderWidgetClass::setImageName_p(string imagename_p) {
00527     this->imagename_p = imagename_p;
00528     this->isimagename_p = true;
00529 }
00530 
00531 void MMSSliderWidgetClass::unsetImageName_p() {
00532     this->isimagename_p = false;
00533 }
00534 
00535 string MMSSliderWidgetClass::getImageName_p() {
00536     return this->imagename_p;
00537 }
00538 
00539 bool MMSSliderWidgetClass::isSelImagePath_p() {
00540     return this->isselimagepath_p;
00541 }
00542 
00543 void MMSSliderWidgetClass::setSelImagePath_p(string selimagepath_p) {
00544     this->selimagepath_p = selimagepath_p;
00545     this->isselimagepath_p = true;
00546 }
00547 
00548 void MMSSliderWidgetClass::unsetSelImagePath_p() {
00549     this->isselimagepath_p = false;
00550 }
00551 
00552 string MMSSliderWidgetClass::getSelImagePath_p() {
00553     return this->selimagepath_p;
00554 }
00555 
00556 bool MMSSliderWidgetClass::isSelImageName_p() {
00557     return this->isselimagename_p;
00558 }
00559 
00560 void MMSSliderWidgetClass::setSelImageName_p(string selimagename_p) {
00561     this->selimagename_p = selimagename_p;
00562     this->isselimagename_p = true;
00563 }
00564 
00565 void MMSSliderWidgetClass::unsetSelImageName_p() {
00566     this->isselimagename_p = false;
00567 }
00568 
00569 string MMSSliderWidgetClass::getSelImageName_p() {
00570     return this->selimagename_p;
00571 }
00572 
00573 bool MMSSliderWidgetClass::isImagePath_i() {
00574     return this->isimagepath_i;
00575 }
00576 
00577 void MMSSliderWidgetClass::setImagePath_i(string imagepath_i) {
00578     this->imagepath_i = imagepath_i;
00579     this->isimagepath_i = true;
00580 }
00581 
00582 void MMSSliderWidgetClass::unsetImagePath_i() {
00583     this->isimagepath_i = false;
00584 }
00585 
00586 string MMSSliderWidgetClass::getImagePath_i() {
00587     return this->imagepath_i;
00588 }
00589 
00590 bool MMSSliderWidgetClass::isImageName_i() {
00591     return this->isimagename_i;
00592 }
00593 
00594 void MMSSliderWidgetClass::setImageName_i(string imagename_i) {
00595     this->imagename_i = imagename_i;
00596     this->isimagename_i = true;
00597 }
00598 
00599 void MMSSliderWidgetClass::unsetImageName_i() {
00600     this->isimagename_i = false;
00601 }
00602 
00603 string MMSSliderWidgetClass::getImageName_i() {
00604     return this->imagename_i;
00605 }
00606 
00607 bool MMSSliderWidgetClass::isSelImagePath_i() {
00608     return this->isselimagepath_i;
00609 }
00610 
00611 void MMSSliderWidgetClass::setSelImagePath_i(string selimagepath_i) {
00612     this->selimagepath_i = selimagepath_i;
00613     this->isselimagepath_i = true;
00614 }
00615 
00616 void MMSSliderWidgetClass::unsetSelImagePath_i() {
00617     this->isselimagepath_i = false;
00618 }
00619 
00620 string MMSSliderWidgetClass::getSelImagePath_i() {
00621     return this->selimagepath_i;
00622 }
00623 
00624 bool MMSSliderWidgetClass::isSelImageName_i() {
00625     return this->isselimagename_i;
00626 }
00627 
00628 void MMSSliderWidgetClass::setSelImageName_i(string selimagename_i) {
00629     this->selimagename_i = selimagename_i;
00630     this->isselimagename_i = true;
00631 }
00632 
00633 void MMSSliderWidgetClass::unsetSelImageName_i() {
00634     this->isselimagename_i = false;
00635 }
00636 
00637 string MMSSliderWidgetClass::getSelImageName_i() {
00638     return this->selimagename_i;
00639 }
00640 
00641 bool MMSSliderWidgetClass::isPosition() {
00642     return this->isposition;
00643 }
00644 
00645 void MMSSliderWidgetClass::setPosition(unsigned int position) {
00646     this->position = position;
00647     this->isposition = true;
00648 }
00649 
00650 void MMSSliderWidgetClass::unsetPosition() {
00651     this->isposition = false;
00652 }
00653 
00654 unsigned int MMSSliderWidgetClass::getPosition() {
00655     return this->position;
00656 }
00657 
00658 
00659 
00660 
00661 
00662 bool MMSSliderWidgetClass::isBarImagePath() {
00663     return this->isbarimagepath;
00664 }
00665 
00666 void MMSSliderWidgetClass::setBarImagePath(string barimagepath) {
00667     this->barimagepath = barimagepath;
00668     this->isbarimagepath = true;
00669 }
00670 
00671 void MMSSliderWidgetClass::unsetBarImagePath() {
00672     this->isbarimagepath = false;
00673 }
00674 
00675 string MMSSliderWidgetClass::getBarImagePath() {
00676     return this->barimagepath;
00677 }
00678 
00679 bool MMSSliderWidgetClass::isBarImageName() {
00680     return this->isbarimagename;
00681 }
00682 
00683 void MMSSliderWidgetClass::setBarImageName(string barimagename) {
00684     this->barimagename = barimagename;
00685     this->isbarimagename = true;
00686 }
00687 
00688 void MMSSliderWidgetClass::unsetBarImageName() {
00689     this->isbarimagename = false;
00690 }
00691 
00692 string MMSSliderWidgetClass::getBarImageName() {
00693     return this->barimagename;
00694 }
00695 
00696 bool MMSSliderWidgetClass::isSelBarImagePath() {
00697     return this->isselbarimagepath;
00698 }
00699 
00700 void MMSSliderWidgetClass::setSelBarImagePath(string selbarimagepath) {
00701     this->selbarimagepath = selbarimagepath;
00702     this->isselbarimagepath = true;
00703 }
00704 
00705 void MMSSliderWidgetClass::unsetSelBarImagePath() {
00706     this->isselbarimagepath = false;
00707 }
00708 
00709 string MMSSliderWidgetClass::getSelBarImagePath() {
00710     return this->selbarimagepath;
00711 }
00712 
00713 bool MMSSliderWidgetClass::isSelBarImageName() {
00714     return this->isselbarimagename;
00715 }
00716 
00717 void MMSSliderWidgetClass::setSelBarImageName(string selbarimagename) {
00718     this->selbarimagename = selbarimagename;
00719     this->isselbarimagename = true;
00720 }
00721 
00722 void MMSSliderWidgetClass::unsetSelBarImageName() {
00723     this->isselbarimagename = false;
00724 }
00725 
00726 string MMSSliderWidgetClass::getSelBarImageName() {
00727     return this->selbarimagename;
00728 }
00729 
00730 

Generated by doxygen