[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice-devel
Subject: kspread compile error
From: Thorsten Zachmann <t.zachmann () zagge ! de>
Date: 2004-04-15 7:42:05
Message-ID: 200404150942.05323.t.zachmann () zagge ! de
[Download RAW message or body]
Hello all,
after the latest cvs update I have problems compiling kspread. The error
message I get is as follows:
kspread_dlg_reference.cc: In constructor `
KSpreadreference::KSpreadreference(KSpreadView*, const char*)':
kspread_dlg_reference.cc:67: error: no matching function for call to `
KButtonBox::addButton(KGuiItem)'
/opt/kde3/include/kbuttonbox.h:80: error: candidates are: QPushButton*
KButtonBox::addButton(const QString&, bool)
/opt/kde3/include/kbuttonbox.h:95: error: QPushButton*
KButtonBox::addButton(const QString&, QObject*, const char*, bool)
kspread_dlg_reference.cc:69: error: no matching function for call to `
KButtonBox::addButton(KGuiItem)'
/opt/kde3/include/kbuttonbox.h:80: error: candidates are: QPushButton*
KButtonBox::addButton(const QString&, bool)
/opt/kde3/include/kbuttonbox.h:95: error: QPushButton*
KButtonBox::addButton(const QString&, QObject*, const char*, bool)
It looks like this is due to this change.
m_pEdit = bb->addButton( i18n("&Edit") );
- m_pOk = bb->addButton( i18n("&OK") );
+ m_pOk = bb->addButton( KStdGuiItem::ok() );
m_pOk->setDefault( TRUE );
- m_pCancel = bb->addButton( i18n( "&Cancel" ) );
+ m_pCancel = bb->addButton( KStdGuiItem::cancel() );
bb->layout();
Anybody any idea how to fix this.
Thorsten
_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic