summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2004-09-25 06:57:42 (UTC)
committer llornkcor <llornkcor>2004-09-25 06:57:42 (UTC)
commitb81695526ff68640b20fd4d1dfd6440bda35a520 (patch) (unidiff)
tree2e21011cbf6c065b3b0c16770efd9cbb7240cc32
parent3d4aef2df9828aedccf5d576ecbc8aad6621362e (diff)
downloadopie-b81695526ff68640b20fd4d1dfd6440bda35a520.zip
opie-b81695526ff68640b20fd4d1dfd6440bda35a520.tar.gz
opie-b81695526ff68640b20fd4d1dfd6440bda35a520.tar.bz2
opti
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/advancedfm/advancedfmData.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/noncore/apps/advancedfm/advancedfmData.cpp b/noncore/apps/advancedfm/advancedfmData.cpp
index 9be0ceb..eaf4f79 100644
--- a/noncore/apps/advancedfm/advancedfmData.cpp
+++ b/noncore/apps/advancedfm/advancedfmData.cpp
@@ -226,53 +226,53 @@ void AdvancedFm::init() {
226 sdButton->hide(); 226 sdButton->hide();
227 } 227 }
228 if( !StorageInfo::hasCf() ) { 228 if( !StorageInfo::hasCf() ) {
229 odebug << "not have cf" << oendl; 229 odebug << "not have cf" << oendl;
230 cfButton->hide(); 230 cfButton->hide();
231 } 231 }
232 currentDir.setFilter( QDir::Files | QDir::Dirs | QDir::Hidden | QDir::All); 232 currentDir.setFilter( QDir::Files | QDir::Dirs | QDir::Hidden | QDir::All);
233 currentDir.setPath( QDir::currentDirPath()); 233 currentDir.setPath( QDir::currentDirPath());
234 234
235 currentRemoteDir.setFilter( QDir::Files | QDir::Dirs | QDir::Hidden | QDir::All); 235 currentRemoteDir.setFilter( QDir::Files | QDir::Dirs | QDir::Hidden | QDir::All);
236 currentRemoteDir.setPath( QDir::currentDirPath()); 236 currentRemoteDir.setPath( QDir::currentDirPath());
237 237
238 // b = TRUE; 238 // b = TRUE;
239 239
240 filterStr="*"; 240 filterStr="*";
241 showMenuHidden(); 241 showMenuHidden();
242 TabWidget->setCurrentWidget(0); 242 TabWidget->setCurrentWidget(0);
243 243
244} 244}
245 245
246void AdvancedFm::initConnections() 246void AdvancedFm::initConnections()
247{ 247{
248 248
249 connect(qApp,SIGNAL(aboutToQuit()),this,SLOT(cleanUp())); 249 connect(qApp,SIGNAL(aboutToQuit()),this,SLOT(cleanUp()));
250 connect( qpeDirButton ,SIGNAL(released()),this,SLOT( QPEButtonPushed()) ); 250 connect(qpeDirButton,SIGNAL(released()),this,SLOT(QPEButtonPushed()));
251 connect( cfButton ,SIGNAL(released()), this,SLOT( CFButtonPushed()) ); 251 connect(cfButton,SIGNAL(released()),this,SLOT(CFButtonPushed()));
252 connect( sdButton ,SIGNAL(released()), this,SLOT( SDButtonPushed()) ); 252 connect(sdButton,SIGNAL(released()),this,SLOT(SDButtonPushed()));
253 connect( cdUpButton ,SIGNAL(released()), this,SLOT( upDir()) ); 253 connect(cdUpButton,SIGNAL(released()),this,SLOT(upDir()));
254 connect( docButton,SIGNAL(released()), this,SLOT( docButtonPushed()) ); 254 connect(docButton,SIGNAL(released()),this,SLOT(docButtonPushed()));
255 connect( homeButton,SIGNAL(released()), this,SLOT( homeButtonPushed()) ); 255 connect(homeButton,SIGNAL(released()),this,SLOT(homeButtonPushed()));
256 connect( currentPathCombo, SIGNAL( activated(const QString&) ), this, SLOT( changeTo(const QString&) ) ); 256 connect(currentPathCombo,SIGNAL(activated(const QString&)),this,SLOT(changeTo(const QString&)));
257 257
258 connect( currentPathCombo->lineEdit(),SIGNAL(returnPressed()), this,SLOT(currentPathComboChanged())); 258 connect(currentPathCombo->lineEdit(),SIGNAL(returnPressed()),this,SLOT(currentPathComboChanged()));
259 259
260 connect( Local_View, SIGNAL( clicked(QListViewItem*)), this,SLOT( ListClicked(QListViewItem*)) ); 260 connect(Local_View,SIGNAL(clicked(QListViewItem*)),this,SLOT( ListClicked(QListViewItem*)));
261 261
262 connect( Local_View, SIGNAL( mouseButtonPressed(int,QListViewItem*,const QPoint&,int)), this,SLOT( ListPressed(int,QListViewItem*,const QPoint&,int)) ); 262 connect(Local_View,SIGNAL(mouseButtonPressed(int,QListViewItem*,const QPoint&,int)),this,SLOT( ListPressed(int,QListViewItem*,const QPoint&,int)) );
263 263
264 connect( Remote_View, SIGNAL( clicked(QListViewItem*)), this,SLOT( ListClicked(QListViewItem*)) ); 264 connect(Remote_View,SIGNAL(clicked(QListViewItem*)),this,SLOT(ListClicked(QListViewItem*)));
265 connect( Remote_View, SIGNAL( mouseButtonPressed(int,QListViewItem*,const QPoint&,int)), this,SLOT( ListPressed(int,QListViewItem*,const QPoint&,int)) ); 265 connect(Remote_View,SIGNAL(mouseButtonPressed(int,QListViewItem*,const QPoint&,int)),this,SLOT(ListPressed(int,QListViewItem*,const QPoint&,int)));
266 266
267 connect( TabWidget,SIGNAL(currentChanged(QWidget*)), this,SLOT(tabChanged(QWidget*))); 267 connect(TabWidget,SIGNAL(currentChanged(QWidget*)),this,SLOT(tabChanged(QWidget*)));
268 268
269 connect( Remote_View, SIGNAL(rightButtonPressed(QListViewItem*, const QPoint&, int)), this, SLOT(showFileMenu())); 269 connect(Remote_View,SIGNAL(rightButtonPressed(QListViewItem*,const QPoint&,int)),this,SLOT(showFileMenu()));
270 connect( Local_View, SIGNAL(rightButtonPressed(QListViewItem*, const QPoint&,int)), this, SLOT(showFileMenu())); 270 connect(Local_View,SIGNAL(rightButtonPressed(QListViewItem*,const QPoint&,int)),this,SLOT(showFileMenu()));
271 271
272 connect( menuButton, SIGNAL( selected(const QString&)), SLOT(gotoCustomDir(const QString&))); 272 connect(menuButton,SIGNAL(selected(const QString&)),SLOT(gotoCustomDir(const QString&)));
273// connect( menuButton, SIGNAL( selected(int)), SLOT( dirMenuSelected(int))); 273// connect( menuButton, SIGNAL( selected(int)), SLOT( dirMenuSelected(int)));
274 connect( viewMenu, SIGNAL( activated(int)), this, SLOT(slotSwitchMenu(int))); 274 connect(viewMenu,SIGNAL(activated(int)),this,SLOT(slotSwitchMenu(int)));
275// connect( customDirMenu, SIGNAL( activated(int)), this, SLOT( dirMenuSelected(int))); 275// connect( customDirMenu, SIGNAL( activated(int)), this, SLOT( dirMenuSelected(int)));
276 276
277} 277}
278 278