|
|
|
@ -51,7 +51,7 @@ NotifierContainer::NotifierContainer() : TQWidget() {
|
|
|
|
|
|
|
|
|
|
// Determine bottom of desktop
|
|
|
|
|
TQPoint cursorPos = TQCursor::pos();
|
|
|
|
|
TQRect r = KGlobalSettings::desktopGeometry(cursorPos);
|
|
|
|
|
TQRect r = TDEGlobalSettings::desktopGeometry(cursorPos);
|
|
|
|
|
mTopOfStack = r.height();
|
|
|
|
|
mRightOfStack = r.width();
|
|
|
|
|
}
|
|
|
|
@ -65,7 +65,7 @@ void NotifierContainer::handleGTKMain() {
|
|
|
|
|
|
|
|
|
|
void NotifierContainer::displayMessage(TQString title, TQString message, TQString icon, int x, int y) {
|
|
|
|
|
TQPixmap px;
|
|
|
|
|
KIconLoader* il = KGlobal::iconLoader();
|
|
|
|
|
KIconLoader* il = TDEGlobal::iconLoader();
|
|
|
|
|
px = il->loadIcon( icon, KIcon::NoGroup );
|
|
|
|
|
// if (px.isNull()) {
|
|
|
|
|
// px = il->loadIcon( "gnome_apps", KIcon::NoGroup );
|
|
|
|
@ -80,7 +80,7 @@ void NotifierContainer::displayMessage(TQString title, TQString message, TQStrin
|
|
|
|
|
if (mPopupList.isEmpty()) {
|
|
|
|
|
// Determine bottom of desktop
|
|
|
|
|
TQPoint cursorPos = TQCursor::pos();
|
|
|
|
|
TQRect r = KGlobalSettings::desktopGeometry(cursorPos);
|
|
|
|
|
TQRect r = TDEGlobalSettings::desktopGeometry(cursorPos);
|
|
|
|
|
mTopOfStack = r.height();
|
|
|
|
|
mRightOfStack = r.width();
|
|
|
|
|
}
|
|
|
|
@ -108,7 +108,7 @@ void NotifierContainer::popupClosed(KPassivePopup* popup) {
|
|
|
|
|
if (mPopupList.isEmpty()) {
|
|
|
|
|
// Determine bottom of desktop
|
|
|
|
|
TQPoint cursorPos = TQCursor::pos();
|
|
|
|
|
TQRect r = KGlobalSettings::desktopGeometry(cursorPos);
|
|
|
|
|
TQRect r = TDEGlobalSettings::desktopGeometry(cursorPos);
|
|
|
|
|
mTopOfStack = r.height();
|
|
|
|
|
mRightOfStack = r.width();
|
|
|
|
|
}
|
|
|
|
|