-rw-r--r-- | kaddressbook/kabcore.cpp | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/kaddressbook/kabcore.cpp b/kaddressbook/kabcore.cpp index 755da11..d99a9cd 100644 --- a/kaddressbook/kabcore.cpp +++ b/kaddressbook/kabcore.cpp | |||
@@ -1961,144 +1961,145 @@ void KABCore::initActions() | |||
1961 | mActionWN = new KAction( i18n( "What's New?" ), 0, | 1961 | mActionWN = new KAction( i18n( "What's New?" ), 0, |
1962 | this, SLOT( whatsnew() ), actionCollection(), | 1962 | this, SLOT( whatsnew() ), actionCollection(), |
1963 | "wn" ); | 1963 | "wn" ); |
1964 | mActionSyncHowto = new KAction( i18n( "Sync HowTo" ), 0, | 1964 | mActionSyncHowto = new KAction( i18n( "Sync HowTo" ), 0, |
1965 | this, SLOT( synchowto() ), actionCollection(), | 1965 | this, SLOT( synchowto() ), actionCollection(), |
1966 | "sync" ); | 1966 | "sync" ); |
1967 | mActionKdeSyncHowto = new KAction( i18n( "Kde Sync HowTo" ), 0, | 1967 | mActionKdeSyncHowto = new KAction( i18n( "Kde Sync HowTo" ), 0, |
1968 | this, SLOT( kdesynchowto() ), actionCollection(), | 1968 | this, SLOT( kdesynchowto() ), actionCollection(), |
1969 | "kdesync" ); | 1969 | "kdesync" ); |
1970 | mActionMultiSyncHowto = new KAction( i18n( "Multi Sync HowTo" ), 0, | 1970 | mActionMultiSyncHowto = new KAction( i18n( "Multi Sync HowTo" ), 0, |
1971 | this, SLOT( multisynchowto() ), actionCollection(), | 1971 | this, SLOT( multisynchowto() ), actionCollection(), |
1972 | "multisync" ); | 1972 | "multisync" ); |
1973 | 1973 | ||
1974 | mActionAboutKAddressbook = new KAction( i18n( "&About KAddressBook" ), "kaddressbook2", 0, | 1974 | mActionAboutKAddressbook = new KAction( i18n( "&About KAddressBook" ), "kaddressbook2", 0, |
1975 | this, SLOT( createAboutData() ), actionCollection(), | 1975 | this, SLOT( createAboutData() ), actionCollection(), |
1976 | "kaddressbook_about_data" ); | 1976 | "kaddressbook_about_data" ); |
1977 | #endif //KAB_EMBEDDED | 1977 | #endif //KAB_EMBEDDED |
1978 | 1978 | ||
1979 | clipboardDataChanged(); | 1979 | clipboardDataChanged(); |
1980 | connect( UndoStack::instance(), SIGNAL( changed() ), SLOT( updateActionMenu() ) ); | 1980 | connect( UndoStack::instance(), SIGNAL( changed() ), SLOT( updateActionMenu() ) ); |
1981 | connect( RedoStack::instance(), SIGNAL( changed() ), SLOT( updateActionMenu() ) ); | 1981 | connect( RedoStack::instance(), SIGNAL( changed() ), SLOT( updateActionMenu() ) ); |
1982 | } | 1982 | } |
1983 | 1983 | ||
1984 | //US we need this function, to plug all actions into the correct menues. | 1984 | //US we need this function, to plug all actions into the correct menues. |
1985 | // KDE uses a XML format to plug the actions, but we work her without this overhead. | 1985 | // KDE uses a XML format to plug the actions, but we work her without this overhead. |
1986 | void KABCore::addActionsManually() | 1986 | void KABCore::addActionsManually() |
1987 | { | 1987 | { |
1988 | //US qDebug("KABCore::initActions(): mIsPart %i", mIsPart); | 1988 | //US qDebug("KABCore::initActions(): mIsPart %i", mIsPart); |
1989 | 1989 | ||
1990 | #ifdef KAB_EMBEDDED | 1990 | #ifdef KAB_EMBEDDED |
1991 | QPopupMenu *fileMenu = new QPopupMenu( this ); | 1991 | QPopupMenu *fileMenu = new QPopupMenu( this ); |
1992 | QPopupMenu *editMenu = new QPopupMenu( this ); | 1992 | QPopupMenu *editMenu = new QPopupMenu( this ); |
1993 | QPopupMenu *helpMenu = new QPopupMenu( this ); | 1993 | QPopupMenu *helpMenu = new QPopupMenu( this ); |
1994 | 1994 | ||
1995 | KToolBar* tb = mMainWindow->toolBar(); | 1995 | KToolBar* tb = mMainWindow->toolBar(); |
1996 | 1996 | ||
1997 | #ifndef DESKTOP_VERSION | 1997 | #ifndef DESKTOP_VERSION |
1998 | if ( KABPrefs::instance()->mFullMenuBarVisible ) { | 1998 | if ( KABPrefs::instance()->mFullMenuBarVisible ) { |
1999 | #endif | 1999 | #endif |
2000 | QMenuBar* mb = mMainWindow->menuBar(); | 2000 | QMenuBar* mb = mMainWindow->menuBar(); |
2001 | 2001 | ||
2002 | //US setup menubar. | 2002 | //US setup menubar. |
2003 | //Disable the following block if you do not want to have a menubar. | 2003 | //Disable the following block if you do not want to have a menubar. |
2004 | mb->insertItem( i18n("&File"), fileMenu ); | 2004 | mb->insertItem( i18n("&File"), fileMenu ); |
2005 | mb->insertItem( i18n("&Edit"), editMenu ); | 2005 | mb->insertItem( i18n("&Edit"), editMenu ); |
2006 | mb->insertItem( i18n("&View"), viewMenu ); | 2006 | mb->insertItem( i18n("&View"), viewMenu ); |
2007 | mb->insertItem( i18n("&Settings"), settingsMenu ); | 2007 | mb->insertItem( i18n("&Settings"), settingsMenu ); |
2008 | mb->insertItem( i18n("Synchronize"), syncMenu ); | 2008 | mb->insertItem( i18n("Synchronize"), syncMenu ); |
2009 | mb->insertItem( i18n("&Change selected"), changeMenu ); | 2009 | //mb->insertItem( i18n("&Change"), changeMenu ); |
2010 | mb->insertItem( i18n("&Help"), helpMenu ); | 2010 | mb->insertItem( i18n("&Help"), helpMenu ); |
2011 | mIncSearchWidget = new IncSearchWidget( tb ); | 2011 | mIncSearchWidget = new IncSearchWidget( tb ); |
2012 | // tb->insertWidget(-1, 0, mIncSearchWidget); | 2012 | // tb->insertWidget(-1, 0, mIncSearchWidget); |
2013 | #ifndef DESKTOP_VERSION | 2013 | #ifndef DESKTOP_VERSION |
2014 | } else { | 2014 | } else { |
2015 | //US setup toolbar | 2015 | //US setup toolbar |
2016 | QPEMenuBar *menuBarTB = new QPEMenuBar( tb ); | 2016 | QPEMenuBar *menuBarTB = new QPEMenuBar( tb ); |
2017 | QPopupMenu *popupBarTB = new QPopupMenu( this ); | 2017 | QPopupMenu *popupBarTB = new QPopupMenu( this ); |
2018 | menuBarTB->insertItem( "ME", popupBarTB); | 2018 | menuBarTB->insertItem( "ME", popupBarTB); |
2019 | tb->insertWidget(-1, 0, menuBarTB); | 2019 | tb->insertWidget(-1, 0, menuBarTB); |
2020 | mIncSearchWidget = new IncSearchWidget( tb ); | 2020 | mIncSearchWidget = new IncSearchWidget( tb ); |
2021 | 2021 | ||
2022 | tb->enableMoving(false); | 2022 | tb->enableMoving(false); |
2023 | popupBarTB->insertItem( i18n("&File"), fileMenu ); | 2023 | popupBarTB->insertItem( i18n("&File"), fileMenu ); |
2024 | popupBarTB->insertItem( i18n("&Edit"), editMenu ); | 2024 | popupBarTB->insertItem( i18n("&Edit"), editMenu ); |
2025 | popupBarTB->insertItem( i18n("&View"), viewMenu ); | 2025 | popupBarTB->insertItem( i18n("&View"), viewMenu ); |
2026 | popupBarTB->insertItem( i18n("&Settings"), settingsMenu ); | 2026 | popupBarTB->insertItem( i18n("&Settings"), settingsMenu ); |
2027 | popupBarTB->insertItem( i18n("Synchronize"), syncMenu ); | 2027 | popupBarTB->insertItem( i18n("Synchronize"), syncMenu ); |
2028 | mViewManager->getFilterAction()->plug ( popupBarTB); | 2028 | mViewManager->getFilterAction()->plug ( popupBarTB); |
2029 | popupBarTB->insertItem( i18n("&Change selected"), changeMenu ); | 2029 | //popupBarTB->insertItem( i18n("&Change selected"), changeMenu ); |
2030 | popupBarTB->insertItem( i18n("&Help"), helpMenu ); | 2030 | popupBarTB->insertItem( i18n("&Help"), helpMenu ); |
2031 | if (QApplication::desktop()->width() > 320 ) { | 2031 | if (QApplication::desktop()->width() > 320 ) { |
2032 | // mViewManager->getFilterAction()->plug ( tb); | 2032 | // mViewManager->getFilterAction()->plug ( tb); |
2033 | } | 2033 | } |
2034 | } | 2034 | } |
2035 | #endif | 2035 | #endif |
2036 | // mActionQuit->plug ( mMainWindow->toolBar()); | 2036 | // mActionQuit->plug ( mMainWindow->toolBar()); |
2037 | 2037 | ||
2038 | 2038 | ||
2039 | 2039 | ||
2040 | //US Now connect the actions with the menue entries. | 2040 | //US Now connect the actions with the menue entries. |
2041 | mActionPrint->plug( fileMenu ); | 2041 | mActionPrint->plug( fileMenu ); |
2042 | mActionMail->plug( fileMenu ); | 2042 | mActionMail->plug( fileMenu ); |
2043 | fileMenu->insertSeparator(); | 2043 | fileMenu->insertSeparator(); |
2044 | 2044 | ||
2045 | mActionNewContact->plug( fileMenu ); | 2045 | mActionNewContact->plug( fileMenu ); |
2046 | mActionNewContact->plug( tb ); | 2046 | mActionNewContact->plug( tb ); |
2047 | 2047 | ||
2048 | mActionEditAddressee->plug( fileMenu ); | 2048 | mActionEditAddressee->plug( fileMenu ); |
2049 | // if ((KGlobal::getDesktopSize() > KGlobal::Small ) || | 2049 | // if ((KGlobal::getDesktopSize() > KGlobal::Small ) || |
2050 | // (!KABPrefs::instance()->mMultipleViewsAtOnce )) | 2050 | // (!KABPrefs::instance()->mMultipleViewsAtOnce )) |
2051 | mActionEditAddressee->plug( tb ); | 2051 | mActionEditAddressee->plug( tb ); |
2052 | 2052 | ||
2053 | fileMenu->insertSeparator(); | 2053 | fileMenu->insertSeparator(); |
2054 | mActionSave->plug( fileMenu ); | 2054 | mActionSave->plug( fileMenu ); |
2055 | fileMenu->insertItem( "&Import", ImportMenu ); | 2055 | fileMenu->insertItem( "&Import", ImportMenu ); |
2056 | fileMenu->insertItem( "&Export", ExportMenu ); | 2056 | fileMenu->insertItem( "&Export", ExportMenu ); |
2057 | fileMenu->insertItem( i18n("&Change"), changeMenu ); | ||
2057 | fileMenu->insertSeparator(); | 2058 | fileMenu->insertSeparator(); |
2058 | mActionMailVCard->plug( fileMenu ); | 2059 | mActionMailVCard->plug( fileMenu ); |
2059 | #ifndef DESKTOP_VERSION | 2060 | #ifndef DESKTOP_VERSION |
2060 | if ( Ir::supported() ) mActionBeamVCard->plug( fileMenu ); | 2061 | if ( Ir::supported() ) mActionBeamVCard->plug( fileMenu ); |
2061 | if ( Ir::supported() ) mActionBeam->plug(fileMenu ); | 2062 | if ( Ir::supported() ) mActionBeam->plug(fileMenu ); |
2062 | #endif | 2063 | #endif |
2063 | fileMenu->insertSeparator(); | 2064 | fileMenu->insertSeparator(); |
2064 | mActionQuit->plug( fileMenu ); | 2065 | mActionQuit->plug( fileMenu ); |
2065 | #ifdef _WIN32_ | 2066 | #ifdef _WIN32_ |
2066 | mActionImportOL->plug( ImportMenu ); | 2067 | mActionImportOL->plug( ImportMenu ); |
2067 | #endif | 2068 | #endif |
2068 | // edit menu | 2069 | // edit menu |
2069 | mActionUndo->plug( editMenu ); | 2070 | mActionUndo->plug( editMenu ); |
2070 | mActionRedo->plug( editMenu ); | 2071 | mActionRedo->plug( editMenu ); |
2071 | editMenu->insertSeparator(); | 2072 | editMenu->insertSeparator(); |
2072 | mActionCut->plug( editMenu ); | 2073 | mActionCut->plug( editMenu ); |
2073 | mActionCopy->plug( editMenu ); | 2074 | mActionCopy->plug( editMenu ); |
2074 | mActionPaste->plug( editMenu ); | 2075 | mActionPaste->plug( editMenu ); |
2075 | mActionDelete->plug( editMenu ); | 2076 | mActionDelete->plug( editMenu ); |
2076 | editMenu->insertSeparator(); | 2077 | editMenu->insertSeparator(); |
2077 | mActionSelectAll->plug( editMenu ); | 2078 | mActionSelectAll->plug( editMenu ); |
2078 | 2079 | ||
2079 | mActionRemoveVoice->plug( changeMenu ); | 2080 | mActionRemoveVoice->plug( changeMenu ); |
2080 | // settings menu | 2081 | // settings menu |
2081 | //US special menuentry to configure the addressbook resources. On KDE | 2082 | //US special menuentry to configure the addressbook resources. On KDE |
2082 | // you do that through the control center !!! | 2083 | // you do that through the control center !!! |
2083 | mActionConfigResources->plug( settingsMenu ); | 2084 | mActionConfigResources->plug( settingsMenu ); |
2084 | settingsMenu->insertSeparator(); | 2085 | settingsMenu->insertSeparator(); |
2085 | 2086 | ||
2086 | mActionConfigKAddressbook->plug( settingsMenu ); | 2087 | mActionConfigKAddressbook->plug( settingsMenu ); |
2087 | 2088 | ||
2088 | if ( mIsPart ) { | 2089 | if ( mIsPart ) { |
2089 | //US not implemented yet | 2090 | //US not implemented yet |
2090 | //mActionConfigShortcuts->plug( settingsMenu ); | 2091 | //mActionConfigShortcuts->plug( settingsMenu ); |
2091 | //mActionConfigureToolbars->plug( settingsMenu ); | 2092 | //mActionConfigureToolbars->plug( settingsMenu ); |
2092 | 2093 | ||
2093 | } else { | 2094 | } else { |
2094 | //US not implemented yet | 2095 | //US not implemented yet |
2095 | //mActionKeyBindings->plug( settingsMenu ); | 2096 | //mActionKeyBindings->plug( settingsMenu ); |
2096 | } | 2097 | } |
2097 | 2098 | ||
2098 | settingsMenu->insertSeparator(); | 2099 | settingsMenu->insertSeparator(); |
2099 | 2100 | ||
2100 | mActionJumpBar->plug( settingsMenu ); | 2101 | mActionJumpBar->plug( settingsMenu ); |
2101 | mActionDetails->plug( settingsMenu ); | 2102 | mActionDetails->plug( settingsMenu ); |
2102 | //if (!KABPrefs::instance()->mMultipleViewsAtOnce || KGlobal::getDesktopSize() == KGlobal::Desktop ) | 2103 | //if (!KABPrefs::instance()->mMultipleViewsAtOnce || KGlobal::getDesktopSize() == KGlobal::Desktop ) |
2103 | mActionDetails->plug( tb ); | 2104 | mActionDetails->plug( tb ); |
2104 | settingsMenu->insertSeparator(); | 2105 | settingsMenu->insertSeparator(); |
@@ -2181,100 +2182,104 @@ void KABCore::manageCategories( ) | |||
2181 | KABC::AddressBook::Iterator it; | 2182 | KABC::AddressBook::Iterator it; |
2182 | QStringList catList = KABPrefs::instance()->mCustomCategories; | 2183 | QStringList catList = KABPrefs::instance()->mCustomCategories; |
2183 | for( it = mAddressBook->begin(); it != mAddressBook->end(); ++it ) { | 2184 | for( it = mAddressBook->begin(); it != mAddressBook->end(); ++it ) { |
2184 | QStringList catIncList = (*it).categories(); | 2185 | QStringList catIncList = (*it).categories(); |
2185 | int i; | 2186 | int i; |
2186 | for( i = 0; i< catIncList.count(); ++i ) { | 2187 | for( i = 0; i< catIncList.count(); ++i ) { |
2187 | if ( !catList.contains (catIncList[i])) { | 2188 | if ( !catList.contains (catIncList[i])) { |
2188 | catList.append( catIncList[i] ); | 2189 | catList.append( catIncList[i] ); |
2189 | //qDebug("add cat %s ", catIncList[i].latin1()); | 2190 | //qDebug("add cat %s ", catIncList[i].latin1()); |
2190 | ++count; | 2191 | ++count; |
2191 | } | 2192 | } |
2192 | } | 2193 | } |
2193 | } | 2194 | } |
2194 | catList.sort(); | 2195 | catList.sort(); |
2195 | KABPrefs::instance()->mCustomCategories = catList; | 2196 | KABPrefs::instance()->mCustomCategories = catList; |
2196 | KABPrefs::instance()->writeConfig(); | 2197 | KABPrefs::instance()->writeConfig(); |
2197 | message(QString::number( count )+ i18n(" categories added to list! ")); | 2198 | message(QString::number( count )+ i18n(" categories added to list! ")); |
2198 | } else { | 2199 | } else { |
2199 | QStringList catList = KABPrefs::instance()->mCustomCategories; | 2200 | QStringList catList = KABPrefs::instance()->mCustomCategories; |
2200 | QStringList catIncList; | 2201 | QStringList catIncList; |
2201 | QStringList newCatList; | 2202 | QStringList newCatList; |
2202 | KABC::AddressBook::Iterator it; | 2203 | KABC::AddressBook::Iterator it; |
2203 | for( it = mAddressBook->begin(); it != mAddressBook->end(); ++it ) { | 2204 | for( it = mAddressBook->begin(); it != mAddressBook->end(); ++it ) { |
2204 | QStringList catIncList = (*it).categories(); | 2205 | QStringList catIncList = (*it).categories(); |
2205 | int i; | 2206 | int i; |
2206 | if ( catIncList.count() ) { | 2207 | if ( catIncList.count() ) { |
2207 | newCatList.clear(); | 2208 | newCatList.clear(); |
2208 | for( i = 0; i< catIncList.count(); ++i ) { | 2209 | for( i = 0; i< catIncList.count(); ++i ) { |
2209 | if ( catList.contains (catIncList[i])) { | 2210 | if ( catList.contains (catIncList[i])) { |
2210 | newCatList.append( catIncList[i] ); | 2211 | newCatList.append( catIncList[i] ); |
2211 | } | 2212 | } |
2212 | } | 2213 | } |
2213 | newCatList.sort(); | 2214 | newCatList.sort(); |
2214 | (*it).setCategories( newCatList ); | 2215 | (*it).setCategories( newCatList ); |
2215 | mAddressBook->insertAddressee( (*it) ); | 2216 | mAddressBook->insertAddressee( (*it) ); |
2216 | } | 2217 | } |
2217 | } | 2218 | } |
2218 | setModified( true ); | 2219 | setModified( true ); |
2219 | mViewManager->refreshView(); | 2220 | mViewManager->refreshView(); |
2220 | mDetails->refreshView(); | 2221 | mDetails->refreshView(); |
2221 | message( i18n("Removing categories done!")); | 2222 | message( i18n("Removing categories done!")); |
2222 | } | 2223 | } |
2223 | delete cp; | 2224 | delete cp; |
2224 | } | 2225 | } |
2225 | void KABCore::removeVoice() | 2226 | void KABCore::removeVoice() |
2226 | { | 2227 | { |
2227 | if ( KMessageBox::questionYesNo( this, i18n("After importing, phone numbers\nmay have two or more types.\n(E.g. work+voice)\nThese numbers are shown as \"other\".\nClick Yes to remove the voice type\nfrom numbers with more than one type.\n\nRemove voice type?") ) == KMessageBox::No ) | 2228 | if ( KMessageBox::questionYesNo( this, i18n("After importing, phone numbers\nmay have two or more types.\n(E.g. work+voice)\nThese numbers are shown as \"other\".\nClick Yes to remove the voice type\nfrom numbers with more than one type.\n\nRemove voice type?") ) == KMessageBox::No ) |
2228 | return; | 2229 | return; |
2229 | KABC::Addressee::List list = mViewManager->selectedAddressees(); | 2230 | KABC::Addressee::List list; |
2231 | XXPortSelectDialog dlg( this, false, this ); | ||
2232 | if ( dlg.exec() ) | ||
2233 | list = dlg.contacts(); | ||
2234 | else | ||
2235 | return; | ||
2230 | KABC::Addressee::List::Iterator it; | 2236 | KABC::Addressee::List::Iterator it; |
2231 | for ( it = list.begin(); it != list.end(); ++it ) { | 2237 | for ( it = list.begin(); it != list.end(); ++it ) { |
2232 | |||
2233 | if ( (*it).removeVoice() ) | 2238 | if ( (*it).removeVoice() ) |
2234 | contactModified((*it) ); | 2239 | contactModified((*it) ); |
2235 | } | 2240 | } |
2236 | } | 2241 | } |
2237 | 2242 | ||
2238 | 2243 | ||
2239 | 2244 | ||
2240 | void KABCore::clipboardDataChanged() | 2245 | void KABCore::clipboardDataChanged() |
2241 | { | 2246 | { |
2242 | 2247 | ||
2243 | if ( mReadWrite ) | 2248 | if ( mReadWrite ) |
2244 | mActionPaste->setEnabled( !QApplication::clipboard()->text().isEmpty() ); | 2249 | mActionPaste->setEnabled( !QApplication::clipboard()->text().isEmpty() ); |
2245 | 2250 | ||
2246 | } | 2251 | } |
2247 | 2252 | ||
2248 | void KABCore::updateActionMenu() | 2253 | void KABCore::updateActionMenu() |
2249 | { | 2254 | { |
2250 | UndoStack *undo = UndoStack::instance(); | 2255 | UndoStack *undo = UndoStack::instance(); |
2251 | RedoStack *redo = RedoStack::instance(); | 2256 | RedoStack *redo = RedoStack::instance(); |
2252 | 2257 | ||
2253 | if ( undo->isEmpty() ) | 2258 | if ( undo->isEmpty() ) |
2254 | mActionUndo->setText( i18n( "Undo" ) ); | 2259 | mActionUndo->setText( i18n( "Undo" ) ); |
2255 | else | 2260 | else |
2256 | mActionUndo->setText( i18n( "Undo %1" ).arg( undo->top()->name() ) ); | 2261 | mActionUndo->setText( i18n( "Undo %1" ).arg( undo->top()->name() ) ); |
2257 | 2262 | ||
2258 | mActionUndo->setEnabled( !undo->isEmpty() ); | 2263 | mActionUndo->setEnabled( !undo->isEmpty() ); |
2259 | 2264 | ||
2260 | if ( !redo->top() ) | 2265 | if ( !redo->top() ) |
2261 | mActionRedo->setText( i18n( "Redo" ) ); | 2266 | mActionRedo->setText( i18n( "Redo" ) ); |
2262 | else | 2267 | else |
2263 | mActionRedo->setText( i18n( "Redo %1" ).arg( redo->top()->name() ) ); | 2268 | mActionRedo->setText( i18n( "Redo %1" ).arg( redo->top()->name() ) ); |
2264 | 2269 | ||
2265 | mActionRedo->setEnabled( !redo->isEmpty() ); | 2270 | mActionRedo->setEnabled( !redo->isEmpty() ); |
2266 | } | 2271 | } |
2267 | 2272 | ||
2268 | void KABCore::configureKeyBindings() | 2273 | void KABCore::configureKeyBindings() |
2269 | { | 2274 | { |
2270 | #ifndef KAB_EMBEDDED | 2275 | #ifndef KAB_EMBEDDED |
2271 | KKeyDialog::configure( actionCollection(), true ); | 2276 | KKeyDialog::configure( actionCollection(), true ); |
2272 | #else //KAB_EMBEDDED | 2277 | #else //KAB_EMBEDDED |
2273 | qDebug("KABCore::configureKeyBindings() not implemented"); | 2278 | qDebug("KABCore::configureKeyBindings() not implemented"); |
2274 | #endif //KAB_EMBEDDED | 2279 | #endif //KAB_EMBEDDED |
2275 | } | 2280 | } |
2276 | 2281 | ||
2277 | #ifdef KAB_EMBEDDED | 2282 | #ifdef KAB_EMBEDDED |
2278 | void KABCore::configureResources() | 2283 | void KABCore::configureResources() |
2279 | { | 2284 | { |
2280 | KRES::KCMKResources dlg( this, "" , 0 ); | 2285 | KRES::KCMKResources dlg( this, "" , 0 ); |