diff options
Diffstat (limited to 'kbiff/setupdlg.cpp')
-rw-r--r-- | kbiff/setupdlg.cpp | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/kbiff/setupdlg.cpp b/kbiff/setupdlg.cpp index ff7300d..6797513 100644 --- a/kbiff/setupdlg.cpp +++ b/kbiff/setupdlg.cpp @@ -29,19 +29,19 @@ #include <ntqstylesheet.h> #include <kaudioplayer.h> -#include <kmessagebox.h> -#include <kfiledialog.h> +#include <tdemessagebox.h> +#include <tdefiledialog.h> #include <kapp.h> -#include <kglobal.h> +#include <tdeglobal.h> #include <kiconloader.h> -#include <klocale.h> +#include <tdelocale.h> #include <kstddirs.h> #include <ksimpleconfig.h> #include <kbiffurl.h> #include <kprocess.h> #include <krun.h> #include <kurllabel.h> -#include <kwin.h> +#include <twin.h> #include <kbiffcodec.h> #include "version.h" @@ -563,36 +563,36 @@ KBiffGeneralTab::KBiffGeneralTab(const TQString& profile_, TQWidget *parent_) // "stopped" pixmap button TQLabel* stopped_label = new TQLabel(i18n("&Stopped:"), icons_groupbox); - buttonStopped = new KIconButton(icons_groupbox); + buttonStopped = new TDEIconButton(icons_groupbox); buttonStopped->setFixedSize(50, 50); - buttonStopped->setIconType(KIcon::User, KIcon::Any, true); + buttonStopped->setIconType(TDEIcon::User, TDEIcon::Any, true); stopped_label->setBuddy(buttonStopped); // "no mailbox" pixmap button TQLabel* noconn_label = new TQLabel(i18n("No Mail&box:"), icons_groupbox); - buttonNoConn = new KIconButton(icons_groupbox); + buttonNoConn = new TDEIconButton(icons_groupbox); buttonNoConn->setFixedSize(50, 50); - buttonNoConn->setIconType(KIcon::User, KIcon::Any, true); + buttonNoConn->setIconType(TDEIcon::User, TDEIcon::Any, true); noconn_label->setBuddy(buttonNoConn); // "no mail" pixmap button TQLabel* nomail_label = new TQLabel(i18n("No M&ail:"), icons_groupbox); - buttonNoMail = new KIconButton(icons_groupbox); - buttonNoMail->setIconType(KIcon::User, KIcon::Any, true); + buttonNoMail = new TDEIconButton(icons_groupbox); + buttonNoMail->setIconType(TDEIcon::User, TDEIcon::Any, true); buttonNoMail->setFixedSize(50, 50); nomail_label->setBuddy(buttonNoMail); // "old mail" pixmap button TQLabel* oldmail_label = new TQLabel(i18n("O&ld Mail:"), icons_groupbox); - buttonOldMail = new KIconButton(icons_groupbox); - buttonOldMail->setIconType(KIcon::User, KIcon::Any, true); + buttonOldMail = new TDEIconButton(icons_groupbox); + buttonOldMail->setIconType(TDEIcon::User, TDEIcon::Any, true); buttonOldMail->setFixedSize(50, 50); oldmail_label->setBuddy(buttonOldMail); // "new mail" pixmap button TQLabel* newmail_label = new TQLabel(i18n("N&ew Mail:"), icons_groupbox); - buttonNewMail = new KIconButton(icons_groupbox); - buttonNewMail->setIconType(KIcon::User, KIcon::Any, true); + buttonNewMail = new TDEIconButton(icons_groupbox); + buttonNewMail->setIconType(TDEIcon::User, TDEIcon::Any, true); buttonNewMail->setFixedSize(50, 50); newmail_label->setBuddy(buttonNewMail); @@ -757,7 +757,7 @@ static TQString justIconName(const TQString& icon_name) return icon_name; // now we see if we can load based just on the basename - TQPixmap icon = KGlobal::iconLoader()->loadIcon( info.baseName(), KIcon::User ); + TQPixmap icon = TDEGlobal::iconLoader()->loadIcon( info.baseName(), TDEIcon::User ); // if it's null, then it's in a non-standard path so we must use an // absolute path. no need to go further @@ -766,8 +766,8 @@ static TQString justIconName(const TQString& icon_name) // now we know that the icon loader can find it.. but is it the same // one as the one the user picked? - if ( KGlobal::iconLoader()->iconPath( info.baseName(), KIcon::User ) != - KGlobal::iconLoader()->iconPath( icon_name, KIcon::User ) ) + if ( TDEGlobal::iconLoader()->iconPath( info.baseName(), TDEIcon::User ) != + TDEGlobal::iconLoader()->iconPath( icon_name, TDEIcon::User ) ) return icon_name; // FINALLY done! if we got this far, then we know that the icon |