author | llornkcor <llornkcor> | 2003-04-12 22:52:57 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2003-04-12 22:52:57 (UTC) |
commit | 8c18ce3f56a59783f7e37706ccaf133e958baa5e (patch) (unidiff) | |
tree | bf47047efff30e45878a049d995ac5e7a9ab683f | |
parent | 2cc909c36a779d1041a3382939f8ad41d84b0fc5 (diff) | |
download | opie-8c18ce3f56a59783f7e37706ccaf133e958baa5e.zip opie-8c18ce3f56a59783f7e37706ccaf133e958baa5e.tar.gz opie-8c18ce3f56a59783f7e37706ccaf133e958baa5e.tar.bz2 |
hide about item
-rw-r--r-- | noncore/apps/advancedfm/advancedfmData.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/noncore/apps/advancedfm/advancedfmData.cpp b/noncore/apps/advancedfm/advancedfmData.cpp index 90425dc..1a7a6d7 100644 --- a/noncore/apps/advancedfm/advancedfmData.cpp +++ b/noncore/apps/advancedfm/advancedfmData.cpp | |||
@@ -95,26 +95,26 @@ void AdvancedFm::init() { | |||
95 | fileMenu->insertItem( tr( "Rename" ), this, SLOT( rn() )); | 95 | fileMenu->insertItem( tr( "Rename" ), this, SLOT( rn() )); |
96 | fileMenu->insertItem( tr( "Run Command" ), this, SLOT( runCommandStd() )); | 96 | fileMenu->insertItem( tr( "Run Command" ), this, SLOT( runCommandStd() )); |
97 | fileMenu->insertItem( tr( "Run Command with Output" ), this, SLOT( runCommand() )); | 97 | fileMenu->insertItem( tr( "Run Command with Output" ), this, SLOT( runCommand() )); |
98 | fileMenu->insertSeparator(); | 98 | fileMenu->insertSeparator(); |
99 | fileMenu->insertItem( tr( "Make Symlink" ), this, SLOT( mkSym() )); | 99 | fileMenu->insertItem( tr( "Make Symlink" ), this, SLOT( mkSym() )); |
100 | fileMenu->insertItem( tr( "Select All" ), this, SLOT( selectAll() )); | 100 | fileMenu->insertItem( tr( "Select All" ), this, SLOT( selectAll() )); |
101 | fileMenu->insertItem( tr( "Add To Documents" ), this, SLOT( addToDocs() )); | 101 | fileMenu->insertItem( tr( "Add To Documents" ), this, SLOT( addToDocs() )); |
102 | fileMenu->insertItem( tr( "Delete" ), this, SLOT( del() )); | 102 | fileMenu->insertItem( tr( "Delete" ), this, SLOT( del() )); |
103 | fileMenu->setCheckable(TRUE); | 103 | fileMenu->setCheckable(TRUE); |
104 | 104 | ||
105 | viewMenu->insertItem( tr( "Switch to Local" ), this, SLOT( switchToLocalTab() )); | 105 | viewMenu->insertItem( tr( "Switch to Local" ), this, SLOT( switchToLocalTab() )); |
106 | viewMenu->insertItem( tr( "Switch to Remote" ), this, SLOT( switchToRemoteTab() )); | 106 | viewMenu->insertItem( tr( "Switch to Remote" ), this, SLOT( switchToRemoteTab() )); |
107 | viewMenu->insertSeparator(); | 107 | // viewMenu->insertSeparator(); |
108 | viewMenu->insertItem( tr( "About" ), this, SLOT( doAbout() )); | 108 | // viewMenu->insertItem( tr( "About" ), this, SLOT( doAbout() )); |
109 | viewMenu->setCheckable(TRUE); | 109 | viewMenu->setCheckable(TRUE); |
110 | 110 | ||
111 | s_addBookmark = tr("Bookmark Directory"); | 111 | s_addBookmark = tr("Bookmark Directory"); |
112 | s_removeBookmark = tr("Remove Current Directory from Bookmarks"); | 112 | s_removeBookmark = tr("Remove Current Directory from Bookmarks"); |
113 | 113 | ||
114 | menuButton->setUseLabel(false); | 114 | menuButton->setUseLabel(false); |
115 | menuButton->insertItem( s_addBookmark); | 115 | menuButton->insertItem( s_addBookmark); |
116 | menuButton->insertItem( s_removeBookmark); | 116 | menuButton->insertItem( s_removeBookmark); |
117 | menuButton->insertSeparator(); | 117 | menuButton->insertSeparator(); |
118 | // menuButton->insertItem(""); | 118 | // menuButton->insertItem(""); |
119 | 119 | ||
120 | // customDirMenu->insertItem(tr("Add This Directory")); | 120 | // customDirMenu->insertItem(tr("Add This Directory")); |
@@ -225,37 +225,37 @@ void AdvancedFm::init() { | |||
225 | b = TRUE; | 225 | b = TRUE; |
226 | 226 | ||
227 | filterStr="*"; | 227 | filterStr="*"; |
228 | b=FALSE; | 228 | b=FALSE; |
229 | TabWidget->setCurrentTab(0); | 229 | TabWidget->setCurrentTab(0); |
230 | 230 | ||
231 | } | 231 | } |
232 | 232 | ||
233 | void AdvancedFm::initConnections() | 233 | void AdvancedFm::initConnections() |
234 | { | 234 | { |
235 | 235 | ||
236 | connect( qApp,SIGNAL( aboutToQuit()), | 236 | connect( qApp,SIGNAL( aboutToQuit()), |
237 | this, SLOT( cleanUp()) ); | 237 | this, SLOT( cleanUp()) ); |
238 | connect( qpeDirButton ,SIGNAL(released()), | 238 | connect( qpeDirButton ,SIGNAL(released()), |
239 | this,SLOT( QPEButtonPushed()) ); | 239 | this,SLOT( QPEButtonPushed()) ); |
240 | connect( cfButton ,SIGNAL(released()), | 240 | connect( cfButton ,SIGNAL(released()), |
241 | this,SLOT( CFButtonPushed()) ); | 241 | this,SLOT( CFButtonPushed()) ); |
242 | connect( sdButton ,SIGNAL(released()), | 242 | connect( sdButton ,SIGNAL(released()), |
243 | this,SLOT( SDButtonPushed()) ); | 243 | this,SLOT( SDButtonPushed()) ); |
244 | connect( cdUpButton ,SIGNAL(released()), | 244 | connect( cdUpButton ,SIGNAL(released()), |
245 | this,SLOT( upDir()) ); | 245 | this,SLOT( upDir()) ); |
246 | connect( docButton,SIGNAL(released()), | 246 | connect( docButton,SIGNAL(released()), |
247 | this,SLOT( docButtonPushed()) ); | 247 | this,SLOT( docButtonPushed()) ); |
248 | connect( homeButton,SIGNAL(released()), | 248 | connect( homeButton,SIGNAL(released()), |
249 | this,SLOT( homeButtonPushed()) ); | 249 | this,SLOT( homeButtonPushed()) ); |
250 | connect( currentPathCombo, SIGNAL( activated( const QString & ) ), | 250 | connect( currentPathCombo, SIGNAL( activated( const QString & ) ), |
251 | this, SLOT( currentPathComboActivated( const QString & ) ) ); | 251 | this, SLOT( currentPathComboActivated( const QString & ) ) ); |
252 | 252 | ||
253 | connect( currentPathCombo->lineEdit(),SIGNAL(returnPressed()), | 253 | connect( currentPathCombo->lineEdit(),SIGNAL(returnPressed()), |
254 | this,SLOT(currentPathComboChanged())); | 254 | this,SLOT(currentPathComboChanged())); |
255 | 255 | ||
256 | connect( Local_View, SIGNAL( clicked( QListViewItem*)), | 256 | connect( Local_View, SIGNAL( clicked( QListViewItem*)), |
257 | this,SLOT( ListClicked(QListViewItem *)) ); | 257 | this,SLOT( ListClicked(QListViewItem *)) ); |
258 | connect( Local_View, SIGNAL( mouseButtonPressed( int, QListViewItem *, const QPoint&, int)), | 258 | connect( Local_View, SIGNAL( mouseButtonPressed( int, QListViewItem *, const QPoint&, int)), |
259 | this,SLOT( ListPressed(int, QListViewItem *, const QPoint&, int)) ); | 259 | this,SLOT( ListPressed(int, QListViewItem *, const QPoint&, int)) ); |
260 | 260 | ||
261 | connect( Local_View, SIGNAL( selectionChanged() ), SLOT( cancelMenuTimer() ) ); | 261 | connect( Local_View, SIGNAL( selectionChanged() ), SLOT( cancelMenuTimer() ) ); |