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

List:       kde-commits
Subject:    kdeutils/kcharselect
From:       Albert Astals Cid <tsdgeos () terra ! es>
Date:       2003-12-07 18:08:33
[Download RAW message or body]

CVS commit by aacid: 

Change deprecated KAccel::connectItem() to non deprecated KAccel::insert().
They are the same (kaccel.h)
KDE_DEPRECATED bool connectItem( KStdAccel::StdAccel accel, const QObject* pObjSlot, \
const char* psMethodSlot ) { return insert( accel, pObjSlot, psMethodSlot ); }


  M +4 -4      kcharselectdia.cc   1.27


--- kdeutils/kcharselect/kcharselectdia.cc  #1.26:1.27
@@ -91,8 +91,8 @@ KCharSelectDia::KCharSelectDia(QWidget *
   keys->changeMenuAccel(file, id, KStdAccel::Quit);
 
-  keys->connectItem( KStdAccel::Paste, this, SLOT(fromClip()));
-  keys->connectItem( KStdAccel::Copy , this, SLOT(toClip()));
-  keys->connectItem( KStdAccel::Quit , this, SLOT(_exit()));
-  keys->connectItem( KStdAccel::Help , this, SLOT(help()));
+  keys->insert( KStdAccel::Paste, this, SLOT(fromClip()));
+  keys->insert( KStdAccel::Copy , this, SLOT(toClip()));
+  keys->insert( KStdAccel::Quit , this, SLOT(_exit()));
+  keys->insert( KStdAccel::Help , this, SLOT(help()));
 
   QPopupMenu *edit = new QPopupMenu( this );


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

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