author | cniehaus <cniehaus> | 2002-12-29 14:15:31 (UTC) |
---|---|---|
committer | cniehaus <cniehaus> | 2002-12-29 14:15:31 (UTC) |
commit | 5a0893171cf82ebad8347ab9dbc1193f9fcabda3 (patch) (side-by-side diff) | |
tree | c310a0a1d23087c3eba6d81eb07edc6437d90110 /noncore/apps/odict/odict.cpp | |
parent | da7abab7d817a22b8b6680027b6162d68b28ae98 (diff) | |
download | opie-5a0893171cf82ebad8347ab9dbc1193f9fcabda3.zip opie-5a0893171cf82ebad8347ab9dbc1193f9fcabda3.tar.gz opie-5a0893171cf82ebad8347ab9dbc1193f9fcabda3.tar.bz2 |
just in case my harddisk breaks ;) Still there is no real funktional code,
only GUI-work
Diffstat (limited to 'noncore/apps/odict/odict.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/odict/odict.cpp | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/noncore/apps/odict/odict.cpp b/noncore/apps/odict/odict.cpp index 857daaa..7f369d4 100644 --- a/noncore/apps/odict/odict.cpp +++ b/noncore/apps/odict/odict.cpp @@ -58,6 +58,28 @@ void ODict::slotStartQuery() QString querystring = query_le->text(); } + +void ODict::slotSetErrorcount( int count ) +{ + count = 1; +} + +void ODict::slotSettings() +{ + ConfigDlg dlg( this, "Config" , true); + if ( dlg.exec() == QDialog::Accepted ) + dlg.writeEntries(); + else qDebug( "abgebrochen" ); +} + +void ODict::slotSetParameter( int /*count*/ ) +{ +//X if ( int == 0 ) +//X if ( int == 1 ) +//X if ( int == 2 ) +//X else qWarning( "ERROR" ); +} + void ODict::setupMenus() { menu = new QMenuBar( this ); @@ -67,8 +89,6 @@ void ODict::setupMenus() connect( setting_a, SIGNAL( activated() ), this, SLOT( slotSettings() ) ); setting_a->addTo( settings ); setting_b = new QAction(tr( "Searchmethods" ), Resource::loadPixmap( "today/config" ), QString::null, 0, this, 0 ); - connect( setting_b, SIGNAL( activated() ), this, SLOT( slotSearchMethods() ) ); - setting_b->addTo( settings ); parameter = new QPopupMenu( menu ); connect( parameter, SIGNAL( activated( int ) ), this, SLOT( slotSetParameter( int ) ) ); @@ -95,23 +115,3 @@ void ODict::setupMenus() menu->insertItem( tr( "Parameter" ) , parameter ); menu->insertItem( tr( "Help" ) , help ); } - -void ODict::slotSetErrorcount( int count ) -{ -} - -void ODict::slotSettings() -{ - ConfigDlg *dlg = new ConfigDlg( this, "Config" ); -} - -void ODict::slotSetParameter( int count ) -{ -//X if ( int == 0 ) -//X if ( int == 1 ) -//X if ( int == 2 ) -//X else qWarning( "ERROR" ); -} - -void ODict::slotSearchMethods(){} - |