summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2004-09-25 06:57:42 (UTC)
committer llornkcor <llornkcor>2004-09-25 06:57:42 (UTC)
commitb81695526ff68640b20fd4d1dfd6440bda35a520 (patch) (side-by-side diff)
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() {
sdButton->hide();
}
if( !StorageInfo::hasCf() ) {
odebug << "not have cf" << oendl;
cfButton->hide();
}
currentDir.setFilter( QDir::Files | QDir::Dirs | QDir::Hidden | QDir::All);
currentDir.setPath( QDir::currentDirPath());
currentRemoteDir.setFilter( QDir::Files | QDir::Dirs | QDir::Hidden | QDir::All);
currentRemoteDir.setPath( QDir::currentDirPath());
// b = TRUE;
filterStr="*";
showMenuHidden();
TabWidget->setCurrentWidget(0);
}
void AdvancedFm::initConnections()
{
connect(qApp,SIGNAL(aboutToQuit()),this,SLOT(cleanUp()));
- connect( qpeDirButton ,SIGNAL(released()),this,SLOT( QPEButtonPushed()) );
- connect( cfButton ,SIGNAL(released()), this,SLOT( CFButtonPushed()) );
- connect( sdButton ,SIGNAL(released()), this,SLOT( SDButtonPushed()) );
- connect( cdUpButton ,SIGNAL(released()), this,SLOT( upDir()) );
- connect( docButton,SIGNAL(released()), this,SLOT( docButtonPushed()) );
- connect( homeButton,SIGNAL(released()), this,SLOT( homeButtonPushed()) );
- connect( currentPathCombo, SIGNAL( activated(const QString&) ), this, SLOT( changeTo(const QString&) ) );
+ connect(qpeDirButton,SIGNAL(released()),this,SLOT(QPEButtonPushed()));
+ connect(cfButton,SIGNAL(released()),this,SLOT(CFButtonPushed()));
+ connect(sdButton,SIGNAL(released()),this,SLOT(SDButtonPushed()));
+ connect(cdUpButton,SIGNAL(released()),this,SLOT(upDir()));
+ connect(docButton,SIGNAL(released()),this,SLOT(docButtonPushed()));
+ connect(homeButton,SIGNAL(released()),this,SLOT(homeButtonPushed()));
+ connect(currentPathCombo,SIGNAL(activated(const QString&)),this,SLOT(changeTo(const QString&)));
- connect( currentPathCombo->lineEdit(),SIGNAL(returnPressed()), this,SLOT(currentPathComboChanged()));
+ connect(currentPathCombo->lineEdit(),SIGNAL(returnPressed()),this,SLOT(currentPathComboChanged()));
- connect( Local_View, SIGNAL( clicked(QListViewItem*)), this,SLOT( ListClicked(QListViewItem*)) );
+ connect(Local_View,SIGNAL(clicked(QListViewItem*)),this,SLOT( ListClicked(QListViewItem*)));
- connect( Local_View, SIGNAL( mouseButtonPressed(int,QListViewItem*,const QPoint&,int)), this,SLOT( ListPressed(int,QListViewItem*,const QPoint&,int)) );
+ connect(Local_View,SIGNAL(mouseButtonPressed(int,QListViewItem*,const QPoint&,int)),this,SLOT( ListPressed(int,QListViewItem*,const QPoint&,int)) );
- connect( Remote_View, SIGNAL( clicked(QListViewItem*)), this,SLOT( ListClicked(QListViewItem*)) );
- connect( Remote_View, SIGNAL( mouseButtonPressed(int,QListViewItem*,const QPoint&,int)), this,SLOT( ListPressed(int,QListViewItem*,const QPoint&,int)) );
+ connect(Remote_View,SIGNAL(clicked(QListViewItem*)),this,SLOT(ListClicked(QListViewItem*)));
+ connect(Remote_View,SIGNAL(mouseButtonPressed(int,QListViewItem*,const QPoint&,int)),this,SLOT(ListPressed(int,QListViewItem*,const QPoint&,int)));
- connect( TabWidget,SIGNAL(currentChanged(QWidget*)), this,SLOT(tabChanged(QWidget*)));
+ connect(TabWidget,SIGNAL(currentChanged(QWidget*)),this,SLOT(tabChanged(QWidget*)));
- connect( Remote_View, SIGNAL(rightButtonPressed(QListViewItem*, const QPoint&, int)), this, SLOT(showFileMenu()));
- connect( Local_View, SIGNAL(rightButtonPressed(QListViewItem*, const QPoint&,int)), this, SLOT(showFileMenu()));
+ connect(Remote_View,SIGNAL(rightButtonPressed(QListViewItem*,const QPoint&,int)),this,SLOT(showFileMenu()));
+ connect(Local_View,SIGNAL(rightButtonPressed(QListViewItem*,const QPoint&,int)),this,SLOT(showFileMenu()));
- connect( menuButton, SIGNAL( selected(const QString&)), SLOT(gotoCustomDir(const QString&)));
+ connect(menuButton,SIGNAL(selected(const QString&)),SLOT(gotoCustomDir(const QString&)));
// connect( menuButton, SIGNAL( selected(int)), SLOT( dirMenuSelected(int)));
- connect( viewMenu, SIGNAL( activated(int)), this, SLOT(slotSwitchMenu(int)));
+ connect(viewMenu,SIGNAL(activated(int)),this,SLOT(slotSwitchMenu(int)));
// connect( customDirMenu, SIGNAL( activated(int)), this, SLOT( dirMenuSelected(int)));
}