summaryrefslogtreecommitdiffstats
path: root/kmail/kmfolderseldlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/kmfolderseldlg.cpp')
-rw-r--r--kmail/kmfolderseldlg.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kmail/kmfolderseldlg.cpp b/kmail/kmfolderseldlg.cpp
index 00849b6e7..b1df389ad 100644
--- a/kmail/kmfolderseldlg.cpp
+++ b/kmail/kmfolderseldlg.cpp
@@ -18,20 +18,20 @@
using namespace KMail;
//-----------------------------------------------------------------------------
-KMFolderSelDlg::KMFolderSelDlg( KMMainWidget * parent, const TQString& caption,
+KMFolderSelDlg::KMFolderSelDlg( KMMainWidget * tqparent, const TQString& caption,
bool mustBeReadWrite, bool useGlobalSettings )
- : KDialogBase( parent, "folder dialog", true, caption,
+ : KDialogBase( tqparent, "folder dialog", true, caption,
Ok|Cancel|User1, Ok, true,
KGuiItem(i18n("&New Subfolder..."), "folder_new",
i18n("Create a new subfolder under the currently selected folder"))
- ), // mainwin as parent, modal
+ ), // mainwin as tqparent, modal
mUseGlobalSettings( useGlobalSettings )
{
- KMFolderTree * ft = parent->folderTree();
+ KMFolderTree * ft = tqparent->folderTree();
assert( ft );
TQString preSelection = mUseGlobalSettings ?
- GlobalSettings::self()->lastSelectedFolder() : TQString::null;
+ GlobalSettings::self()->lastSelectedFolder() : TQString();
TQWidget * container = makeVBoxMainWidget();
new TQLabel( i18n("You can start typing to filter the list of folders"), container );
mTreeView = new KMail::SimpleFolderTree( container, ft,
@@ -40,17 +40,17 @@ KMFolderSelDlg::KMFolderSelDlg( KMMainWidget * parent, const TQString& caption,
}
//----------------------------------------------------------------------------
-KMFolderSelDlg::KMFolderSelDlg( TQWidget * parent, KMFolderTree * tree,
+KMFolderSelDlg::KMFolderSelDlg( TQWidget * tqparent, KMFolderTree * tree,
const TQString& caption, bool mustBeReadWrite, bool useGlobalSettings )
- : KDialogBase( parent, "folder dialog", true, caption,
+ : KDialogBase( tqparent, "folder dialog", true, caption,
Ok|Cancel|User1, Ok, true,
KGuiItem(i18n("&New Subfolder..."), "folder_new",
i18n("Create a new subfolder under the currently selected folder"))
- ), // mainwin as parent, modal
+ ), // mainwin as tqparent, modal
mUseGlobalSettings( useGlobalSettings )
{
TQString preSelection = mUseGlobalSettings ?
- GlobalSettings::self()->lastSelectedFolder() : TQString::null;
+ GlobalSettings::self()->lastSelectedFolder() : TQString();
TQWidget * container = makeVBoxMainWidget();
new TQLabel( i18n("You can start typing to filter the list of folders"), container );
mTreeView = new KMail::SimpleFolderTree( container, tree,
@@ -65,7 +65,7 @@ void KMFolderSelDlg::init()
connect( mTreeView, TQT_SIGNAL( doubleClicked( TQListViewItem*, const TQPoint&, int ) ),
this, TQT_SLOT( slotSelect() ) );
connect( mTreeView, TQT_SIGNAL( selectionChanged() ),
- this, TQT_SLOT( slotUpdateBtnStatus() ) );
+ this, TQT_SLOT( slotUpdateBtntqStatus() ) );
readConfig();
}
@@ -107,7 +107,7 @@ void KMFolderSelDlg::slotUser1()
}
//-----------------------------------------------------------------------------
-void KMFolderSelDlg::slotUpdateBtnStatus()
+void KMFolderSelDlg::slotUpdateBtntqStatus()
{
enableButton( User1, folder() &&
( !folder()->noContent() && !folder()->noChildren() ) );