Diffstat (limited to 'noncore/apps/advancedfm/advancedfmData.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/advancedfm/advancedfmData.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/noncore/apps/advancedfm/advancedfmData.cpp b/noncore/apps/advancedfm/advancedfmData.cpp index ddaa39a..763ae34 100644 --- a/noncore/apps/advancedfm/advancedfmData.cpp +++ b/noncore/apps/advancedfm/advancedfmData.cpp | |||
@@ -1,64 +1,62 @@ | |||
1 | /*************************************************************************** | 1 | /*************************************************************************** |
2 | advancedfmData.cpp | 2 | advancedfmData.cpp |
3 | ------------------- | 3 | ------------------- |
4 | ** Created: Mon 09-23-2002 13:24:11 | 4 | ** Created: Mon 09-23-2002 13:24:11 |
5 | copyright : (C) 2002 by ljp | 5 | copyright : (C) 2002 by ljp |
6 | email : ljp@llornkcor.com | 6 | email : ljp@llornkcor.com |
7 | * This program is free software; you can redistribute it and/or modify * | 7 | * This program is free software; you can redistribute it and/or modify * |
8 | * it under the terms of the GNU General Public License as published by * | 8 | * it under the terms of the GNU General Public License as published by * |
9 | * the Free Software Foundation; either version 2 of the License, or * | 9 | * the Free Software Foundation; either version 2 of the License, or * |
10 | * (at your option) any later version. * | 10 | * (at your option) any later version. * |
11 | ***************************************************************************/ | 11 | ***************************************************************************/ |
12 | #include "advancedfm.h" | 12 | #include "advancedfm.h" |
13 | 13 | ||
14 | #include <opie/osplitter.h> | ||
15 | #include <qpe/storage.h> | 14 | #include <qpe/storage.h> |
16 | |||
17 | #include <qpe/qpeapplication.h> | 15 | #include <qpe/qpeapplication.h> |
18 | #include <qpe/resource.h> | 16 | #include <qpe/resource.h> |
19 | #include <qpe/menubutton.h> | 17 | #include <qpe/menubutton.h> |
20 | 18 | ||
21 | #include <qlayout.h> | 19 | #include <qlayout.h> |
22 | #include <qhbox.h> | 20 | #include <qhbox.h> |
23 | #include <qmenubar.h> | 21 | #include <qmenubar.h> |
24 | #include <qcombobox.h> | 22 | #include <qcombobox.h> |
25 | #include <qtoolbutton.h> | 23 | #include <qtoolbutton.h> |
26 | #include <qlineedit.h> | 24 | #include <qlineedit.h> |
27 | #include <qlistview.h> | 25 | #include <qlistview.h> |
28 | 26 | ||
29 | #include <sys/utsname.h> | 27 | #include <sys/utsname.h> |
30 | 28 | ||
31 | 29 | ||
32 | void AdvancedFm::init() { | 30 | void AdvancedFm::init() { |
33 | #if defined(QT_QWS_OPIE) | 31 | #if defined(QT_QWS_OPIE) |
34 | qDebug("<<<<<<<<<<<<<<<<<<<<<<<< OPIE!!!"); | 32 | qDebug("<<<<<<<<<<<<<<<<<<<<<<<< OPIE!!!"); |
35 | #endif | 33 | #endif |
36 | setCaption( tr( "AdvancedFm" ) ); | 34 | setCaption( tr( "AdvancedFm" ) ); |
37 | 35 | ||
38 | QVBoxLayout *layout = new QVBoxLayout( this ); | 36 | QVBoxLayout *layout = new QVBoxLayout( this ); |
39 | layout->setSpacing( 2); | 37 | layout->setSpacing( 2); |
40 | layout->setMargin( 2); | 38 | layout->setMargin( 2); |
41 | 39 | ||
42 | QMenuBar *menuBar = new QMenuBar(this); | 40 | QMenuBar *menuBar = new QMenuBar(this); |
43 | fileMenu = new QPopupMenu( this ); | 41 | fileMenu = new QPopupMenu( this ); |
44 | viewMenu = new QPopupMenu( this ); | 42 | viewMenu = new QPopupMenu( this ); |
45 | // customDirMenu = new QPopupMenu( this ); | 43 | // customDirMenu = new QPopupMenu( this ); |
46 | 44 | ||
47 | layout->addWidget( menuBar ); | 45 | layout->addWidget( menuBar ); |
48 | 46 | ||
49 | menuBar->insertItem( tr( "File" ), fileMenu); | 47 | menuBar->insertItem( tr( "File" ), fileMenu); |
50 | menuBar->insertItem( tr( "View" ), viewMenu); | 48 | menuBar->insertItem( tr( "View" ), viewMenu); |
51 | 49 | ||
52 | cdUpButton = new QToolButton( 0,"cdUpButton"); | 50 | cdUpButton = new QToolButton( 0,"cdUpButton"); |
53 | cdUpButton->setPixmap(Resource::loadPixmap("up")); | 51 | cdUpButton->setPixmap(Resource::loadPixmap("up")); |
54 | cdUpButton->setAutoRaise( true ); | 52 | cdUpButton->setAutoRaise( true ); |
55 | menuBar->insertItem( cdUpButton ); | 53 | menuBar->insertItem( cdUpButton ); |
56 | 54 | ||
57 | 55 | ||
58 | QHBox *lineBox = new QHBox( this ); | 56 | QHBox *lineBox = new QHBox( this ); |
59 | 57 | ||
60 | qpeDirButton= new QToolButton( 0,"QPEButton"); | 58 | qpeDirButton= new QToolButton( 0,"QPEButton"); |
61 | qpeDirButton->setPixmap( Resource::loadPixmap("launcher/opielogo16x16"));//,"",this,"QPEButton"); | 59 | qpeDirButton->setPixmap( Resource::loadPixmap("launcher/opielogo16x16"));//,"",this,"QPEButton"); |
62 | qpeDirButton->setAutoRaise( true ); | 60 | qpeDirButton->setAutoRaise( true ); |
63 | menuBar->insertItem( qpeDirButton ); | 61 | menuBar->insertItem( qpeDirButton ); |
64 | 62 | ||
@@ -84,179 +82,179 @@ void AdvancedFm::init() { | |||
84 | 82 | ||
85 | fileMenu->insertItem( tr( "Show Hidden Files" ), this, SLOT( showMenuHidden() )); | 83 | fileMenu->insertItem( tr( "Show Hidden Files" ), this, SLOT( showMenuHidden() )); |
86 | fileMenu->setItemChecked( fileMenu->idAt(0),TRUE); | 84 | fileMenu->setItemChecked( fileMenu->idAt(0),TRUE); |
87 | fileMenu->insertSeparator(); | 85 | fileMenu->insertSeparator(); |
88 | fileMenu->insertItem( tr( "File Search" ), this, SLOT( openSearch() )); | 86 | fileMenu->insertItem( tr( "File Search" ), this, SLOT( openSearch() )); |
89 | fileMenu->insertSeparator(); | 87 | fileMenu->insertSeparator(); |
90 | fileMenu->insertItem( tr( "Make Directory" ), this, SLOT( mkDir() )); | 88 | fileMenu->insertItem( tr( "Make Directory" ), this, SLOT( mkDir() )); |
91 | fileMenu->insertItem( tr( "Rename" ), this, SLOT( rn() )); | 89 | fileMenu->insertItem( tr( "Rename" ), this, SLOT( rn() )); |
92 | fileMenu->insertItem( tr( "Run Command" ), this, SLOT( runCommandStd() )); | 90 | fileMenu->insertItem( tr( "Run Command" ), this, SLOT( runCommandStd() )); |
93 | fileMenu->insertItem( tr( "Run Command with Output" ), this, SLOT( runCommand() )); | 91 | fileMenu->insertItem( tr( "Run Command with Output" ), this, SLOT( runCommand() )); |
94 | fileMenu->insertSeparator(); | 92 | fileMenu->insertSeparator(); |
95 | fileMenu->insertItem( tr( "Make Symlink" ), this, SLOT( mkSym() )); | 93 | fileMenu->insertItem( tr( "Make Symlink" ), this, SLOT( mkSym() )); |
96 | fileMenu->insertItem( tr( "Select All" ), this, SLOT( selectAll() )); | 94 | fileMenu->insertItem( tr( "Select All" ), this, SLOT( selectAll() )); |
97 | fileMenu->insertItem( tr( "Add To Documents" ), this, SLOT( addToDocs() )); | 95 | fileMenu->insertItem( tr( "Add To Documents" ), this, SLOT( addToDocs() )); |
98 | fileMenu->insertItem( tr( "Delete" ), this, SLOT( del() )); | 96 | fileMenu->insertItem( tr( "Delete" ), this, SLOT( del() )); |
99 | fileMenu->setCheckable(TRUE); | 97 | fileMenu->setCheckable(TRUE); |
100 | 98 | ||
101 | viewMenu->insertItem( tr( "Switch to View 1" ), this, SLOT( switchToLocalTab())); | 99 | viewMenu->insertItem( tr( "Switch to View 1" ), this, SLOT( switchToLocalTab())); |
102 | viewMenu->insertItem( tr( "Switch to View 2" ), this, SLOT( switchToRemoteTab())); | 100 | viewMenu->insertItem( tr( "Switch to View 2" ), this, SLOT( switchToRemoteTab())); |
103 | // viewMenu->insertSeparator(); | 101 | // viewMenu->insertSeparator(); |
104 | // viewMenu->insertItem( tr( "About" ), this, SLOT( doAbout() )); | 102 | // viewMenu->insertItem( tr( "About" ), this, SLOT( doAbout() )); |
105 | viewMenu->setCheckable(true); | 103 | viewMenu->setCheckable(true); |
106 | viewMenu->setItemChecked( viewMenu->idAt(0), true); | 104 | viewMenu->setItemChecked( viewMenu->idAt(0), true); |
107 | viewMenu->setItemChecked( viewMenu->idAt(1), false); | 105 | viewMenu->setItemChecked( viewMenu->idAt(1), false); |
108 | 106 | ||
109 | s_addBookmark = tr("Bookmark Directory"); | 107 | s_addBookmark = tr("Bookmark Directory"); |
110 | s_removeBookmark = tr("Remove Current Directory from Bookmarks"); | 108 | s_removeBookmark = tr("Remove Current Directory from Bookmarks"); |
111 | 109 | ||
112 | // menuButton->insertItem(""); | 110 | // menuButton->insertItem(""); |
113 | 111 | ||
114 | // customDirMenu->insertItem(tr("Add This Directory")); | 112 | // customDirMenu->insertItem(tr("Add This Directory")); |
115 | // customDirMenu->insertItem(tr("Remove This Directory")); | 113 | // customDirMenu->insertItem(tr("Remove This Directory")); |
116 | // customDirMenu->insertSeparator(); | 114 | // customDirMenu->insertSeparator(); |
117 | 115 | ||
118 | menuButton = new MenuButton( lineBox ); | 116 | menuButton = new MenuButton( lineBox ); |
119 | 117 | ||
120 | menuButton->setUseLabel(false); | 118 | menuButton->setUseLabel(false); |
121 | menuButton->setMaximumWidth( 20 ); | 119 | menuButton->setMaximumWidth( 20 ); |
122 | menuButton->insertItem( s_addBookmark); | 120 | menuButton->insertItem( s_addBookmark); |
123 | menuButton->insertItem( s_removeBookmark); | 121 | menuButton->insertItem( s_removeBookmark); |
124 | menuButton->insertSeparator(); | 122 | menuButton->insertSeparator(); |
125 | menuButton->setFocusPolicy(NoFocus); | 123 | menuButton->setFocusPolicy(NoFocus); |
126 | 124 | ||
127 | customDirsToMenu(); | 125 | customDirsToMenu(); |
128 | 126 | ||
129 | currentPathCombo = new QComboBox( FALSE, lineBox, "currentPathCombo" ); | 127 | currentPathCombo = new QComboBox( FALSE, lineBox, "currentPathCombo" ); |
130 | currentPathCombo->setEditable(TRUE); | 128 | currentPathCombo->setEditable(TRUE); |
131 | currentPathCombo->lineEdit()->setText( currentDir.canonicalPath()); | 129 | currentPathCombo->lineEdit()->setText( currentDir.canonicalPath()); |
132 | currentPathCombo->setFocusPolicy(NoFocus); | 130 | currentPathCombo->setFocusPolicy(NoFocus); |
133 | layout->addWidget( lineBox ); | 131 | layout->addWidget( lineBox ); |
134 | 132 | ||
135 | 133 | ||
136 | TabWidget = new OSplitter( Horizontal, this, "TabWidget" ); | 134 | TabWidget = new OSplitter( Horizontal, this, "TabWidget" ); |
137 | // TabWidget = new QTabWidget( this, "TabWidget" ); | 135 | // TabWidget = new QTabWidget( this, "TabWidget" ); |
138 | layout->addWidget( TabWidget, 4 ); | 136 | layout->addWidget( TabWidget, 4 ); |
139 | 137 | ||
140 | tab = new QWidget( TabWidget, "tab" ); | 138 | tab = new QWidget( TabWidget, "tab" ); |
141 | tabLayout = new QGridLayout( tab ); | 139 | tabLayout = new QGridLayout( tab ); |
142 | tabLayout->setSpacing( 2); | 140 | tabLayout->setSpacing( 2); |
143 | tabLayout->setMargin( 2); | 141 | tabLayout->setMargin( 2); |
144 | 142 | ||
145 | Local_View = new QListView( tab, "Local_View" ); | 143 | Local_View = new QListView( tab, "Local_View" ); |
146 | Local_View->addColumn( tr("File"),130); | 144 | Local_View->addColumn( tr("File"),130); |
147 | Local_View->addColumn( tr("Size"),-1); | 145 | Local_View->addColumn( tr("Size"),-1); |
148 | Local_View->setColumnAlignment(1,QListView::AlignRight); | 146 | Local_View->setColumnAlignment(1,QListView::AlignRight); |
149 | Local_View->addColumn( tr("Date"),-1); | 147 | Local_View->addColumn( tr("Date"),-1); |
150 | Local_View->setColumnAlignment(2,QListView::AlignRight); | 148 | Local_View->setColumnAlignment(2,QListView::AlignRight); |
151 | Local_View->setAllColumnsShowFocus(TRUE); | 149 | Local_View->setAllColumnsShowFocus(TRUE); |
152 | Local_View->setMultiSelection( TRUE ); | 150 | Local_View->setMultiSelection( TRUE ); |
153 | Local_View->setSelectionMode(QListView::Extended); | 151 | Local_View->setSelectionMode(QListView::Extended); |
154 | Local_View->setFocusPolicy(StrongFocus); | 152 | Local_View->setFocusPolicy(StrongFocus); |
155 | Local_View->installEventFilter( this ); | 153 | Local_View->installEventFilter( this ); |
156 | 154 | ||
157 | QPEApplication::setStylusOperation( Local_View->viewport(),QPEApplication::RightOnHold); | 155 | QPEApplication::setStylusOperation( Local_View->viewport(),QPEApplication::RightOnHold); |
158 | 156 | ||
159 | tabLayout->addWidget( Local_View, 0, 0 ); | 157 | tabLayout->addWidget( Local_View, 0, 0 ); |
160 | 158 | ||
161 | TabWidget->addWidget( tab,"advancedfm/smFileBrowser.png", tr("1")); | 159 | TabWidget->addWidget( tab,"advancedfm/smFileBrowser.png", tr("1")); |
162 | // TabWidget->insertTab( tab, tr("1")); | 160 | // TabWidget->insertTab( tab, tr("1")); |
163 | 161 | ||
164 | tab_2 = new QWidget( TabWidget, "tab_2" ); | 162 | tab_2 = new QWidget( TabWidget, "tab_2" ); |
165 | tabLayout_2 = new QGridLayout( tab_2 ); | 163 | tabLayout_2 = new QGridLayout( tab_2 ); |
166 | tabLayout_2->setSpacing( 2); | 164 | tabLayout_2->setSpacing( 2); |
167 | tabLayout_2->setMargin( 2); | 165 | tabLayout_2->setMargin( 2); |
168 | 166 | ||
169 | Remote_View = new QListView( tab_2, "Remote_View" ); | 167 | Remote_View = new QListView( tab_2, "Remote_View" ); |
170 | Remote_View->addColumn( tr("File"),130); | 168 | Remote_View->addColumn( tr("File"),130); |
171 | Remote_View->addColumn( tr("Size"),-1); | 169 | Remote_View->addColumn( tr("Size"),-1); |
172 | Remote_View->setColumnAlignment(1,QListView::AlignRight); | 170 | Remote_View->setColumnAlignment(1,QListView::AlignRight); |
173 | Remote_View->addColumn( tr("Date"),-1); | 171 | Remote_View->addColumn( tr("Date"),-1); |
174 | Remote_View->setColumnAlignment(2,QListView::AlignRight); | 172 | Remote_View->setColumnAlignment(2,QListView::AlignRight); |
175 | Remote_View->setAllColumnsShowFocus(TRUE); | 173 | Remote_View->setAllColumnsShowFocus(TRUE); |
176 | Remote_View->setMultiSelection( TRUE ); | 174 | Remote_View->setMultiSelection( TRUE ); |
177 | Remote_View->setSelectionMode(QListView::Extended); | 175 | Remote_View->setSelectionMode(QListView::Extended); |
178 | Remote_View->setFocusPolicy(StrongFocus); | 176 | Remote_View->setFocusPolicy(StrongFocus); |
179 | Remote_View->installEventFilter( this ); | 177 | Remote_View->installEventFilter( this ); |
180 | 178 | ||
181 | QPEApplication::setStylusOperation( Remote_View->viewport(),QPEApplication::RightOnHold); | 179 | QPEApplication::setStylusOperation( Remote_View->viewport(),QPEApplication::RightOnHold); |
182 | 180 | ||
183 | tabLayout_2->addWidget( Remote_View, 0, 0 ); | 181 | tabLayout_2->addWidget( Remote_View, 0, 0 ); |
184 | 182 | ||
185 | TabWidget->addWidget( tab_2, "advancedfm/smFileBrowser.png",tr( "2")); | 183 | TabWidget->addWidget( tab_2, "advancedfm/smFileBrowser.png",tr( "2")); |
186 | TabWidget->setSizeChange( 370 ); | 184 | TabWidget->setSizeChange( 370 ); |
187 | // TabWidget->insertTab( tab_2, tr( "2")); | 185 | // TabWidget->insertTab( tab_2, tr( "2")); |
188 | 186 | ||
189 | /* tab_3 = new QWidget( TabWidget, "tab_3" ); | 187 | /* tab_3 = new QWidget( TabWidget, "tab_3" ); |
190 | tabLayout_3 = new QGridLayout( tab_3 ); | 188 | tabLayout_3 = new QGridLayout( tab_3 ); |
191 | tabLayout_3->setSpacing( 2); | 189 | tabLayout_3->setSpacing( 2); |
192 | tabLayout_3->setMargin( 2); | 190 | tabLayout_3->setMargin( 2); |
193 | 191 | ||
194 | 192 | ||
195 | // OFileDialog fileDialog; | 193 | // OFileDialog fileDialog; |
196 | // fileDialog; | 194 | // fileDialog; |
197 | // fileSelector = new FileSelector( "*",tab_3, "fileselector" , FALSE, FALSE); //buggy | 195 | // fileSelector = new FileSelector( "*",tab_3, "fileselector" , FALSE, FALSE); //buggy |
198 | // fileDialog = new OFileDialog("bangalow", tab_3, 4, 2, "Bungalow"); | 196 | // fileDialog = new OFileDialog("bangalow", tab_3, 4, 2, "Bungalow"); |
199 | // OFileSelector fileDialog = new OFileSelector( tab_3, 4, 2,"/"); | 197 | // OFileSelector fileDialog = new OFileSelector( tab_3, 4, 2,"/"); |
200 | 198 | ||
201 | QListView *fileTree; | 199 | QListView *fileTree; |
202 | fileTree = new QListView( tab_3, "tree" ); | 200 | fileTree = new QListView( tab_3, "tree" ); |
203 | 201 | ||
204 | 202 | ||
205 | tabLayout_3->addMultiCellWidget( fileTree, 0, 0, 0, 3 ); | 203 | tabLayout_3->addMultiCellWidget( fileTree, 0, 0, 0, 3 ); |
206 | 204 | ||
207 | TabWidget->insertTab( tab_3, tr( "Remote" ) ); | 205 | TabWidget->insertTab( tab_3, tr( "Remote" ) ); |
208 | */ | 206 | */ |
209 | 207 | ||
210 | /////////////// | 208 | /////////////// |
211 | 209 | ||
212 | if ( QFile::exists ( "/dev/sharp_buz" ) || QFile::exists ( "/dev/sharp_led" )) | 210 | if ( QFile::exists ( "/dev/sharp_buz" ) || QFile::exists ( "/dev/sharp_led" )) |
213 | zaurusDevice=TRUE; | 211 | zaurusDevice=TRUE; |
214 | else | 212 | else |
215 | zaurusDevice=FALSE; | 213 | zaurusDevice=FALSE; |
216 | 214 | ||
217 | 215 | ||
218 | if( !StorageInfo::hasSd() || !StorageInfo::hasMmc()) { | 216 | if( !StorageInfo::hasSd() || !StorageInfo::hasMmc()) { |
219 | qDebug("not have sd"); | 217 | qDebug("not have sd"); |
220 | sdButton->hide(); | 218 | sdButton->hide(); |
221 | } | 219 | } |
222 | if( !StorageInfo::hasCf() ) { | 220 | if( !StorageInfo::hasCf() ) { |
223 | qDebug("not have cf"); | 221 | qDebug("not have cf"); |
224 | cfButton->hide(); | 222 | cfButton->hide(); |
225 | } | 223 | } |
226 | currentDir.setFilter( QDir::Files | QDir::Dirs | QDir::Hidden | QDir::All); | 224 | currentDir.setFilter( QDir::Files | QDir::Dirs | QDir::Hidden | QDir::All); |
227 | currentDir.setPath( QDir::currentDirPath()); | 225 | currentDir.setPath( QDir::currentDirPath()); |
228 | 226 | ||
229 | currentRemoteDir.setFilter( QDir::Files | QDir::Dirs | QDir::Hidden | QDir::All); | 227 | currentRemoteDir.setFilter( QDir::Files | QDir::Dirs | QDir::Hidden | QDir::All); |
230 | currentRemoteDir.setPath( QDir::currentDirPath()); | 228 | currentRemoteDir.setPath( QDir::currentDirPath()); |
231 | 229 | ||
232 | // b = TRUE; | 230 | // b = TRUE; |
233 | 231 | ||
234 | filterStr="*"; | 232 | filterStr="*"; |
235 | b=FALSE; | 233 | b=FALSE; |
236 | showMenuHidden(); | 234 | showMenuHidden(); |
237 | TabWidget->setCurrentWidget(0); | 235 | TabWidget->setCurrentWidget(0); |
238 | 236 | ||
239 | } | 237 | } |
240 | 238 | ||
241 | void AdvancedFm::initConnections() | 239 | void AdvancedFm::initConnections() |
242 | { | 240 | { |
243 | 241 | ||
244 | connect( qApp,SIGNAL( aboutToQuit()), | 242 | connect( qApp,SIGNAL( aboutToQuit()), |
245 | this, SLOT( cleanUp()) ); | 243 | this, SLOT( cleanUp()) ); |
246 | connect( qpeDirButton ,SIGNAL(released()), | 244 | connect( qpeDirButton ,SIGNAL(released()), |
247 | this,SLOT( QPEButtonPushed()) ); | 245 | this,SLOT( QPEButtonPushed()) ); |
248 | connect( cfButton ,SIGNAL(released()), | 246 | connect( cfButton ,SIGNAL(released()), |
249 | this,SLOT( CFButtonPushed()) ); | 247 | this,SLOT( CFButtonPushed()) ); |
250 | connect( sdButton ,SIGNAL(released()), | 248 | connect( sdButton ,SIGNAL(released()), |
251 | this,SLOT( SDButtonPushed()) ); | 249 | this,SLOT( SDButtonPushed()) ); |
252 | connect( cdUpButton ,SIGNAL(released()), | 250 | connect( cdUpButton ,SIGNAL(released()), |
253 | this,SLOT( upDir()) ); | 251 | this,SLOT( upDir()) ); |
254 | connect( docButton,SIGNAL(released()), | 252 | connect( docButton,SIGNAL(released()), |
255 | this,SLOT( docButtonPushed()) ); | 253 | this,SLOT( docButtonPushed()) ); |
256 | connect( homeButton,SIGNAL(released()), | 254 | connect( homeButton,SIGNAL(released()), |
257 | this,SLOT( homeButtonPushed()) ); | 255 | this,SLOT( homeButtonPushed()) ); |
258 | connect( currentPathCombo, SIGNAL( activated( const QString & ) ), | 256 | connect( currentPathCombo, SIGNAL( activated( const QString & ) ), |
259 | this, SLOT( currentPathComboActivated( const QString & ) ) ); | 257 | this, SLOT( currentPathComboActivated( const QString & ) ) ); |
260 | 258 | ||
261 | connect( currentPathCombo->lineEdit(),SIGNAL(returnPressed()), | 259 | connect( currentPathCombo->lineEdit(),SIGNAL(returnPressed()), |
262 | this,SLOT(currentPathComboChanged())); | 260 | this,SLOT(currentPathComboChanged())); |