author | zecke <zecke> | 2003-09-01 16:33:33 (UTC) |
---|---|---|
committer | zecke <zecke> | 2003-09-01 16:33:33 (UTC) |
commit | aa1be5c49b77368999f068222f5f4e1f0d1ace0d (patch) (unidiff) | |
tree | 63f4283d3e68e6b4c1d0a81dd306276813c1a0c8 /noncore/apps/advancedfm/advancedfm.cpp | |
parent | 4e7703b3055562d93dc2d993f47888a3538429d2 (diff) | |
download | opie-aa1be5c49b77368999f068222f5f4e1f0d1ace0d.zip opie-aa1be5c49b77368999f068222f5f4e1f0d1ace0d.tar.gz opie-aa1be5c49b77368999f068222f5f4e1f0d1ace0d.tar.bz2 |
port to OSplitter but QComboBox is a sucker
Diffstat (limited to 'noncore/apps/advancedfm/advancedfm.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/advancedfm/advancedfm.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/noncore/apps/advancedfm/advancedfm.cpp b/noncore/apps/advancedfm/advancedfm.cpp index 77dca49..91318f1 100644 --- a/noncore/apps/advancedfm/advancedfm.cpp +++ b/noncore/apps/advancedfm/advancedfm.cpp | |||
@@ -16,7 +16,7 @@ | |||
16 | // #include <opie/ofileselector.h> | 16 | // #include <opie/ofileselector.h> |
17 | // #include <opie/ofiledialog.h> | 17 | // #include <opie/ofiledialog.h> |
18 | 18 | ||
19 | #include <opie/otabwidget.h> | 19 | #include <opie/osplitter.h> |
20 | 20 | ||
21 | #include <qpe/filemanager.h> | 21 | #include <qpe/filemanager.h> |
22 | #include <qpe/qcopenvelope_qws.h> | 22 | #include <qpe/qcopenvelope_qws.h> |
@@ -218,10 +218,10 @@ void AdvancedFm::rePopulate() | |||
218 | 218 | ||
219 | for(int i =1; i < 3; i++) | 219 | for(int i =1; i < 3; i++) |
220 | { | 220 | { |
221 | TabWidget->setCurrentTab(i - 1); | 221 | TabWidget->setCurrentWidget(i - 1); |
222 | populateView(); | 222 | populateView(); |
223 | } | 223 | } |
224 | TabWidget->setCurrentTab( tmpTab - 1); | 224 | TabWidget->setCurrentWidget( tmpTab - 1); |
225 | } | 225 | } |
226 | 226 | ||
227 | void AdvancedFm::ListClicked(QListViewItem *selectedItem) | 227 | void AdvancedFm::ListClicked(QListViewItem *selectedItem) |
@@ -276,13 +276,13 @@ void AdvancedFm::ListPressed( int mouse, QListViewItem *, const QPoint& , int ) | |||
276 | 276 | ||
277 | void AdvancedFm::switchToLocalTab() | 277 | void AdvancedFm::switchToLocalTab() |
278 | { | 278 | { |
279 | TabWidget->setCurrentTab(0); | 279 | TabWidget->setCurrentWidget(0); |
280 | Local_View->setFocus(); | 280 | Local_View->setFocus(); |
281 | } | 281 | } |
282 | 282 | ||
283 | void AdvancedFm::switchToRemoteTab() | 283 | void AdvancedFm::switchToRemoteTab() |
284 | { | 284 | { |
285 | TabWidget->setCurrentTab(1); | 285 | TabWidget->setCurrentWidget(1); |
286 | Remote_View->setFocus(); | 286 | Remote_View->setFocus(); |
287 | } | 287 | } |
288 | 288 | ||
@@ -862,9 +862,9 @@ QListView * AdvancedFm::OtherView() | |||
862 | void AdvancedFm::setOtherTabCurrent() | 862 | void AdvancedFm::setOtherTabCurrent() |
863 | { | 863 | { |
864 | if ( whichTab == 1) | 864 | if ( whichTab == 1) |
865 | TabWidget->setCurrentTab(1); | 865 | TabWidget->setCurrentWidget(1); |
866 | else | 866 | else |
867 | TabWidget->setCurrentTab(0); | 867 | TabWidget->setCurrentWidget(0); |
868 | } | 868 | } |
869 | 869 | ||
870 | void AdvancedFm::qcopReceive(const QCString &msg, const QByteArray &data) { | 870 | void AdvancedFm::qcopReceive(const QCString &msg, const QByteArray &data) { |