summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2003-04-12 22:52:57 (UTC)
committer llornkcor <llornkcor>2003-04-12 22:52:57 (UTC)
commit8c18ce3f56a59783f7e37706ccaf133e958baa5e (patch) (unidiff)
treebf47047efff30e45878a049d995ac5e7a9ab683f
parent2cc909c36a779d1041a3382939f8ad41d84b0fc5 (diff)
downloadopie-8c18ce3f56a59783f7e37706ccaf133e958baa5e.zip
opie-8c18ce3f56a59783f7e37706ccaf133e958baa5e.tar.gz
opie-8c18ce3f56a59783f7e37706ccaf133e958baa5e.tar.bz2
hide about item
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/advancedfm/advancedfmData.cpp18
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
@@ -11,268 +11,268 @@
11 ***************************************************************************/ 11 ***************************************************************************/
12#include "advancedfm.h" 12#include "advancedfm.h"
13 13
14#include <opie/otabwidget.h> 14#include <opie/otabwidget.h>
15#include <qpe/qpeapplication.h> 15#include <qpe/qpeapplication.h>
16#include <qpe/qpemenubar.h> 16#include <qpe/qpemenubar.h>
17#include <qpe/qpetoolbar.h> 17#include <qpe/qpetoolbar.h>
18#include <qpe/resource.h> 18#include <qpe/resource.h>
19#include <qpe/menubutton.h> 19#include <qpe/menubutton.h>
20#include <qpe/config.h> 20#include <qpe/config.h>
21 21
22#include <qlayout.h> 22#include <qlayout.h>
23#include <qpixmap.h> 23#include <qpixmap.h>
24#include <qcombobox.h> 24#include <qcombobox.h>
25#include <qpopupmenu.h> 25#include <qpopupmenu.h>
26#include <qtabwidget.h> 26#include <qtabwidget.h>
27#include <qtoolbutton.h> 27#include <qtoolbutton.h>
28#include <qlineedit.h> 28#include <qlineedit.h>
29#include <qlistview.h> 29#include <qlistview.h>
30 30
31#include <sys/utsname.h> 31#include <sys/utsname.h>
32 32
33 33
34void AdvancedFm::init() { 34void AdvancedFm::init() {
35#if defined(QT_QWS_OPIE) 35#if defined(QT_QWS_OPIE)
36 qDebug("<<<<<<<<<<<<<<<<<<<<<<<< OPIE!!!"); 36 qDebug("<<<<<<<<<<<<<<<<<<<<<<<< OPIE!!!");
37#endif 37#endif
38 setCaption( tr( "AdvancedFm" ) ); 38 setCaption( tr( "AdvancedFm" ) );
39 39
40 QGridLayout *layout = new QGridLayout( this ); 40 QGridLayout *layout = new QGridLayout( this );
41 layout->setSpacing( 2); 41 layout->setSpacing( 2);
42 layout->setMargin( 2); 42 layout->setMargin( 2);
43 43
44 44
45 QPEMenuBar *menuBar = new QPEMenuBar(this); 45 QPEMenuBar *menuBar = new QPEMenuBar(this);
46 fileMenu = new QPopupMenu( this ); 46 fileMenu = new QPopupMenu( this );
47 viewMenu = new QPopupMenu( this ); 47 viewMenu = new QPopupMenu( this );
48// customDirMenu = new QPopupMenu( this ); 48// customDirMenu = new QPopupMenu( this );
49 49
50 layout->addMultiCellWidget( menuBar, 0, 0, 0, 1 ); 50 layout->addMultiCellWidget( menuBar, 0, 0, 0, 1 );
51 51
52 menuBar->insertItem( tr( "File" ), fileMenu); 52 menuBar->insertItem( tr( "File" ), fileMenu);
53 menuBar->insertItem( tr( "View" ), viewMenu); 53 menuBar->insertItem( tr( "View" ), viewMenu);
54// menuBar->insertItem( tr( "^" ), customDirMenu); 54// menuBar->insertItem( tr( "^" ), customDirMenu);
55 55
56 cdUpButton = new QToolButton( this,"cdUpButton"); 56 cdUpButton = new QToolButton( this,"cdUpButton");
57 cdUpButton->setPixmap(Resource::loadPixmap("up")); 57 cdUpButton->setPixmap(Resource::loadPixmap("up"));
58 cdUpButton->setFixedSize( QSize( 20, 20 ) ); 58 cdUpButton->setFixedSize( QSize( 20, 20 ) );
59 layout->addMultiCellWidget( cdUpButton , 0, 0, 2, 2); 59 layout->addMultiCellWidget( cdUpButton , 0, 0, 2, 2);
60 60
61 menuButton = new MenuButton(this); 61 menuButton = new MenuButton(this);
62 menuButton->setFixedSize( QSize( 20, 20 ) ); 62 menuButton->setFixedSize( QSize( 20, 20 ) );
63 layout->addMultiCellWidget( menuButton , 0, 0, 3, 3); 63 layout->addMultiCellWidget( menuButton , 0, 0, 3, 3);
64 64
65 qpeDirButton= new QToolButton(this,"QPEButton"); 65 qpeDirButton= new QToolButton(this,"QPEButton");
66 qpeDirButton->setPixmap( Resource::loadPixmap("launcher/opielogo16x16"));//,"",this,"QPEButton"); 66 qpeDirButton->setPixmap( Resource::loadPixmap("launcher/opielogo16x16"));//,"",this,"QPEButton");
67 qpeDirButton ->setFixedSize( QSize( 20, 20 ) ); 67 qpeDirButton ->setFixedSize( QSize( 20, 20 ) );
68 layout->addMultiCellWidget( qpeDirButton , 0, 0, 4, 4); 68 layout->addMultiCellWidget( qpeDirButton , 0, 0, 4, 4);
69 69
70 cfButton = new QToolButton( this,"CFButton"); 70 cfButton = new QToolButton( this,"CFButton");
71 cfButton->setPixmap(Resource::loadPixmap("cardmon/pcmcia")); 71 cfButton->setPixmap(Resource::loadPixmap("cardmon/pcmcia"));
72 cfButton ->setFixedSize( QSize( 20, 20 ) ); 72 cfButton ->setFixedSize( QSize( 20, 20 ) );
73 layout->addMultiCellWidget( cfButton , 0, 0, 5, 5); 73 layout->addMultiCellWidget( cfButton , 0, 0, 5, 5);
74 74
75 sdButton = new QToolButton( this,"SDButton"); 75 sdButton = new QToolButton( this,"SDButton");
76 sdButton->setPixmap(Resource::loadPixmap("advancedfm/sdcard")); 76 sdButton->setPixmap(Resource::loadPixmap("advancedfm/sdcard"));
77 sdButton->setFixedSize( QSize( 20, 20 ) ); 77 sdButton->setFixedSize( QSize( 20, 20 ) );
78 layout->addMultiCellWidget( sdButton , 0, 0, 6, 6); 78 layout->addMultiCellWidget( sdButton , 0, 0, 6, 6);
79 79
80 80
81 docButton = new QToolButton( this,"docsButton"); 81 docButton = new QToolButton( this,"docsButton");
82 docButton->setPixmap(Resource::loadPixmap("DocsIcon")); 82 docButton->setPixmap(Resource::loadPixmap("DocsIcon"));
83 docButton->setFixedSize( QSize( 20, 20 ) ); 83 docButton->setFixedSize( QSize( 20, 20 ) );
84 layout->addMultiCellWidget( docButton, 0, 0, 7, 7); 84 layout->addMultiCellWidget( docButton, 0, 0, 7, 7);
85 85
86 homeButton = new QToolButton( this,"homeButton"); 86 homeButton = new QToolButton( this,"homeButton");
87 homeButton->setPixmap(Resource::loadPixmap("home")); 87 homeButton->setPixmap(Resource::loadPixmap("home"));
88 homeButton->setFixedSize( QSize( 20, 20 ) ); 88 homeButton->setFixedSize( QSize( 20, 20 ) );
89 layout->addMultiCellWidget( homeButton, 0, 0, 8, 8); 89 layout->addMultiCellWidget( homeButton, 0, 0, 8, 8);
90 90
91 fileMenu->insertItem( tr( "Show Hidden Files" ), this, SLOT( showMenuHidden() )); 91 fileMenu->insertItem( tr( "Show Hidden Files" ), this, SLOT( showMenuHidden() ));
92 fileMenu->setItemChecked( fileMenu->idAt(0),TRUE); 92 fileMenu->setItemChecked( fileMenu->idAt(0),TRUE);
93 fileMenu->insertSeparator(); 93 fileMenu->insertSeparator();
94 fileMenu->insertItem( tr( "Make Directory" ), this, SLOT( mkDir() )); 94 fileMenu->insertItem( tr( "Make Directory" ), this, SLOT( mkDir() ));
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"));
121// customDirMenu->insertItem(tr("Remove This Directory")); 121// customDirMenu->insertItem(tr("Remove This Directory"));
122// customDirMenu->insertSeparator(); 122// customDirMenu->insertSeparator();
123 123
124 customDirsToMenu(); 124 customDirsToMenu();
125 125
126 currentPathCombo = new QComboBox( FALSE, this, "currentPathCombo" ); 126 currentPathCombo = new QComboBox( FALSE, this, "currentPathCombo" );
127 currentPathCombo->setEditable(TRUE); 127 currentPathCombo->setEditable(TRUE);
128 layout->addMultiCellWidget( currentPathCombo, 1, 1, 0, 8); 128 layout->addMultiCellWidget( currentPathCombo, 1, 1, 0, 8);
129 currentPathCombo->lineEdit()->setText( currentDir.canonicalPath()); 129 currentPathCombo->lineEdit()->setText( currentDir.canonicalPath());
130 130
131 currentPathCombo->lineEdit()->setText( currentDir.canonicalPath()); 131 currentPathCombo->lineEdit()->setText( currentDir.canonicalPath());
132 132
133 layout->addMultiCellWidget( currentPathCombo, 1, 1, 0, 8); 133 layout->addMultiCellWidget( currentPathCombo, 1, 1, 0, 8);
134 134
135 135
136 TabWidget = new OTabWidget( this, "TabWidget",/* OTabWidget::Global | */OTabWidget::IconTab); 136 TabWidget = new OTabWidget( this, "TabWidget",/* OTabWidget::Global | */OTabWidget::IconTab);
137// TabWidget = new QTabWidget( this, "TabWidget" ); 137// TabWidget = new QTabWidget( this, "TabWidget" );
138 layout->addMultiCellWidget( TabWidget, 2, 2, 0, 8); 138 layout->addMultiCellWidget( TabWidget, 2, 2, 0, 8);
139 139
140 tab = new QWidget( TabWidget, "tab" ); 140 tab = new QWidget( TabWidget, "tab" );
141 tabLayout = new QGridLayout( tab ); 141 tabLayout = new QGridLayout( tab );
142 tabLayout->setSpacing( 2); 142 tabLayout->setSpacing( 2);
143 tabLayout->setMargin( 2); 143 tabLayout->setMargin( 2);
144 144
145 Local_View = new QListView( tab, "Local_View" ); 145 Local_View = new QListView( tab, "Local_View" );
146 Local_View->addColumn( tr("File"),130); 146 Local_View->addColumn( tr("File"),130);
147 Local_View->addColumn( tr("Size"),-1); 147 Local_View->addColumn( tr("Size"),-1);
148 Local_View->setColumnAlignment(1,QListView::AlignRight); 148 Local_View->setColumnAlignment(1,QListView::AlignRight);
149 Local_View->addColumn( tr("Date"),-1); 149 Local_View->addColumn( tr("Date"),-1);
150 Local_View->setColumnAlignment(2,QListView::AlignRight); 150 Local_View->setColumnAlignment(2,QListView::AlignRight);
151 Local_View->setAllColumnsShowFocus(TRUE); 151 Local_View->setAllColumnsShowFocus(TRUE);
152 Local_View->setMultiSelection( TRUE ); 152 Local_View->setMultiSelection( TRUE );
153 Local_View->setSelectionMode(QListView::Extended); 153 Local_View->setSelectionMode(QListView::Extended);
154 154
155 QPEApplication::setStylusOperation( Local_View->viewport(),QPEApplication::RightOnHold); 155 QPEApplication::setStylusOperation( Local_View->viewport(),QPEApplication::RightOnHold);
156 156
157 tabLayout->addWidget( Local_View, 0, 0 ); 157 tabLayout->addWidget( Local_View, 0, 0 );
158 158
159 TabWidget->addTab( tab,"advancedfm/smFileBrowser.png", tr("1")); 159 TabWidget->addTab( tab,"advancedfm/smFileBrowser.png", tr("1"));
160// TabWidget->insertTab( tab, tr("1")); 160// TabWidget->insertTab( tab, tr("1"));
161 161
162 tab_2 = new QWidget( TabWidget, "tab_2" ); 162 tab_2 = new QWidget( TabWidget, "tab_2" );
163 tabLayout_2 = new QGridLayout( tab_2 ); 163 tabLayout_2 = new QGridLayout( tab_2 );
164 tabLayout_2->setSpacing( 2); 164 tabLayout_2->setSpacing( 2);
165 tabLayout_2->setMargin( 2); 165 tabLayout_2->setMargin( 2);
166 166
167 Remote_View = new QListView( tab_2, "Remote_View" ); 167 Remote_View = new QListView( tab_2, "Remote_View" );
168 Remote_View->addColumn( tr("File"),130); 168 Remote_View->addColumn( tr("File"),130);
169 Remote_View->addColumn( tr("Size"),-1); 169 Remote_View->addColumn( tr("Size"),-1);
170 Remote_View->setColumnAlignment(1,QListView::AlignRight); 170 Remote_View->setColumnAlignment(1,QListView::AlignRight);
171 Remote_View->addColumn( tr("Date"),-1); 171 Remote_View->addColumn( tr("Date"),-1);
172 Remote_View->setColumnAlignment(2,QListView::AlignRight); 172 Remote_View->setColumnAlignment(2,QListView::AlignRight);
173 Remote_View->setAllColumnsShowFocus(TRUE); 173 Remote_View->setAllColumnsShowFocus(TRUE);
174 Remote_View->setMultiSelection( TRUE ); 174 Remote_View->setMultiSelection( TRUE );
175 Remote_View->setSelectionMode(QListView::Extended); 175 Remote_View->setSelectionMode(QListView::Extended);
176 176
177 177
178 QPEApplication::setStylusOperation( Remote_View->viewport(),QPEApplication::RightOnHold); 178 QPEApplication::setStylusOperation( Remote_View->viewport(),QPEApplication::RightOnHold);
179 179
180 tabLayout_2->addWidget( Remote_View, 0, 0 ); 180 tabLayout_2->addWidget( Remote_View, 0, 0 );
181 181
182 TabWidget->addTab( tab_2, "advancedfm/smFileBrowser.png",tr( "2")); 182 TabWidget->addTab( tab_2, "advancedfm/smFileBrowser.png",tr( "2"));
183// TabWidget->insertTab( tab_2, tr( "2")); 183// TabWidget->insertTab( tab_2, tr( "2"));
184 184
185 /* tab_3 = new QWidget( TabWidget, "tab_3" ); 185 /* tab_3 = new QWidget( TabWidget, "tab_3" );
186 tabLayout_3 = new QGridLayout( tab_3 ); 186 tabLayout_3 = new QGridLayout( tab_3 );
187 tabLayout_3->setSpacing( 2); 187 tabLayout_3->setSpacing( 2);
188 tabLayout_3->setMargin( 2); 188 tabLayout_3->setMargin( 2);
189 189
190 190
191 // OFileDialog fileDialog; 191 // OFileDialog fileDialog;
192 // fileDialog; 192 // fileDialog;
193 // fileSelector = new FileSelector( "*",tab_3, "fileselector" , FALSE, FALSE); //buggy 193 // fileSelector = new FileSelector( "*",tab_3, "fileselector" , FALSE, FALSE); //buggy
194 // fileDialog = new OFileDialog("bangalow", tab_3, 4, 2, "Bungalow"); 194 // fileDialog = new OFileDialog("bangalow", tab_3, 4, 2, "Bungalow");
195 // OFileSelector fileDialog = new OFileSelector( tab_3, 4, 2,"/"); 195 // OFileSelector fileDialog = new OFileSelector( tab_3, 4, 2,"/");
196 196
197 QListView *fileTree; 197 QListView *fileTree;
198 fileTree = new QListView( tab_3, "tree" ); 198 fileTree = new QListView( tab_3, "tree" );
199 199
200 200
201 tabLayout_3->addMultiCellWidget( fileTree, 0, 0, 0, 3 ); 201 tabLayout_3->addMultiCellWidget( fileTree, 0, 0, 0, 3 );
202 202
203 TabWidget->insertTab( tab_3, tr( "Remote" ) ); 203 TabWidget->insertTab( tab_3, tr( "Remote" ) );
204 */ 204 */
205 205
206 /////////////// 206 ///////////////
207 207
208 struct utsname name; /* check for embedix kernel running on the zaurus*/ 208 struct utsname name; /* check for embedix kernel running on the zaurus*/
209 if (uname(&name) != -1) { 209 if (uname(&name) != -1) {
210 QString release=name.release; 210 QString release=name.release;
211 if(release.find("embedix",0,TRUE) !=-1) { 211 if(release.find("embedix",0,TRUE) !=-1) {
212 zaurusDevice=TRUE; 212 zaurusDevice=TRUE;
213 } else { 213 } else {
214 zaurusDevice=FALSE; 214 zaurusDevice=FALSE;
215 sdButton->hide(); 215 sdButton->hide();
216 } 216 }
217 } 217 }
218 218
219 currentDir.setFilter( QDir::Files | QDir::Dirs | QDir::Hidden | QDir::All); 219 currentDir.setFilter( QDir::Files | QDir::Dirs | QDir::Hidden | QDir::All);
220 currentDir.setPath( QDir::currentDirPath()); 220 currentDir.setPath( QDir::currentDirPath());
221 221
222 currentRemoteDir.setFilter( QDir::Files | QDir::Dirs | QDir::Hidden | QDir::All); 222 currentRemoteDir.setFilter( QDir::Files | QDir::Dirs | QDir::Hidden | QDir::All);
223 currentRemoteDir.setPath( QDir::currentDirPath()); 223 currentRemoteDir.setPath( QDir::currentDirPath());
224 224
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
233void AdvancedFm::initConnections() 233void 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() ) );
262 262
263 connect( Remote_View, SIGNAL( clicked( QListViewItem*)), 263 connect( Remote_View, SIGNAL( clicked( QListViewItem*)),
264 this,SLOT( ListClicked(QListViewItem *)) ); 264 this,SLOT( ListClicked(QListViewItem *)) );
265 connect( Remote_View, SIGNAL( mouseButtonPressed( int, QListViewItem *, const QPoint&, int)), 265 connect( Remote_View, SIGNAL( mouseButtonPressed( int, QListViewItem *, const QPoint&, int)),
266 this,SLOT( ListPressed(int, QListViewItem *, const QPoint&, int)) ); 266 this,SLOT( ListPressed(int, QListViewItem *, const QPoint&, int)) );
267 267
268 connect( TabWidget,SIGNAL(currentChanged(QWidget *)), 268 connect( TabWidget,SIGNAL(currentChanged(QWidget *)),
269 this,SLOT(tabChanged(QWidget*))); 269 this,SLOT(tabChanged(QWidget*)));
270 270
271 connect( &menuTimer, SIGNAL( timeout() ), SLOT( showFileMenu() ) ); 271 connect( &menuTimer, SIGNAL( timeout() ), SLOT( showFileMenu() ) );
272 272
273 connect( menuButton, SIGNAL( selected(const QString &)), SLOT(gotoCustomDir(const QString&))); 273 connect( menuButton, SIGNAL( selected(const QString &)), SLOT(gotoCustomDir(const QString&)));
274// connect( menuButton, SIGNAL( selected( int)), SLOT( dirMenuSelected(int))); 274// connect( menuButton, SIGNAL( selected( int)), SLOT( dirMenuSelected(int)));
275 275
276// connect( customDirMenu, SIGNAL( activated(int)), this, SLOT( dirMenuSelected(int))); 276// connect( customDirMenu, SIGNAL( activated(int)), this, SLOT( dirMenuSelected(int)));
277 277
278} 278}