-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 | |||
@@ -59,4 +59,26 @@ void ODict::slotStartQuery() | |||
59 | } | 59 | } |
60 | 60 | ||
61 | |||
62 | void ODict::slotSetErrorcount( int count ) | ||
63 | { | ||
64 | count = 1; | ||
65 | } | ||
66 | |||
67 | void ODict::slotSettings() | ||
68 | { | ||
69 | ConfigDlg dlg( this, "Config" , true); | ||
70 | if ( dlg.exec() == QDialog::Accepted ) | ||
71 | dlg.writeEntries(); | ||
72 | else qDebug( "abgebrochen" ); | ||
73 | } | ||
74 | |||
75 | void ODict::slotSetParameter( int /*count*/ ) | ||
76 | { | ||
77 | //X if ( int == 0 ) | ||
78 | //X if ( int == 1 ) | ||
79 | //X if ( int == 2 ) | ||
80 | //X else qWarning( "ERROR" ); | ||
81 | } | ||
82 | |||
61 | void ODict::setupMenus() | 83 | void ODict::setupMenus() |
62 | { | 84 | { |
@@ -68,6 +90,4 @@ void ODict::setupMenus() | |||
68 | setting_a->addTo( settings ); | 90 | setting_a->addTo( settings ); |
69 | setting_b = new QAction(tr( "Searchmethods" ), Resource::loadPixmap( "today/config" ), QString::null, 0, this, 0 ); | 91 | setting_b = new QAction(tr( "Searchmethods" ), Resource::loadPixmap( "today/config" ), QString::null, 0, this, 0 ); |
70 | connect( setting_b, SIGNAL( activated() ), this, SLOT( slotSearchMethods() ) ); | ||
71 | setting_b->addTo( settings ); | ||
72 | 92 | ||
73 | parameter = new QPopupMenu( menu ); | 93 | parameter = new QPopupMenu( menu ); |
@@ -96,22 +116,2 @@ void ODict::setupMenus() | |||
96 | menu->insertItem( tr( "Help" ) , help ); | 116 | menu->insertItem( tr( "Help" ) , help ); |
97 | } | 117 | } |
98 | |||
99 | void ODict::slotSetErrorcount( int count ) | ||
100 | { | ||
101 | } | ||
102 | |||
103 | void ODict::slotSettings() | ||
104 | { | ||
105 | ConfigDlg *dlg = new ConfigDlg( this, "Config" ); | ||
106 | } | ||
107 | |||
108 | void ODict::slotSetParameter( int count ) | ||
109 | { | ||
110 | //X if ( int == 0 ) | ||
111 | //X if ( int == 1 ) | ||
112 | //X if ( int == 2 ) | ||
113 | //X else qWarning( "ERROR" ); | ||
114 | } | ||
115 | |||
116 | void ODict::slotSearchMethods(){} | ||
117 | |||