summaryrefslogtreecommitdiff
authortille <tille>2003-05-10 12:21:22 (UTC)
committer tille <tille>2003-05-10 12:21:22 (UTC)
commit65efa1e8a846f92580155d6ce7e28fe9b7ae19d2 (patch) (unidiff)
tree639b57e8e8634abd2377aab361490e941607d4e3
parentddadf9f70cbcd7c6b8addcc8c1f6ede0283f765d (diff)
downloadopie-65efa1e8a846f92580155d6ce7e28fe9b7ae19d2.zip
opie-65efa1e8a846f92580155d6ce7e28fe9b7ae19d2.tar.gz
opie-65efa1e8a846f92580155d6ce7e28fe9b7ae19d2.tar.bz2
building again
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/oipkg/mainwindow.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/unsupported/oipkg/mainwindow.h b/noncore/unsupported/oipkg/mainwindow.h
index f32352b..7446135 100644
--- a/noncore/unsupported/oipkg/mainwindow.h
+++ b/noncore/unsupported/oipkg/mainwindow.h
@@ -1,108 +1,108 @@
1/*************************************************************************** 1/***************************************************************************
2 * * 2 * *
3 * This program is free software; you can redistribute it and/or modify * 3 * This program is free software; you can redistribute it and/or modify *
4 * it under the terms of the GNU General Public License as published by * 4 * it under the terms of the GNU General Public License as published by *
5 * the Free Software Foundation; either version 2 of the License, or * 5 * the Free Software Foundation; either version 2 of the License, or *
6 * (at your option) any later version. * 6 * (at your option) any later version. *
7 * * 7 * *
8 ***************************************************************************/ 8 ***************************************************************************/
9// Copyright (C) 2000 Trolltech AS. 9// Copyright (C) 2000 Trolltech AS.
10// adadpted form qpe/qipkg 10// adadpted form qpe/qipkg
11// (c) 2002 Patrick S. Vogt <tille@handhelds.org> 11// (c) 2002 Patrick S. Vogt <tille@handhelds.org>
12 12
13#ifndef MAINWINDOW_H 13#ifndef MAINWINDOW_H
14#define MAINWINDOW_H 14#define MAINWINDOW_H
15 15
16#include <qmainwindow.h> 16#include <qmainwindow.h>
17#include <qaction.h> 17#include <qaction.h>
18#include <qtimer.h> 18#include <qtimer.h>
19#include <qpopupmenu.h> 19#include <qpopupmenu.h>
20 20
21#include "package.h" 21#include "package.h"
22#include "packagelist.h" 22#include "packagelist.h"
23#include "packagelistremote.h" 23#include "packagelistremote.h"
24#include "packagelistlocal.h" 24#include "packagelistlocal.h"
25#include "packagelistdoclnk.h" 25#include "packagelistdoclnk.h"
26#include "pmipkg.h" 26#include "pmipkg.h"
27#include "pksettings.h" 27#include "pksettings.h"
28#include "packagelistview.h" 28#include "packagelistview.h"
29 29
30class QComboBox; 30class QComboBox;
31class QPEToolBar; 31class QPEToolBar;
32class QLineEdit; 32class QLineEdit;
33class PackageListItem; 33class PackageListItem;
34class QCopChannel; 34class QCopChannel;
35class QMessageBox; 35class QMessageBox;
36class QCheckBox; 36class QCheckBox;
37 37
38class MainWindow : public QMainWindow 38class MainWindow : public QMainWindow
39{ 39{
40 Q_OBJECT 40 Q_OBJECT
41 41
42 42
43public: 43public:
44 MainWindow( QWidget *parent = 0, const char *name = 0, WFlags f = 0 ); 44 MainWindow( QWidget *parent = 0, const char *name = 0, WFlags f = 0 );
45 ~MainWindow(); 45 ~MainWindow();
46 void makeChannel();
47 46
48 QCopChannel *channel; 47 QCopChannel *channel;
49 48
50protected slots: 49protected slots:
51 void runIpkg(); 50 void runIpkg();
52 void updateList(); 51 void updateList();
53 void displayList(); 52 void displayList();
54 void subSectionChanged(); 53 void subSectionChanged();
55 void sectionChanged(); 54 void sectionChanged();
56 void showSettings(int); 55 void showSettings(int);
57 void showSettingsSetup(); 56 void showSettingsSetup();
58 void showSettingsSrv(); 57 void showSettingsSrv();
59 void showSettingsDst(); 58 void showSettingsDst();
60 59
61public slots: 60public slots:
62 void sectionClose(); 61 void sectionClose();
63 void sectionShow(bool); 62 void sectionShow(bool);
64 void findClose(); 63 void findClose();
65 void findShow(bool); 64 void findShow(bool);
66 void searchClose(); 65 void searchClose();
67 void searchShow(bool); 66 void searchShow(bool);
68 void destClose(); 67 void destClose();
69 void destShow(bool); 68 void destShow(bool);
70 void filterList(); 69 void filterList();
71 void createLinks(); 70 void createLinks();
72 void removeLinks(); 71 void removeLinks();
73 void receive (const QCString &, const QByteArray &); 72 void receive (const QCString &, const QByteArray &);
74 void setDocument (const QString &); 73 void setDocument (const QString &);
75 void remotePackageQuery(); 74 void remotePackageQuery();
76 75
77private: 76private:
78 void makeMenu(); 77 void makeMenu();
78 void makeChannel();
79 void setSections(); 79 void setSections();
80 void setSubSections(); 80 void setSubSections();
81 bool updateIcon; 81 bool updateIcon;
82 82
83 PmIpkg* ipkg; 83 PmIpkg* ipkg;
84 PackageManagerSettings *settings; 84 PackageManagerSettings *settings;
85 PackageListLocal packageListServers; 85 PackageListLocal packageListServers;
86 PackageListRemote packageListSearch; 86 PackageListRemote packageListSearch;
87 PackageListDocLnk packageListDocLnk; 87 PackageListDocLnk packageListDocLnk;
88 PackageListView *listViewPackages; 88 PackageListView *listViewPackages;
89 QAction *runAction; 89 QAction *runAction;
90 QAction *updateAction; 90 QAction *updateAction;
91 QAction *findAction; 91 QAction *findAction;
92 QPEToolBar *findBar; 92 QPEToolBar *findBar;
93 QLineEdit *findEdit; 93 QLineEdit *findEdit;
94 QAction *searchAction; 94 QAction *searchAction;
95 QAction *searchCommit; 95 QAction *searchCommit;
96 QPEToolBar *searchBar; 96 QPEToolBar *searchBar;
97 QLineEdit *searchEdit; 97 QLineEdit *searchEdit;
98 QAction *sectionAction; 98 QAction *sectionAction;
99 QPEToolBar *sectionBar; 99 QPEToolBar *sectionBar;
100 QComboBox *section; 100 QComboBox *section;
101 QComboBox *subsection; 101 QComboBox *subsection;
102 QAction *destAction; 102 QAction *destAction;
103 QPEToolBar *destBar; 103 QPEToolBar *destBar;
104 QComboBox *destination; 104 QComboBox *destination;
105 QCheckBox* CheckBoxLink; 105 QCheckBox* CheckBoxLink;
106}; 106};
107 107
108#endif 108#endif