Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent 050e2361d4
commit 2381863623

@ -1623,7 +1623,7 @@ int LDAPController::createNewLDAPRealm(TQWidget* dialogparent, LDAPRealmConfig r
tqApp->processEvents(); tqApp->processEvents();
// Load database // Load database
KProcess slapadd; TDEProcess slapadd;
slapadd << "slapadd" << "-l" << configTempDir.name() + "skel.ldif"; slapadd << "slapadd" << "-l" << configTempDir.name() + "skel.ldif";
slapadd.start(); slapadd.start();
while (slapadd.isRunning()) { while (slapadd.isRunning()) {

@ -345,7 +345,7 @@ void PrimaryRealmWizard::setPosition() {
hint.setHeight(finish_size.height()); hint.setHeight(finish_size.height());
// set the position // set the position
TQRect rect = KGlobalSettings::desktopGeometry(TQCursor::pos()); TQRect rect = TDEGlobalSettings::desktopGeometry(TQCursor::pos());
int w = rect.x() + (rect.width() - hint.width())/2 - 9; int w = rect.x() + (rect.width() - hint.width())/2 - 9;
int h = rect.y() + (rect.height() - hint.height())/2; int h = rect.y() + (rect.height() - hint.height())/2;
move(w, h); move(w, h);

@ -253,7 +253,7 @@ void SecondaryRealmWizard::setPosition() {
hint.setHeight(finish_size.height()); hint.setHeight(finish_size.height());
// set the position // set the position
TQRect rect = KGlobalSettings::desktopGeometry(TQCursor::pos()); TQRect rect = TDEGlobalSettings::desktopGeometry(TQCursor::pos());
int w = rect.x() + (rect.width() - hint.width())/2 - 9; int w = rect.x() + (rect.width() - hint.width())/2 - 9;
int h = rect.y() + (rect.height() - hint.height())/2; int h = rect.y() + (rect.height() - hint.height())/2;
move(w, h); move(w, h);

Loading…
Cancel
Save