41 #ifndef NCPkgPopupDiskspace_h
42 #define NCPkgPopupDiskspace_h
55 typedef zypp::DiskUsageCounter::MountPoint ZyppPartitionDu;
56 typedef zypp::DiskUsageCounter::MountPointSet ZyppDuSet;
57 typedef zypp::DiskUsageCounter::MountPointSet::iterator ZyppDuSetIterator;
140 void logSettings()
const;
165 NCTable * partitions;
166 NCPushButton * okButton;
171 virtual bool postAgain();
173 virtual NCursesEvent wHandleInput( wint_t ch );
180 void createLayout( std::string headline );
183 NCTable *Partitions() {
return partitions; }
185 virtual int preferredWidth();
186 virtual int preferredHeight();
205 ZyppDuSet testDiskUsage;
207 std::string usedPercent( FSize used, FSize total );
227 void fillPartitionTable();
229 std::string checkDiskSpace();
231 void setDiskSpace( wint_t key );
233 void checkDiskSpaceRange( );
235 void showInfoPopup( std::string headline );
237 void checkRemainingDiskSpace(
const ZyppPartitionDu & partition );
239 zypp::ByteCount calculateDiff();
246 #endif // NCPkgPopupDiskspace_h
void warningPostedNotify()
bool leavingProximity() const
NCPkgWarningRangeNotifier()