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

List:       kde-devel
Subject:    Re: KGlobalAccel II (fwd)
From:       Ellis Whitehead <kde () ellisw ! net>
Date:       2001-10-29 21:17:27
[Download RAW message or body]

The problem is definitively in the keys->connectItem() call.  It should be:

keys->connectItem ("Next track", this, SLOT(next ()));

------------------

ktest::ktest (int argc, char **argv, char *name): KApplication (argc, argv, 
name) {
    keys= new KGlobalAccel (this);

    test= keys->insertItem (i18n("Next Track in Playlist"), "Next track", 
KKey("F21"), KKey("F21"));
    kdDebug () << "next= " << test << endl;
*    keys->connectItem ("next", this, SLOT(skip ()));
    keys->readSettings ();
}

void ktest::next () {
	kdDebug () << "pressed!" << endl;
}


-----------------
P.S.  I like your JLB quote. *grin*
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

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

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