author | drw <drw> | 2005-02-23 16:43:06 (UTC) |
---|---|---|
committer | drw <drw> | 2005-02-23 16:43:06 (UTC) |
commit | 57fa728ffb32c52d9e5b56a5a0c79b6e8416ed2e (patch) (side-by-side diff) | |
tree | d36a6d071f2d3bd5ba1083ae66a6d37585a40a2f /libopie2/opiepim/ui/opimmainwindow.cpp | |
parent | 81d6c0b396ce1f4acae85a8449367800787fe5c3 (diff) | |
download | opie-57fa728ffb32c52d9e5b56a5a0c79b6e8416ed2e.zip opie-57fa728ffb32c52d9e5b56a5a0c79b6e8416ed2e.tar.gz opie-57fa728ffb32c52d9e5b56a5a0c79b6e8416ed2e.tar.bz2 |
Comment out filer/filter settings menu options as they will not be implemented for Opie 1.2
Diffstat (limited to 'libopie2/opiepim/ui/opimmainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/opiepim/ui/opimmainwindow.cpp | 28 |
1 files changed, 11 insertions, 17 deletions
diff --git a/libopie2/opiepim/ui/opimmainwindow.cpp b/libopie2/opiepim/ui/opimmainwindow.cpp index f22a302..a6d574b 100644 --- a/libopie2/opiepim/ui/opimmainwindow.cpp +++ b/libopie2/opiepim/ui/opimmainwindow.cpp @@ -239,8 +239,8 @@ void OPimMainWindow::insertViewMenuItems( QActionGroup *items ) { if ( items ) { // Rebuild Item menu m_viewMenu->clear(); - m_viewMenuGroup->addTo( m_viewMenu ); - m_viewMenu->insertSeparator(); +// m_viewMenuGroup->addTo( m_viewMenu ); +// m_viewMenu->insertSeparator(); m_viewMenuAppGroup = items; m_viewMenuAppGroup->addTo( m_viewMenu ); } @@ -364,12 +364,6 @@ void OPimMainWindow::initBars( const QString &itemName ) { m_itemMenuGroup2 = new QActionGroup( this, QString::null, false ); -// a = new QAction( tr( "Find" ), Resource::loadPixmap( "find" ), -// QString::null, 0, m_itemMenuGroup2, 0 ); -// connect( a, SIGNAL(activated()), this, SLOT(slotItemFind()) ); -// a->setWhatsThis( tr( "Click here to search for an item." ) ); -// a->addTo( toolbar ); - m_configureAction = new QAction( tr( "Configure" ), Resource::loadPixmap( "SettingsIcon" ), QString::null, 0, m_itemMenuGroup2, 0 ); connect( m_configureAction, SIGNAL(activated()), this, SLOT(slotConfigure()) ); @@ -378,15 +372,15 @@ void OPimMainWindow::initBars( const QString &itemName ) { m_itemMenuGroup2->addTo( m_itemMenu ); // View menu - m_viewMenuGroup = new QActionGroup( this, QString::null, false ); - - QAction *a = new QAction( tr( "Filter" ), QString::null, 0, m_viewMenuGroup, 0 ); - connect( a, SIGNAL(activated()), this, SLOT(slotViewFilter()) ); - a->setWhatsThis( tr( "Click here to filter the items displayed." ) ); - - a = new QAction( tr( "Filter Settings" ), QString::null, 0, m_viewMenuGroup, 0 ); - connect( a, SIGNAL(activated()), this, SLOT(slotViewFilterSettings()) ); - a->setWhatsThis( tr( "Click here to modify the current filter settings." ) ); +// m_viewMenuGroup = new QActionGroup( this, QString::null, false ); + +// QAction *a = new QAction( tr( "Filter" ), QString::null, 0, m_viewMenuGroup, 0 ); +// connect( a, SIGNAL(activated()), this, SLOT(slotViewFilter()) ); +// a->setWhatsThis( tr( "Click here to filter the items displayed." ) ); +// +// a = new QAction( tr( "Filter Settings" ), QString::null, 0, m_viewMenuGroup, 0 ); +// connect( a, SIGNAL(activated()), this, SLOT(slotViewFilterSettings()) ); +// a->setWhatsThis( tr( "Click here to modify the current filter settings." ) ); // Create view toolbar toolbar = new QToolBar( this ); |