[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdeedu/klettres/klettres
From:       Danny Allen <dannya40uk () yahoo ! co ! uk>
Date:       2005-02-16 18:08:56
Message-ID: 20050216180856.324531D1F9 () office ! kde ! org
[Download RAW message or body]

CVS commit by dannya: 

Make klettres use newer icons...


  M +5 -5      klettres.cpp   1.94
  M +1 -1      main.cpp   1.37


--- kdeedu/klettres/klettres/klettres.cpp  #1.93:1.94
@@ -92,5 +92,5 @@ KLettres::KLettres()
         secondToolbar = toolBar("secondToolbar");
         
-        changeLookAction = new KAction(i18n("Switch to Kid Look"), "kids.png", this, \
SLOT(switchLook()), actionCollection()); +        changeLookAction = new \
KAction(i18n("Switch to Kid Look"), "klettres_kids.png", this, SLOT(switchLook()), \
actionCollection());  changeLookAction->plug(tb);
         
@@ -252,5 +252,5 @@ void KLettres::slotGrownup()
         slotMenubar();
         changeLookAction->setText(i18n("Switch to Kid Look"));
-        changeLookAction->setIcon("kids.png");
+        changeLookAction->setIcon("klettres_kids.png");
         kidBool=true;
         grownBool=false;
@@ -275,5 +275,5 @@ void KLettres::slotKid()
         slotMenubar();
         changeLookAction->setText(i18n("Switch to Grown-Up Look"));
-        changeLookAction->setIcon("grownup.png");
+        changeLookAction->setIcon("klettres_grownup.png");
         grownBool=true;
         kidBool=false;
@@ -432,6 +432,6 @@ void KLettres::slotTimer()
         timerdlg *m_timer = new timerdlg();
         dialog->addPage(m_timer, i18n("Timer"), "clock");
-        m_timer->kidPixLabel -> setPixmap(KGlobal::iconLoader()->loadIcon("kids", \
                KIcon::NoGroup));
-        m_timer->grownPixLabel -> \
setPixmap(KGlobal::iconLoader()->loadIcon("grownup", KIcon::NoGroup)); +        \
m_timer->kidPixLabel -> setPixmap(KGlobal::iconLoader()->loadIcon("klettres_kids", \
KIcon::NoGroup)); +        m_timer->grownPixLabel -> \
setPixmap(KGlobal::iconLoader()->loadIcon("klettres_grownup", KIcon::NoGroup));  \
m_timer->kcfg_KidTimer->setRange(0, 20, 2, true);  \
m_timer->kcfg_GrownTimer->setRange(0, 20, 2, true);

--- kdeedu/klettres/klettres/main.cpp  #1.36:1.37
@@ -56,5 +56,5 @@ int main(int argc, char **argv)
            I18N_NOOP("Port to KConfig XT, coding help"), "bastian@kde.org");
    about.addCredit("Danny Allen",
-                   I18N_NOOP("Kids and grownup svg icons"), \
"dannya40uk@yahoo.co.uk"); +                   I18N_NOOP("Kids and grownup svg \
icons"), "danny@dannyallen.co.uk");  KCmdLineArgs::init(argc, argv, &about);
     KCmdLineArgs::addCmdLineOptions(options);


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic