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

List:       kde-commits
Subject:    kdenetwork/kopete/protocols/yahoo
From:       Matt Rogers <mattr () kde ! org>
Date:       2004-12-08 16:15:25
Message-ID: 20041208161525.C1B541BB42 () office ! kde ! org
[Download RAW message or body]

CVS commit by mattr: 

revert account menu autogeneration


  M +54 -1     yahooaccount.cpp   1.112


--- kdenetwork/kopete/protocols/yahoo/yahooaccount.cpp  #1.111:1.112
@@ -410,5 +410,58 @@ KActionMenu *YahooAccount::actionMenu()
         //TODO: Use a QSignalMapper so all the slots can be consolidated into one \
function  
-        KActionMenu *theActionMenu = Kopete::Account::actionMenu();
+        KActionMenu *theActionMenu = new KActionMenu( myself()->displayName(), \
myself()->onlineStatus().iconFor(this), this ); +        \
theActionMenu->popupMenu()->insertTitle( myself()->icon(), "Yahoo (" + \
myself()->displayName() + ")"); +
+        theActionMenu->insert(new KAction(i18n( "Online" ),
+                m_protocol->Online.iconFor(this), 0, this, SLOT(slotGoOnline()),
+                this, "actionYahooGoOnline"));
+
+        theActionMenu->insert(new KAction(i18n( "Be Right Back" ),
+                m_protocol->BeRightBack.iconFor(this), 0, this, \
SLOT(slotGoStatus001()), +                this, "actionYahooGoStatus001"));
+
+        theActionMenu->insert(new KAction(i18n( "Busy" ),
+                m_protocol->Busy.iconFor(this), 0, this, SLOT(slotGoStatus002()),
+                this, "actionYahooGoStatus002"));
+
+        theActionMenu->insert(new KAction(i18n( "Not at Home" ),
+                m_protocol->NotAtHome.iconFor(this), 0, this, \
SLOT(slotGoStatus003()), +                this, "actionYahooGoStatus003"));
+
+        theActionMenu->insert(new KAction( i18n( "Not at My Desk" ),
+                m_protocol->NotAtMyDesk.iconFor(this), 0, this, \
SLOT(slotGoStatus004()), +                this, "actionYahooGoStatus004"));
+
+        theActionMenu->insert(new KAction( i18n( "Not in The Office"),
+                m_protocol->NotInTheOffice.iconFor(this), 0, this, \
SLOT(slotGoStatus005()), +                this, "actionYahooGoStatus005"));
+
+        theActionMenu->insert(new KAction( i18n( "On The Phone" ),
+                m_protocol->OnThePhone.iconFor(this), 0, this, \
SLOT(slotGoStatus006()), +                this, "actionYahooGoStatus006"));
+
+        theActionMenu->insert(new KAction( i18n( "On Vacation" ),
+                m_protocol->OnVacation.iconFor(this), 0, this, \
SLOT(slotGoStatus007()), +                this, "actionYahooGoStatus007"));
+
+        theActionMenu->insert(new KAction( i18n( "Out to Lunch" ),
+                m_protocol->OutToLunch.iconFor(this), 0, this, \
SLOT(slotGoStatus008()), +                this, "actionYahooGoStatus008"));
+
+        theActionMenu->insert(new KAction( i18n( "Stepped Out" ),
+                m_protocol->SteppedOut.iconFor(this), 0, this, \
SLOT(slotGoStatus009()), +                this, "actionYahooGoStatus009"));
+
+        theActionMenu->insert(new KAction( i18n( "Invisible" ),
+                 m_protocol->Invisible.iconFor(this), 0, this, \
SLOT(slotGoStatus012()), +                 this, "actionYahooGoStatus012"));
+
+        theActionMenu->insert(new KAction( i18n( "Custom" ), 
+                m_protocol->Custom.iconFor(this), 0, this, SLOT(slotGoStatus099()),
+                this, "actionYahooGoStatus099"));
+
+        theActionMenu->insert(new KAction(i18n( "Offline" ),
+                m_protocol->Offline.iconFor(this), 0, this, SLOT(slotGoOffline()),
+                this, "actionYahooGoOffline"));
 
         return theActionMenu;


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

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