Diffstat (limited to 'noncore/apps/advancedfm/advancedfmData.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/advancedfm/advancedfmData.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/noncore/apps/advancedfm/advancedfmData.cpp b/noncore/apps/advancedfm/advancedfmData.cpp index a4f4d59..4c24e83 100644 --- a/noncore/apps/advancedfm/advancedfmData.cpp +++ b/noncore/apps/advancedfm/advancedfmData.cpp | |||
@@ -68,25 +68,25 @@ void AdvancedFm::init() { | |||
68 | layout->addMultiCellWidget( cdUpButton , 0, 0, 5, 5); | 68 | layout->addMultiCellWidget( cdUpButton , 0, 0, 5, 5); |
69 | 69 | ||
70 | docButton = new QToolButton( this,"docsButton"); | 70 | docButton = new QToolButton( this,"docsButton"); |
71 | docButton->setPixmap(Resource::loadPixmap("DocsIcon")); | 71 | docButton->setPixmap(Resource::loadPixmap("DocsIcon")); |
72 | docButton->setFixedSize( QSize( 20, 20 ) ); | 72 | docButton->setFixedSize( QSize( 20, 20 ) ); |
73 | layout->addMultiCellWidget( docButton, 0, 0, 6, 6); | 73 | layout->addMultiCellWidget( docButton, 0, 0, 6, 6); |
74 | 74 | ||
75 | homeButton = new QToolButton( this,"homeButton"); | 75 | homeButton = new QToolButton( this,"homeButton"); |
76 | homeButton->setPixmap(Resource::loadPixmap("home")); | 76 | homeButton->setPixmap(Resource::loadPixmap("home")); |
77 | homeButton->setFixedSize( QSize( 20, 20 ) ); | 77 | homeButton->setFixedSize( QSize( 20, 20 ) ); |
78 | layout->addMultiCellWidget( homeButton, 0, 0, 7, 7); | 78 | layout->addMultiCellWidget( homeButton, 0, 0, 7, 7); |
79 | 79 | ||
80 | fileMenu->insertItem( tr( "Show Hidden Files" ), this, SLOT( showHidden() )); | 80 | fileMenu->insertItem( tr( "Show Hidden Files" ), this, SLOT( showMenuHidden() )); |
81 | fileMenu->setItemChecked( fileMenu->idAt(0),TRUE); | 81 | fileMenu->setItemChecked( fileMenu->idAt(0),TRUE); |
82 | fileMenu->insertSeparator(); | 82 | fileMenu->insertSeparator(); |
83 | fileMenu->insertItem( tr( "Make Directory" ), this, SLOT( mkDir() )); | 83 | fileMenu->insertItem( tr( "Make Directory" ), this, SLOT( mkDir() )); |
84 | fileMenu->insertItem( tr( "Rename" ), this, SLOT( rn() )); | 84 | fileMenu->insertItem( tr( "Rename" ), this, SLOT( rn() )); |
85 | fileMenu->insertItem( tr( "Run Command" ), this, SLOT( runCommandStd() )); | 85 | fileMenu->insertItem( tr( "Run Command" ), this, SLOT( runCommandStd() )); |
86 | fileMenu->insertItem( tr( "Run Command with Output" ), this, SLOT( runCommand() )); | 86 | fileMenu->insertItem( tr( "Run Command with Output" ), this, SLOT( runCommand() )); |
87 | fileMenu->insertSeparator(); | 87 | fileMenu->insertSeparator(); |
88 | fileMenu->insertItem( tr( "Add To Documents" ), this, SLOT( addToDocs() )); | 88 | fileMenu->insertItem( tr( "Add To Documents" ), this, SLOT( addToDocs() )); |
89 | fileMenu->insertItem( tr( "Delete" ), this, SLOT( del() )); | 89 | fileMenu->insertItem( tr( "Delete" ), this, SLOT( del() )); |
90 | fileMenu->setCheckable(TRUE); | 90 | fileMenu->setCheckable(TRUE); |
91 | 91 | ||
92 | viewMenu->insertItem( tr( "Switch to Local" ), this, SLOT( switchToLocalTab() )); | 92 | viewMenu->insertItem( tr( "Switch to Local" ), this, SLOT( switchToLocalTab() )); |
@@ -190,25 +190,24 @@ void AdvancedFm::init() { | |||
190 | currentDir.setFilter( QDir::Files | QDir::Dirs | QDir::Hidden | QDir::All); | 190 | currentDir.setFilter( QDir::Files | QDir::Dirs | QDir::Hidden | QDir::All); |
191 | currentDir.setPath( QDir::currentDirPath()); | 191 | currentDir.setPath( QDir::currentDirPath()); |
192 | 192 | ||
193 | currentRemoteDir.setFilter( QDir::Files | QDir::Dirs | QDir::Hidden | QDir::All); | 193 | currentRemoteDir.setFilter( QDir::Files | QDir::Dirs | QDir::Hidden | QDir::All); |
194 | currentRemoteDir.setPath( QDir::currentDirPath()); | 194 | currentRemoteDir.setPath( QDir::currentDirPath()); |
195 | 195 | ||
196 | b = TRUE; | 196 | b = TRUE; |
197 | 197 | ||
198 | filterStr="*"; | 198 | filterStr="*"; |
199 | b=FALSE; | 199 | b=FALSE; |
200 | 200 | ||
201 | 201 | ||
202 | |||
203 | } | 202 | } |
204 | 203 | ||
205 | void AdvancedFm::initConnections() { | 204 | void AdvancedFm::initConnections() { |
206 | connect( qApp,SIGNAL( aboutToQuit()),SLOT( cleanUp()) ); | 205 | connect( qApp,SIGNAL( aboutToQuit()),SLOT( cleanUp()) ); |
207 | connect( qpeDirButton ,SIGNAL(released()),this,SLOT( QPEButtonPushed()) ); | 206 | connect( qpeDirButton ,SIGNAL(released()),this,SLOT( QPEButtonPushed()) ); |
208 | connect( cfButton ,SIGNAL(released()),this,SLOT( CFButtonPushed()) ); | 207 | connect( cfButton ,SIGNAL(released()),this,SLOT( CFButtonPushed()) ); |
209 | connect( sdButton ,SIGNAL(released()),this,SLOT( SDButtonPushed()) ); | 208 | connect( sdButton ,SIGNAL(released()),this,SLOT( SDButtonPushed()) ); |
210 | connect( cdUpButton ,SIGNAL(released()),this,SLOT( upDir()) ); | 209 | connect( cdUpButton ,SIGNAL(released()),this,SLOT( upDir()) ); |
211 | connect( docButton,SIGNAL(released()),this,SLOT( docButtonPushed()) ); | 210 | connect( docButton,SIGNAL(released()),this,SLOT( docButtonPushed()) ); |
212 | connect(homeButton,SIGNAL(released()),this,SLOT(homeButtonPushed()) ); | 211 | connect(homeButton,SIGNAL(released()),this,SLOT(homeButtonPushed()) ); |
213 | connect( currentPathCombo, SIGNAL( activated( const QString & ) ), | 212 | connect( currentPathCombo, SIGNAL( activated( const QString & ) ), |
214 | this, SLOT( currentPathComboActivated( const QString & ) ) ); | 213 | this, SLOT( currentPathComboActivated( const QString & ) ) ); |