Diffstat (limited to 'noncore/settings/aqpkg/networkpkgmgr.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/aqpkg/networkpkgmgr.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/noncore/settings/aqpkg/networkpkgmgr.h b/noncore/settings/aqpkg/networkpkgmgr.h index 6b552ee..efef898 100644 --- a/noncore/settings/aqpkg/networkpkgmgr.h +++ b/noncore/settings/aqpkg/networkpkgmgr.h | |||
@@ -44,52 +44,51 @@ public: | |||
44 | void searchForPackage( bool findNext ); | 44 | void searchForPackage( bool findNext ); |
45 | void showOnlyUninstalledPackages( bool val ); | 45 | void showOnlyUninstalledPackages( bool val ); |
46 | void showOnlyInstalledPackages( bool val ); | 46 | void showOnlyInstalledPackages( bool val ); |
47 | void showUpgradedPackages( bool val ); | 47 | void showUpgradedPackages( bool val ); |
48 | bool filterByCategory( bool val ); | 48 | bool filterByCategory( bool val ); |
49 | bool setFilterCategory(); | 49 | bool setFilterCategory(); |
50 | 50 | ||
51 | private: | 51 | private: |
52 | DataManager *dataMgr; | 52 | DataManager *dataMgr; |
53 | 53 | ||
54 | QComboBox *serversList; | 54 | QComboBox *serversList; |
55 | QListView *packagesList; | 55 | QListView *packagesList; |
56 | QPushButton *update; | ||
57 | QPushButton *upgrade; | ||
58 | QPushButton *download; | ||
59 | QPushButton *apply; | ||
60 | 56 | ||
61 | QString currentlySelectedServer; | 57 | QString currentlySelectedServer; |
62 | QString lastSearchText; | 58 | QString lastSearchText; |
63 | QString categoryFilter; | 59 | QString categoryFilter; |
64 | 60 | ||
65 | bool categoryFilterEnabled; | 61 | bool categoryFilterEnabled; |
66 | bool showJumpTo; | 62 | bool showJumpTo; |
67 | bool showUninstalledPkgs; | 63 | bool showUninstalledPkgs; |
68 | bool showInstalledPkgs; | 64 | bool showInstalledPkgs; |
69 | bool showUpgradedPkgs; | 65 | bool showUpgradedPkgs; |
70 | 66 | ||
67 | bool downloadEnabled; | ||
68 | |||
71 | void initGui(); | 69 | void initGui(); |
72 | void setupConnections(); | ||
73 | void showProgressDialog( char *initialText ); | 70 | void showProgressDialog( char *initialText ); |
74 | void downloadSelectedPackages(); | 71 | void downloadSelectedPackages(); |
75 | void downloadRemotePackage(); | 72 | void downloadRemotePackage(); |
76 | void serverSelected( int index, bool showProgress ); | 73 | void serverSelected( int index, bool showProgress ); |
77 | 74 | ||
78 | InstallData dealWithItem( QCheckListItem *item ); | 75 | InstallData dealWithItem( QCheckListItem *item ); |
79 | QString stickyOption; | 76 | QString stickyOption; |
80 | 77 | ||
81 | signals: | 78 | signals: |
82 | void appRaiseMainWidget(); | 79 | void appRaiseMainWidget(); |
83 | void appRaiseProgressWidget(); | 80 | void appRaiseProgressWidget(); |
81 | void appEnableUpgrade( bool ); | ||
82 | void appEnableDownload( bool ); | ||
84 | void progressSetSteps( int ); | 83 | void progressSetSteps( int ); |
85 | void progressSetMessage( const QString & ); | 84 | void progressSetMessage( const QString & ); |
86 | void progressUpdate( int ); | 85 | void progressUpdate( int ); |
87 | 86 | ||
88 | public slots: | 87 | public slots: |
89 | void applyChanges(); | 88 | void applyChanges(); |
90 | void upgradePackages(); | 89 | void upgradePackages(); |
91 | void downloadPackage(); | 90 | void downloadPackage(); |
92 | void updateServer(); | 91 | void updateServer(); |
93 | void displayText( const QString &t ); | 92 | void displayText( const QString &t ); |
94 | void letterPushed( QString t ); | 93 | void letterPushed( QString t ); |
95 | void serverSelected( int index ); | 94 | void serverSelected( int index ); |