-rw-r--r-- | kaddressbook/kabcore.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kaddressbook/kabcore.cpp b/kaddressbook/kabcore.cpp index f0a49f8..013e243 100644 --- a/kaddressbook/kabcore.cpp +++ b/kaddressbook/kabcore.cpp | |||
@@ -1770,65 +1770,65 @@ void KABCore::addActionsManually() | |||
1770 | tb->enableMoving(false); | 1770 | tb->enableMoving(false); |
1771 | popupBarTB->insertItem( "&File", fileMenu ); | 1771 | popupBarTB->insertItem( "&File", fileMenu ); |
1772 | popupBarTB->insertItem( "&Edit", editMenu ); | 1772 | popupBarTB->insertItem( "&Edit", editMenu ); |
1773 | popupBarTB->insertItem( "&View", viewMenu ); | 1773 | popupBarTB->insertItem( "&View", viewMenu ); |
1774 | popupBarTB->insertItem( "&Settings", settingsMenu ); | 1774 | popupBarTB->insertItem( "&Settings", settingsMenu ); |
1775 | mViewManager->getFilterAction()->plug ( popupBarTB); | 1775 | mViewManager->getFilterAction()->plug ( popupBarTB); |
1776 | popupBarTB->insertItem( "&Change selected", changeMenu ); | 1776 | popupBarTB->insertItem( "&Change selected", changeMenu ); |
1777 | popupBarTB->insertItem( "&Help", helpMenu ); | 1777 | popupBarTB->insertItem( "&Help", helpMenu ); |
1778 | if (QApplication::desktop()->width() > 320 ) { | 1778 | if (QApplication::desktop()->width() > 320 ) { |
1779 | // mViewManager->getFilterAction()->plug ( tb); | 1779 | // mViewManager->getFilterAction()->plug ( tb); |
1780 | } | 1780 | } |
1781 | #endif | 1781 | #endif |
1782 | // mActionQuit->plug ( mMainWindow->toolBar()); | 1782 | // mActionQuit->plug ( mMainWindow->toolBar()); |
1783 | 1783 | ||
1784 | 1784 | ||
1785 | 1785 | ||
1786 | //US Now connect the actions with the menue entries. | 1786 | //US Now connect the actions with the menue entries. |
1787 | mActionPrint->plug( fileMenu ); | 1787 | mActionPrint->plug( fileMenu ); |
1788 | mActionMail->plug( fileMenu ); | 1788 | mActionMail->plug( fileMenu ); |
1789 | fileMenu->insertSeparator(); | 1789 | fileMenu->insertSeparator(); |
1790 | 1790 | ||
1791 | mActionNewContact->plug( fileMenu ); | 1791 | mActionNewContact->plug( fileMenu ); |
1792 | mActionNewContact->plug( tb ); | 1792 | mActionNewContact->plug( tb ); |
1793 | 1793 | ||
1794 | mActionEditAddressee->plug( fileMenu ); | 1794 | mActionEditAddressee->plug( fileMenu ); |
1795 | if ((KGlobal::getDesktopSize() > KGlobal::Small ) || | 1795 | if ((KGlobal::getDesktopSize() > KGlobal::Small ) || |
1796 | (!KABPrefs::instance()->mMultipleViewsAtOnce )) | 1796 | (!KABPrefs::instance()->mMultipleViewsAtOnce )) |
1797 | mActionEditAddressee->plug( tb ); | 1797 | mActionEditAddressee->plug( tb ); |
1798 | 1798 | ||
1799 | fileMenu->insertSeparator(); | 1799 | fileMenu->insertSeparator(); |
1800 | mActionSave->plug( fileMenu ); | 1800 | mActionSave->plug( fileMenu ); |
1801 | fileMenu->insertItem( "&Import", ImportMenu ); | 1801 | fileMenu->insertItem( "&Import", ImportMenu ); |
1802 | fileMenu->insertItem( "&Emport", ExportMenu ); | 1802 | fileMenu->insertItem( "&Export", ExportMenu ); |
1803 | fileMenu->insertSeparator(); | 1803 | fileMenu->insertSeparator(); |
1804 | mActionMailVCard->plug( fileMenu ); | 1804 | mActionMailVCard->plug( fileMenu ); |
1805 | #ifndef DESKTOP_VERSION | 1805 | #ifndef DESKTOP_VERSION |
1806 | if ( Ir::supported() ) mActionBeamVCard->plug( fileMenu ); | 1806 | if ( Ir::supported() ) mActionBeamVCard->plug( fileMenu ); |
1807 | if ( Ir::supported() ) mActionBeam->plug(fileMenu ); | 1807 | if ( Ir::supported() ) mActionBeam->plug(fileMenu ); |
1808 | #endif | 1808 | #endif |
1809 | fileMenu->insertSeparator(); | 1809 | fileMenu->insertSeparator(); |
1810 | mActionQuit->plug( fileMenu ); | 1810 | mActionQuit->plug( fileMenu ); |
1811 | #ifdef _WIN32_ | 1811 | #ifdef _WIN32_ |
1812 | mActionImportOL->plug( ImportMenu ); | 1812 | mActionImportOL->plug( ImportMenu ); |
1813 | #endif | 1813 | #endif |
1814 | // edit menu | 1814 | // edit menu |
1815 | mActionUndo->plug( editMenu ); | 1815 | mActionUndo->plug( editMenu ); |
1816 | mActionRedo->plug( editMenu ); | 1816 | mActionRedo->plug( editMenu ); |
1817 | editMenu->insertSeparator(); | 1817 | editMenu->insertSeparator(); |
1818 | mActionCut->plug( editMenu ); | 1818 | mActionCut->plug( editMenu ); |
1819 | mActionCopy->plug( editMenu ); | 1819 | mActionCopy->plug( editMenu ); |
1820 | mActionPaste->plug( editMenu ); | 1820 | mActionPaste->plug( editMenu ); |
1821 | mActionDelete->plug( editMenu ); | 1821 | mActionDelete->plug( editMenu ); |
1822 | editMenu->insertSeparator(); | 1822 | editMenu->insertSeparator(); |
1823 | mActionSelectAll->plug( editMenu ); | 1823 | mActionSelectAll->plug( editMenu ); |
1824 | 1824 | ||
1825 | mActionRemoveVoice->plug( changeMenu ); | 1825 | mActionRemoveVoice->plug( changeMenu ); |
1826 | // settings menu | 1826 | // settings menu |
1827 | //US special menuentry to configure the addressbook resources. On KDE | 1827 | //US special menuentry to configure the addressbook resources. On KDE |
1828 | // you do that through the control center !!! | 1828 | // you do that through the control center !!! |
1829 | mActionConfigResources->plug( settingsMenu ); | 1829 | mActionConfigResources->plug( settingsMenu ); |
1830 | settingsMenu->insertSeparator(); | 1830 | settingsMenu->insertSeparator(); |
1831 | 1831 | ||
1832 | mActionConfigKAddressbook->plug( settingsMenu ); | 1832 | mActionConfigKAddressbook->plug( settingsMenu ); |
1833 | 1833 | ||
1834 | if ( mIsPart ) { | 1834 | if ( mIsPart ) { |