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

List:       kde-commits
Subject:    KDE/kdeaccessibility/kmouth
From:       Urs Wolfer <uwolfer () kde ! org>
Date:       2007-04-02 16:38:48
Message-ID: 1175531928.157334.20250.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 649429 by uwolfer:

fix compilation

 M  +1 -1      optionsdialog.cpp  
 M  +2 -2      phrasebook/phrasebookdialog.cpp  
 M  +2 -2      phrasebook/phrasebookdialog.h  


--- trunk/KDE/kdeaccessibility/kmouth/optionsdialog.cpp #649428:649429
@@ -232,7 +232,7 @@
       QString initSym("init_");
       initSym += libname;
 
-      if (lib->hasSymbol(QFile::encodeName(initSym))) {
+      if (lib->resolveFunction(QFile::encodeName(initSym))) {
          // Reuse "lib" instead of letting createInstanceFromLibrary recreate it
          KLibFactory *factory = lib->factory();
          if (factory != 0) {
--- trunk/KDE/kdeaccessibility/kmouth/phrasebook/phrasebookdialog.cpp #649428:649429
@@ -255,7 +255,7 @@
    keyButtonPlaceLayout->setMargin(0);
    keyButtonPlaceLayout->setSpacing(0);
 
-   keyButton = new KKeyButton (keyButtonPlace);
+   keyButton = new KKeySequenceWidget (keyButtonPlace);
    keyButtonPlaceLayout->addWidget (keyButton, 1,1);
    keyButton->setWhatsThis( i18n("By clicking on this button you can select the \
keyboard shortcut associated with the selected phrase."));  
@@ -626,7 +626,7 @@
 }
 
 void PhraseBookDialog::slotCustomKey() {
-   buttonBox->keyButton->captureShortcut();
+   buttonBox->keyButton->keySequence();
 }
 
 void PhraseBookDialog::capturedShortcut (const KShortcut& cut) {
--- trunk/KDE/kdeaccessibility/kmouth/phrasebook/phrasebookdialog.h #649428:649429
@@ -29,7 +29,7 @@
 #include <QDropEvent>
 #include <kmainwindow.h>
 #include <klineedit.h>
-#include <kkeybutton.h>
+#include <kkeysequencewidget.h>
 #include <kurl.h>
 #include "phrasebook.h"
 #include "ui_buttonboxui.h"
@@ -133,7 +133,7 @@
    ButtonBoxWidget (QWidget *parent = 0, const char *name = 0);
    ~ButtonBoxWidget ();
 
-   KKeyButton *keyButton;
+   KKeySequenceWidget *keyButton;
    Q3ButtonGroup *group;
 
 protected:


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

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